First create the ISCSI lun on the EMC array
It is recommended by Sun to get better performance to use static iSCSI configuration
On EMC
Create the file system with the following options:
Under File Systems:
type: native
Note: Do not check Auto extend option.
Under iscsi:
Create an iscsi target
In “network portals” enter 10.10.1.250,10.10.1.25
Under iscsi:
Create a LUN set the size equivalent to the file system, and assign a LUN id.
On Client host
checkout the client’s initiator…
iscsiadm list initiator-node
Initiator node name: iqn.1986-03.com.sun:01:00144f864764.46f26e3f
Initiator node alias: –
Login Parameters (Default/Configured): Header Digest: NONE/- Data Digest: NONE/- Authentication Type: NONE RADIUS Server: NONE RADIUS access: unknown Configured Sessions: 1
On EMC
Under iscsi – Lun mask, enter the “Initiator node name”
On Client host
list discovery modes… iscsiadm list discovery
Discovery:
Static: disabled
Send Targets: disabled
iSNS: disabled
sendtargets discovery enable
iscsiadm modify discovery –sendtargets enable
and list… iscsiadm list discovery
Discovery: Static: disabled Send Targets: enable iSNS: disabled
add a discovery address (emc)
iscsiadm add discovery-address 10.10.1.250
NOTE: must be IP address
show what’s exported
iscsiadm list target
Target: iqn.1992-05.com.emc:apm000801002860000-2 Alias: ifxdev_zone TPGT: 1 ISID: 4000002a0000 Connections: 1 Target: iqn.1992-05.com.emc:apm000801002860000-1 Alias: Enterprise_Vault TPGT: 1 ISID: 4000002a0000 Connections: 1
enable the device…
devfsadm -Cv -i iscsi
see what’s there…
echo | format
Searching for disks…done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@780/pci@0/pci@9/scsi@0/sd@0,0 1. c0t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@780/pci@0/pci@9/scsi@0/sd@1,0 2. c2t6d0 <RAIDking-435R-0001 cyl 65533 alt 2 hd 128 sec 139> /pci@7c0/pci@0/pci@9/pci@0/scsi@8/sd@6,0 3. c3t5d0 <AVID-ST3146707LW-AS01 cyl 44304 alt 2 hd 8 sec 809> /pci@7c0/pci@0/pci@9/pci@0/scsi@8,1/sd@5,0 4. c6t0d0 <EMC-CelerraiSCSI-0001 cyl 37331 alt 2 hd 30 sec 64> /iscsi/disk@0000iqn.1992-05.com.emc%3Aapm000801002860000-20001,1
create file system
newfs /dev/dsk/c6t0d0s6
mount file system
mount /dev/dsk/c6t0d0s6 /zones/ifxdev_zone