-
Junior Member
registered user
iscsi target problems on knoppix hd installation v 5.1.1
Hi all,
I've been trying to get iscsi to run on a knoppix installation that was installed to a hard drive (knoppix dvd version 5.1.1). My motivation is to create a cheap iscsi target now that Windows Vista has a built-in iscsi initiator in Administrative Tools.
I'm new to iscsi, and I may have shot myself in the foot already but I'm hoping to get some help. I have my hard drive partitioned as one hard drive and then downloaded and installed iscsitarget-0.4.14.tar.gz . After unpacking, I installed it with this command:
make KRSC=/usr/src/linux-2.6.19.1/kernel/
and then the command:
make KRSC=/usr/src/linux-2.6.19.1/kernel/ install
The installation appeared to run correctly, with the exception that the ietd.conf file was not automatically placed in /ect/
I manually copied the file to /ect/ and configured it as such:
Code:
# Example iscsi target configuration
#
# Everything until the first target definition belongs
# to the global configuration.
# Right now this is only the user configuration used
# during discovery sessions. "IncomingUser" specifies credentials the
# initiator has to provide - several of these are supported. If mutual
# CHAP shall be employed, "OutgoingUser" specifies the user/pass
# combination the target will provide - only one is supported.
# Leave them alone (keep them commented out) if you don't want to use
# authentication for discovery sessions.
iSNSServer 172.25.5.27
#iSNSAccessControl No
#IncomingUser joe secret
#OutgoingUser jack 12charsecret
# Targets definitions start with "Target" and the target name.
# The target name must be a globally unique name, the iSCSI
# standard defines the "iSCSI Qualified Name" as follows:
#
# iqn.yyyy-mm.<reversed domain name>[:identifier]
#
# "yyyy-mm" is the date at which the domain is valid and the identifier
# is freely selectable. For further details please check the iSCSI spec.
Target iqn.2007-04.com.example:media2.disk1.domainnamecom
# Users, who can access this target. The same rules as for discovery
# users apply here.
# Leave them alone if you don't want to use authentication.
#IncomingUser joe secret
#OutgoingUser jim 12charpasswd
# Logical Unit definition
# You must define one logical unit at least.
# Block devices, regular files, LVM, and RAID can be offered
# to the initiators as a block device.
Lun 0 Path=/mnt/iscsi,Type=fileio
# Alias name for this target
Alias media2
# various iSCSI parameters
# (not all are used right now, see also iSCSI spec for details)
#MaxConnections 1
...
I set the Lun 0 Path to /mnt/iscsi because I manually created a the directory "iscsi" under /mnt/ ...
Next I tried to run /etc/init.d/iscsi-target start , but it seems to have failed:
Code:
root@media2:/etc/init.d# /etc/init.d/iscsi-target start
Starting iSCSI enterprise target service: FATAL: Error inserting iscsi_trgt (/lib/modules/2.6.19/kernel/iscsi/iscsi_trgt.ko): Unknown symbol in module, or unknown parameter (see dmesg)
netlink fd
: Connection refused
failed.
dmesg states:
Code:
iscsi_trgt: Unknown symbol generic_file_read
iscsi_trgt: Unknown symbol generic_file_write
Is my disk not configured correctly? Do I initially need to have a dedicated ext3 partition available as the block device?
I've read elsewhere that iscsitarget-0.4.14.tar.gz does not work with kernel 2.6.19 here:
https://www.openfiler.com/community/...c.php?pid=2731
does anyone else have success making a knoppix hd install an iscsi target? And if so, can you provide detailed installation/ step by step instructions?
Thanks for any and all help.
Jason Coltrin
Similar Threads
-
By kl522 in forum Customising & Remastering
Replies: 0
Last Post: 12-03-2009, 05:36 AM
-
Replies: 0
Last Post: 04-03-2007, 07:18 PM
-
By 3p0cHx in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 03-26-2007, 06:38 PM
-
By Redux in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 04-30-2004, 08:03 AM
-
By Mr.Redhat in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 01-11-2004, 02:46 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Western Digital 1TB Caviar WD1002FBYS Enterprise SATA Hard Disk Drives
$24.99
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5ā€¯/7mm Cased - WDS100T3B0A
$89.99
1TB Samsung SSD 840 EVO Internal 2,5" SATA III MZ7TE1T0HMHP MZ-7TE1T0 1GB Cache
$70.80
Samsung PM991 1TB M.2 SSD Internal PCIe 3.0x4 2230 NVMe R31264 Solid State Drive
$94.05
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
1000 GB HHD 2.5" 1TB Mixed Brands Samsung WD HGST TOSHIBA, Tested Formatted
$14.90
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ...
$71.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$580.99
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$703.19