The following is v2.1 of iSCSI Initiator Core Tools. This release includes many enhancements and manual page updates. Attached is an explanation about the two main configuration files of the iiC Stack.
The v2.1 will be appearing shortly at: http://www.kernel.org/pub/linux/utils/storage/iscsi/ The following is a short howto to get developers and users up to speed. Please join the lists at http://iscsi-initiator-core.org and give me your feedback. /etc/sysconfig/initiator: # # Use '#CHANNEL="N 8 eth16 11.23.34.45 3260"' to disable a defined iSCSI CHANNEL # # Arguments: # iSCSI Channel (1 iSCSI Session for N Logical Units per CHANNEL=) # | iSCSI IPv4 Connection Count for iSCSI Session # | | Network Interconnect Device Name # | | | IPv4 iSCSI Target Node Address # | | | | iSCSI Target Service Port # | | | | | CHANNEL="0 2 eth0 192.168.0.1 3260" # Example Target 1 CHANNEL="0 2 eth1 192.168.1.1 3260" # "" "" "" The following multiplexes 4 (four) connections over two different ethernet ports to the same iSCSI Target Node. CHANNEL="1 2 eth0 192.168.0.2 3260" # Example Target 2 CHANNEL="1 2 eth1 192.168.1.2 3260" # "" "" "" The following does the same as above, but over a different iSCSI Channel. Each iSCSI Target Node's Target Portal Group MUST have its own CHANNEL entry defined: /etc/sysconfig/iscsi_device_maps # # iSCSI Channel ID # | iSCSI Logical Unit Number # | | Parition Number # | | | # | | | iSCSI device mount point # | | | | DEVICE="0 0 1 disk0a" DEVICE="0 0 2 disk0b" DEVICE="0 1 1 disk1a" DEVICE="0 2 1 disk2a" On iSCSI Channel 0: LUN 0/Partition 1 gets mounted at: /iqn.target.example1/disk0a LUN 0/Partition 2 gets mounted at: /iqn.target.example1/disk0b LUN 1/Partition 1 gets mounted at: /iqn.target.example1/disk1a LUN 2/Partition 1 gets mounted at: /iqn.target.example1/disk2a DEVICE="1 0 0 dvd0" DEVICE="1 1 1 disk0a" DEVICE="1 1 2 disk0b" DEVICE="1 2 1 disk1a" On iSCSI Channel 1: LUN 0/Partition 0 (DVD-ROM) gets mounted at: /iqn.target.example2/dvd0 LUN 1/Partition 1 gets mounted at: /iqn.target.example2/disk0a LUN 1/Partition 2 gets mounted at: /iqn.target.example2/disk1b LUN 2/Partition 1 gets mounted at: /iqn.target.example2/disk1a -- Nicholas A. Bellinger <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

