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:
I set the Lun 0 Path to /mnt/iscsi because I manually created a the directory "iscsi" under /mnt/ ...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 ...
Next I tried to run /etc/init.d/iscsi-target start , but it seems to have failed:
dmesg states: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.
Is my disk not configured correctly? Do I initially need to have a dedicated ext3 partition available as the block device?Code:iscsi_trgt: Unknown symbol generic_file_read iscsi_trgt: Unknown symbol generic_file_write
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
$168.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE
$259.00
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
Supermicro 1U Server X9SRI-F Xeon E5-2640 v2 2.5Ghz 16-Cores / 64GB / No HDD
$149.99
HP Proliant MicroServer (Model: HSTNS-5151) NO HARD DRIVES-Power Tested,
$99.99
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
HP ProLiant MicroServer Gen10 Plus - 16GB RAM No HDD
$500.00
Auction Supermicro Server 3U MicroCloud - 12 Node 5039MS-H12TRF X11SSE-F 3.5Ghz
$2499.00
HPE ProLiant v2 Ultra Micro Tower Server Pentium Gold G6405 16GB RAM P69102005
$696.73
SuperMicro SuperServer 5038MR-H8TRF Blade w/X10SRD-F Board E5-2630v3 Proc 128GB
$263.96