From: Tomasz C. <ma...@wp...> - 2007-11-12 14:20:40
|
Still, I can't connect an initiator to a iSCSI-SCST target - is my target configuration wrong? I can start scst and iscsi-scstd successfully (no errors reported), but when I connect from an initiator, I don't get any "new disks": # iscsiadm -m node -T <node> -p <target IP> And this is all I get in kernel log: scsi0 : iSCSI Initiator over TCP/IP These are the references to configured target disks in /proc/scsi_tgt: # cat /proc/scsi_tgt/vdisk/vdisk Name Size(MB) Block size Options File name nullio 1572864 4096 NIO /dev/zero backup1 3072 4096 /dev/superthecus/backup1 This is my configuration on a target: # cat /etc/scst.conf [HANDLER vdisk] #DEVICE <vdisk name>,<device path>,<options>,<block size> DEVICE nullio,/dev/zero,NULLIO,4096 DEVICE backup1,/dev/superthecus/backup1,,4096 [ASSIGNMENT iqn.2007-08.net.syneticon:superthecus.backup1] #DEVICE <device name>,<lun> DEVICE backup1,0 [ASSIGNEMENT iqn.2007-02.net.syneticon:superthecus.nullio] DEVICE nullio,0 # cat /etc/iscsi-scstd.conf Target iqn.2007-02.net.syneticon:superthecus.nullio Alias nullio Target iqn.2006-08.net.syneticon:superthecus.backup ImmediateData Yes InitialR2T No Alias backup -- Tomasz Chmielewski http://wpkg.org |