HP StorageWorks EVA iSCSI Connectivity User Guide (5697-0511, August 2010)

5. Create the iSCSI device links for the local system:
# devfsadm -i iscsi
6. Verify mpx targets are available to the initiator:
# iscsiadm list target
NOTE:
The iSCSI connection is not initiated until the discovery method is enabled.
For more details on using the iscsiadm command, see the #man iscsiadm man pages. For more
details on iSCSI Initiator setup, see Sun Microsystems System Administration Guide, Devices and File
Systems, Section 15.
Creating an iSCSI host and virtual disks for the Solaris iSCSI Initiator
See Using HP Command View EVA to configure LUNs to iSCSI initiators, page 127, to create an iSCSI
host entry and to present LUNs to an iSCSI host in HP Command View. The host mode setting for
Solaris is Linux/Mac.
Accessing iSCSI disks
If you want to make the iSCSI drive available on reboot, create the file system and add an entry to
the /etc/vfstab file as you would with a UFS file system on a SCSI device.
After the devices have been discovered by the Solaris iSCSI Initiator, the login negotiation occurs
automatically. The Solaris iSCSI driver determines the number of LUNs available and creates the
device nodes. Then, the iSCSI devices can be treated as any other SCSI device.
You can view the iSCSI disks on the local system with the format utility, for example:
# format
AVAILABLE DISK SELECTIONS:
0. c0t1d0<SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w500000e010685cf1,0
1. c0t2d0<SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w500000e0106e3ba1,0
2. c3t0d0 <ABCSTORAGE-100E-00–2.2 cyl 20813 alt 2 hd 16 sec 63>
/iscsi/disk@0000iqn.2001-05.com.abcstorage%3A6-8a0900-477d70401-
b0fff044352423a2-hostname-020000,0
3. c3t1d0 <ABCSTORAGE-100E-00–2.2 cyl 20813 alt 2 hd 16 sec 63>
/iscsi/disk@0000iqn.2001-05.com.abcstorage%3A6-8a0900-3fcd70401
-085ff04434f423a2-hostname-010000,0
.
.
Setting up the iSCSI Initiator and storage88