1) Get the WWN no of San HBA
# fcinfo hba-port
HBA Port WWN: 2100001b32180215
OS Device Name: /dev/cfg/c3
Manufacturer: QLogic Corp.
Model: 375-3355-01
Firmware Version: 05.01.00
FCode/BIOS Version: BIOS: 2.2; fcode: 2.0; EFI: 2.0;
Serial Number: 0402G00-0721261428
Driver Name: qlc
Driver Version: 20090519-2.31
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: 4Gb
Node WWN: 2000001b32180215
HBA Port WWN: 210000e08b9dd8c7
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3355-01
Firmware Version: 05.01.00
FCode/BIOS Version: BIOS: 1.4; fcode: 1.11; EFI: 1.0;
Serial Number: 0402G00-0707240117
Driver Name: qlc
Driver Version: 20090519-2.31
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: 4Gb
Node WWN: 200000e08b9dd8c7
2) To check if the ports are connected
luxadm -e port
/devices/pci@0/pci@0/pci@8/pci@0/pci@1/SUNW,qlc@0/fp@0,0:devctl CONNECTED
/devices/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,qlc@0/fp@0,0:devctl CONNECTED
3) Once the zoning is done you should restart the system to see the disks.
Reboot — -r ( do reconfiguration boot)
4) Then Enable the multipathing on the detected drives using command it will reboot the system to complete the command.
stmsboot -D fp –e
5) Now you should be able to see the disk on the system using following command
# cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 disk connected configured unknown
c1::dsk/c1t1d0 disk connected configured unknown
c2 fc-fabric connected configured unknown
c2::5006048ad5f0c860 disk connected configured unknown
c3 fc-fabric connected configured unknown
c3::5006048ad5f0c84f disk connected configured unknown
usb0/1 unknown empty unconfigured ok
…..
…..
….
Format shall give you
# format
Searching for disks…done
c2t5006048AD5F0C860d0: configured with capacity of 0.94MB
c3t5006048AD5F0C84Fd0: configured with capacity of 1162.66GB
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@0/pci@0/pci@2/scsi@0/sd@0,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@0/pci@0/pci@2/scsi@0/sd@1,0
2. c2t5006048AD5F0C860d0 <EMC-SYMMETRIX-5772 cyl 1 alt 2 hd 15 sec 128>
/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,qlc@0/fp@0,0/ssd@w5006048ad5f0c860,0
3. c2t5006048AD5F0C860d7 <EMC-SYMMETRIX-5772-50.01GB>
/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,qlc@0/fp@0,0/ssd@w5006048ad5f0c860,7
4. c2t5006048AD5F0C860d9 <EMC-SYMMETRIX-5772-50.01GB>
/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,qlc@0/fp@0,0/ssd@w5006048ad5f0c860,9
5. c3t5006048AD5F0C84Fd0 <EMC-SYMMETRIX-5772 cyl 50592 alt 2 hd 255 sec 189>
/pci@0/pci@0/pci@8/pci@0/pci@1/SUNW,qlc@0/fp@0,0/ssd@w5006048ad5f0c84f,0
Specify disk (enter its number):
PLEASE NOTE : the above o/p we have 2 Luns from DMX
Format will still show you 4 disks two will be .94MB disks ( shown in red) which are control disks for the two luns. And the other two shall be the data disks for the two Luns.
In your case you will have one control disk and one data disk only.
6) Create a Disk pool
Zpool create –m < mountpath> <name of pool> <Devices in the pool> so keep the name of pool as diskpool and mount path as /diskpool . your device (lun from dmx) will be different then what shown in below command.
zpool create -m /diskpool diskpool c2t5006048AD5F0C860d7
7) Create ZFS filesystem on the above created disk pool.
zfs create -o quota=700g diskpool/<name of filesys>
8) Mount the same on the new system and we are done.