DiskTo3510new
Map 3510 devices to Solaris
To see what's devices the host sees
# luxadm probe Found Enclosure: SUNWGS INT FCBPL Name:FCloop Node WWN:5080020000230550 Logical Path:/dev/es/ses0 Found Fibre Channel device(s): Node WWN:206000c0ff098835 Device Type:Disk device Logical Path:/dev/rdsk/c2t45d0s2 Node WWN:206000c0ff098835 Device Type:Disk device Logical Path:/dev/rdsk/c2t45d1s2 Node WWN:206000c0ff098835 Device Type:Disk device Logical Path:/dev/rdsk/c3t40d0s2
To drill down and get more detail: luxadm display <Path>
# luxadm display /dev/rdsk/c2t45d1s2 DEVICE PROPERTIES for disk: /dev/rdsk/c2t45d1s2 Vendor: SUN Product ID: StorEdge 3510 Revision: 421F Serial Num: 098835455AD31100 Unformatted capacity: 307200.000 MBytes Write Cache: Enabled Read Cache: Enabled Minimum prefetch: 0x0 Maximum prefetch: 0xffff Device Type: Disk device Path(s): /dev/rdsk/c2t45d1s2 /devices/pci@9,600000/SUNW,qlc@1/fp@0,0/ssd@w256000c0ffd98835,1:c,raw LUN path port WWN: 256000c0ffd98835 Host controller port WWN: 210000e08b869fa8 Path status: O.K.
To see which 3510 controller port the LUN is mapped to, match SCCLI output of "port-wwns" to "LUN path port WWN" from luxadm
# sccli /dev/rdsk/c3t40d0s2 show port-wwns sccli: selected device /dev/rdsk/c3t40d0s2 [SUN StorEdge 3510 SN#098835] Ch Id WWPN ------------------------- 0 40 216000C0FF898835 0 41 216000C0FF998835 1 43 226000C0FFB98835 1 42 226000C0FFA98835 4 44 256000C0FFC98835 4 45 256000C0FFD98835 5 47 266000C0FFF98835 5 46 266000C0FFE98835
In the above example the Ch/Id is 4/45. To see which 3510 LUN this is, match SCCLI output of "lun-maps" to Ch/ID above and the LUN # in the /devices part to get ID-Partition. Using the above example, the device is ".../ssd@w256000c0ffd98835,1:c,raw" so the ",1" shows it's lun 1 on that port.
# sccli /dev/rdsk/c3t40d0s2 show lun-maps sccli: selected device /dev/rdsk/c3t40d0s2 [SUN StorEdge 3510 SN#098835] Ch Tgt LUN ld/lv ID-Partition Assigned Filter Map --------------------------------------------------------------------- 0 40 0 ld0 18FFB5ED-02 Primary 1 42 0 ld1 455AD311-01 Secondary 1 42 1 ld1 455AD311-00 Secondary 1 43 0 ld0 18FFB5ED-00 Primary 4 45 0 ld1 455AD311-01 Secondary 4 45 1 ld1 455AD311-00 Secondary 5 47 0 ld0 18FFB5ED-02 Primary
So we now know Ch/Tgt/LUN is 4/45/1 which matches the next to last line and gives us ID-Partition 455AD311-00. Having the ID-Partition, we next match it to SCCLI "partitions" output
# sccli /dev/rdsk/c3t40d0s2 show partitions sccli: selected device /dev/rdsk/c3t40d0s2 [SUN StorEdge 3510 SN#098835] LD/LV ID-Partition Size ------------------------------------- ld0-00 18FFB5ED-00 300.00GB ld0-01 18FFB5ED-01 200.00GB ld0-02 18FFB5ED-02 616.59GB ld1-00 455AD311-00 300.00GB ld1-01 455AD311-01 816.59GB
So 455AD311-00 is ld1-00 which is a 300GB volume.