DiskTo3510

=How to Map a Disk to a 3510 Partition=

First, do a vxdisk –e list DEVICE      TYPE      DISK         GROUP        STATUS       OS_NATIVE_NAME SUN35100_0  auto      -             -            online       c2t216000C0FF88022Fd21s2 SUN35100_1  auto      -             -            online       c2t216000C0FF88022Fd9s2 SUN35100_2  auto      -             -            online       c2t216000C0FFA8022Fd11s2 SUN35100_3  auto      -             -            online       c2t216000C0FF88022Fd24s2 SUN35100_4  auto      -             -            online       c2t216000C0FF88022Fd31s2 SUN35100_5  auto      -             -            online       c2t216000C0FF88022Fd29s2 SUN35100_6  auto      -             -            online       c2t216000C0FF88022Fd28s2 SUN35100_7  auto      -             -            online       c2t216000C0FF88022Fd30s2 SUN35100_8  auto      -             -            online       c2t216000C0FF88022Fd26s2 SUN35100_9  auto      -             -            online       c2t216000C0FF88022Fd27s2 SUN35100_10 auto      -             -            online       c2t216000C0FF88022Fd25s2 SUN35100_11 auto      -             -            online       c2t216000C0FF88022Fd23s2 SUN35100_12 auto      -             -            online       c2t216000C0FF88022Fd22s2 SUN35100_13 auto      -             -            online       c2t216000C0FF88022Fd20s2 SUN35100_14 auto      -             -            online       c2t216000C0FF88022Fd19s2 SUN35100_15 auto      -             -            online       c2t216000C0FF88022Fd18s2 SUN35100_16 auto      -             -            online       c2t216000C0FF88022Fd17s2 SUN35100_17 auto      serverlp1di01  serverlp1dg  online       c2t216000C0FF88022Fd15s2 SUN35100_18 auto      -             -            online       c2t216000C0FF88022Fd14s2 SUN35100_19 auto      -             -            online       c2t216000C0FF88022Fd13s2 SUN35100_20 auto      -             -            online       c2t216000C0FF88022Fd12s2 SUN35100_21 auto      -             -            online       c2t216000C0FF88022Fd11s2 SUN35100_22 auto      -             -            online       c2t216000C0FF88022Fd10s2 SUN35100_23 auto      -             -            online       c2t216000C0FF88022Fd8s2 SUN35100_24 auto      -             -            online       c2t216000C0FF88022Fd7s2 SUN35100_25 auto      -             -            online       c2t216000C0FF88022Fd6s2 SUN35100_26 auto      -             -            online       c2t216000C0FF88022Fd5s2 SUN35100_27 auto      -             -            online       c2t216000C0FF88022Fd4s2 SUN35100_28 auto      -             -            online       c2t216000C0FF88022Fd3s2 SUN35100_29 auto      -             -            online       c2t216000C0FF88022Fd2s2 SUN35100_30 auto      -             -            online       c2t216000C0FF88022Fd0s2 SUN35100_31 auto      -             -            online       c3t226000C0FFD8022Fd2s2 SUN35100_32 auto      -             -            online       c2t216000C0FF98022Fd1s2 SUN35100_33 auto      -             -            online       c2t216000C0FFA8022Fd13s2 SUN35100_34 auto      -             -            online       c2t216000C0FF98022Fd0s2 SUN35100_35 auto      -             -            online       c2t216000C0FFA8022Fd12s2 SUN35100_36 auto      -             -            online       c2t216000C0FFA8022Fd10s2 SUN35100_37 auto      -             -            online       c2t216000C0FFA8022Fd9s2 SUN35100_38 auto      -             -            online       c2t216000C0FFA8022Fd8s2 SUN35100_39 auto      -             -            online       c2t216000C0FFA8022Fd7s2 SUN35100_40 auto      -             -            online       c2t216000C0FFA8022Fd6s2 SUN35100_41 auto      -             -            online       c2t216000C0FFA8022Fd5s2 SUN35100_42 auto      -             -            online       c2t216000C0FFA8022Fd4s2 SUN35100_43 auto      -             -            online       c2t216000C0FFA8022Fd3s2 SUN35100_44 auto      -             -            online       c2t216000C0FFA8022Fd1s2 SUN35100_45 auto      -             -            online       c2t216000C0FFA8022Fd0s2 SUN35100_46 auto      -             -            online       c2t216000C0FFA8022Fd2s2 SUN35100_47 auto      -             -            online       c2t216000C0FF88022Fd1s2 SUN35100_48 auto      -             -            online       c2t216000C0FF88022Fd16s2

Next, do a luxadm display /dev/rdsk/  Vendor:              SUN Product ID:          StorEdge 3510 Revision:            411I Serial Num:          08022F24AEA8 Unformatted capacity: 3072k00.000 MBytes Write Cache:         Enabled Read Cache:          Enabled Minimum prefetch:  0x0 Maximum prefetch:  0xffff Device Type:         Disk device Path(s): /dev/rdsk/c2t216000C0FF88022Fd21s2 /devices/pci@9,600000/SUNW,qlc@1/fp@0,0/ssd@w216000c0ff88022f,15:c,raw LUN path port WWN:         216000c0ff88022f Host controller port WWN:  210000e08b18c7c4 Path status:               O.K.  /dev/rdsk/c3t226000C0FFC8022Fd21s2 /devices/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w226000c0ffc8022f,15:c,raw LUN path port WWN:         226000c0ffc8022f Host controller port WWN:  210000e08b18b8d3 Path status:               O.K.
 * 1) luxadm display /dev/rdsk/c2t216000C0FF88022Fd21s2

To map these to the WWPN of StorEdge 3510 do: sccli show port-wwns  Ch Id   WWPN - 0 40   216000C0FF88022F 0 41   216000C0FF98022F 0 42   216000C0FFA8022F 0 43   216000C0FFB8022F 1 44   226000C0FFC8022F 1 45   226000C0FFD8022F 1 46   226000C0FFE8022F 1 47   226000C0FFF8022F
 * 1) sccli /dev/rdsk/c2t216000C0FF88022Fd0s2 show port-wwns

So, looking at the example above, it’s LUN 15 Target 40 and 44 sccli: selected device /dev/rdsk/c2t216000C0FF88022Fd0s2 [SUN StorEdge 3510 SN#08022F] 0 40   216000C0FF88022F 1 44   226000C0FFC8022F
 * 1) sccli /dev/rdsk/c2t216000C0FF88022Fd0s2 show port-wwns | egrep -i '216000c0ff88022f|226000c0ffc8022f'

The LUN # is the number after the WWN in the “/devices” mapping. So, looking at the above output from luxadm we see the lun is number 21. Thus we understand that: /dev/rdsk/c2t216000C0FF88022Fd21s2 ->  0.40.21	(ch . tgt . LUN) /dev/rdsk/c3t226000C0FFC8022Fd21s2 ->  1.44.21 	(ch . tgt . LUN)

To see which Logical Drive (ld#) this belongs to do: sccli show luns  sccli: selected device /dev/rdsk/c2t216000C0FF88022Fd0s2 [SUN StorEdge 3510 SN#08022F] 0 40  21   ld4     24AEA8E5-00   Primary   210000E08B18F3C4 {0x210000E08B185D} 0 40  21   ld4     24AEA8E5-00   Primary   210000E08B18C7C4 0 40  21   ld4     24AEA8E5-00   Primary   210000E08B0F298E 0 40  21   ld4     24AEA8E5-00   Primary   210000E08B0F1890 0 40  21   ld4     24AEA8E5-00   Primary   210000E08B141417 In this instance there are 5 listings each because there are 5 nodes in the cluster that all access the same partition (VxVM & VCS handle control).
 * 1) sccli /dev/rdsk/c2t216000C0FF88022Fd0s2 show luns | egrep -i '0  40  15|1  44  15'

With all this we can map this to the partition – do: sccli show partitions  ld4-00  24AEA8E5-00     300.00GB
 * 1) sccli /dev/rdsk/c2t216000C0FF88022Fd0s2 show partitions | grep ‘24AEA8E5-00’

Now wasn’t that easy?