I'm installing open-iscsi on a dell NX1950 w/ an MD3000. I was able to
start a target daemon as well as an initiator.
My problem is that I can't seem to find my target disks so that I can
partition them and create the file systems. Or maybe I'm not
discovering targets correctly and therefore have wrong info in /etc/
ietd.conf. Hopefully the info below will help.
$ sudo /etc/init.d/ietd start
* net.core.rmem_max (131071) is lower than recommended 1048576
* net.core.rmem_default (122880) is lower than recommended 1048576
* net.core.wmem_max (131071) is lower than recommended 1048576
* net.core.wmem_default (122880) is lower than recommended 1048576
* net.ipv4.tcp_mem:min (380256) is lower than recommended 1048576
* net.ipv4.tcp_mem:default (507008) is lower than recommended 1048576
* net.ipv4.tcp_mem:max (760512) is lower than recommended 1048576
* net.ipv4.tcp_rmem:min (4096) is lower than recommended 1048576
* net.ipv4.tcp_rmem:default (87380) is lower than recommended 1048576
* net.ipv4.tcp_wmem:min (4096) is lower than recommended 1048576
* net.ipv4.tcp_wmem:default (16384) is lower than recommended 1048576
* Loading iSCSI-Target modules -
iscsi_trgt ... [ ok ]
* Starting iSCSI Enterprise
Target ... [ ok ]
$ sudo /etc/init.d/iscsid start
* Checking open-iSCSI configuration ...
* Loading iSCSI modules ...
* Loading
libiscsi ... [ ok ]
* Loading
scsi_transport_iscsi ... [ ok ]
* Loading
iscsi_tcp ... [ ok ]
* Starting iscsid ...
* Setting up iSCSI targets ...
iscsiadm: No records
found! [ !! ]
… but issuing this command again makes everything pass.
$ sudo /etc/init.d/iscsid start
* Checking open-iSCSI configuration ...
* Loading iSCSI modules ...
* Loading
libiscsi ... [ ok ]
* Loading
scsi_transport_iscsi ... [ ok ]
* Loading
iscsi_tcp ... [ ok ]
* Starting iscsid ...
$ sudo /usr/sbin/iscsiadm -m discovery -t st -p 192.168.20.12 -P1
Target: iqn.2011-03.local.mydomain.batman:storage.rack1.disk1
Portal: 192.168.20.12:3260,1
Iface Name: default
$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 08 Lun: 00
Vendor: DP Model: BACKPLANE Rev: 1.05
Type: Enclosure ANSI SCSI revision: 05
Host: scsi0 Channel: 02 Id: 00 Lun: 00
Vendor: DELL Model: PERC 5/i Rev: 1.03
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: SONY Model: DVD-ROM DDU810A Rev: KD38
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: Dell Model: Virtual CDROM Rev: 123
Type: CD-ROM ANSI SCSI revision: 00
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: Dell Model: Virtual Floppy Rev: 123
Type: Direct-Access ANSI SCSI revision: 00
The Dell NS1950 has two SAS disks, sda, sda1, sda2, sda3, etc... and
sdb. There are about 10 disks in the MD3000 cabinet I'm trying to
reach but don't know how to get to. I think once I know the /dev/xxx
path, I could then put that into the ietd.conf file as targets and my
iscsiadm discovery would then find them.
In /etc/ietd.conf I have the following path
Lun 0 Path=/dev/sdc,Type=fileio
Can anyone offer help here?
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/open-iscsi?hl=en.