-
Junior Member
registered user
iscsi problems on knoppix hd install
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 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 /etc/ 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.
JC
Similar Threads
-
By xtjacob in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 05-13-2010, 02:58 AM
-
Replies: 0
Last Post: 04-03-2007, 07:18 PM
-
By 3p0cHx in forum Networking
Replies: 0
Last Post: 03-23-2007, 11:43 PM
-
By kwano in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 08-30-2005, 10:12 PM
-
By tilleyrw in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 04-21-2005, 04:58 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

Samsung 256GB SSD MZ-JPV256S/0A2 PCIe Solid State Drive SSD SSUBX 655-1959A
$22.02

Samsung Galaxy Tab Active 3 / 64 gig/ WIFI/ IP68 Rated
$85.00

Samsung Galaxy Tab A 8.4" 2020 32GB Wi-Fi+ 4G Verizon Unlocked SM-T307U ~Grade B
$49.99

Samsung Galaxy Tab S6 Lite SM-P615 128 GB, Wi-Fi + 4G, 10.4 in - Oxford Gray
$150.00

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

3 -M.2 2280 512GB SSD - Samsung MZNTE512HMJH, MZNLN512HMJP, Toshiba KSG60ZMV512G
$155.00

1 lot of 3 (2)Samsung PM951 SM961 & (1)Intel SSD 600P 256GB M.2 2280 SSD NVMe
$109.00

Samsung PM961 512GB PCIe Gen 3x4 NVMe 2280 M.2 SSD MZVLW512HMJP-000D1
$60.00

Original for Samsung NP950QCG-K01US LCD Screen Touch Full Top Assembly FHD Blue
$299.00

Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem
$161.49