On 03/15/2011 08:50 PM, Richard wrote:
$ 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
That command finds target portals. After that you need to log into the
target.
iscsiadm -m node -T
iqn.2011-03.local.mydomain.batman:storage.rack1.disk1 -p
192.168.20.12:3260,1 -l
will log into the target and find disks.
iscsiadm -m session -P 3
will show you the targets and disks that you are logged into.
$ 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.
Yeah, in the ietd.conf you would put the /dev/xxx values like below.
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.