08-22-2008 09:55 AM
Running Solaris 10 - Storage Foundation 5.0
Just installed and Encapped Root and mirrored..
When we added our array with disks... vxdisk shows all the disks with c2 being the primary and c3 being the secondary..
# vxdisk list c2t0d0s2
Device: c2t0d0s2
pubpaths: block=/dev/vx/dmp/c2t0d0s2 char=/dev/vx/rdmp/c2t0d0s2
Multipathing information:
numpaths: 2
c2t0d0s2 state=enabled type=primary
c3t0d0s2 state=enabled type=secondary
# vxdisk list c3t0d2s2
Device: c3t0d2s2
pubpaths: block=/dev/vx/dmp/c3t0d2s2 char=/dev/vx/rdmp/c3t0d2s2
numpaths: 2
c3t0d2s2 state=enabled type=secondary
c2t0d2s2 state=enabled type=primary
But for some disks.. (Like the second one I listed above) the secondary comes first and when i do a vxdisk list...
you can see the secondary device is listed..
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto:sliced rootdisk rootdg online
c1t1d0s2 auto:sliced rootmirror rootdg online
c2t0d0s2 auto:none - - online invalid
c2t0d1s2 auto:none - - online invalid
c3t0d2s2 auto:none - - online invalid
c3t0d3s2 auto:none - - online invalid
c3t0d4s2 auto:none - - online invalid
c3t0d5s2 auto:none - - online invalid
While either name will work for commands, is there a way to get these all be uniform in the display?
I did this on 2-3 boxes and the resutls were mixed on each one. Some Primaries and some secondaries when displaying with vxdisk list. The results were also different mix on each box as well..
I had tried to rm the /dev/rdsk/c[2-3]*, /dev/dsk/c[2-3]* and the /dev/vx/dmp and /dev/vx/rdmp/ entries and then did a reconfigure reboot but it didnt change anything ...
certianly not a big issue, but if there is something simple it would be great. Were looking to parse the output for shell scripting and we want to have things consistent across all our platforms.
Solved! Go to Solution.
08-25-2008 12:24 AM
08-25-2008 12:24 AM
08-25-2008 07:46 AM