vxdisk shows two different disk status
Hi,
The disk status in below two outputs of vxdisk command using different arguments are different. Can anyone explain the reason or is it a bug.
host1 $ vxdisk list
DEVICE TYPE DISK GROUP STATUS
Disk_0 auto:none - - online invalid
Disk_1 auto:none - - online invalid
Disk_2 auto:none - - online invalid
Disk_3 auto:none - - online invalid
Disk_4 auto:none - - online invalid
Disk_5 auto:none - - online invalid
Disk_6 auto:none - - online invalid
Disk_7 auto:none - - online invalid
EMC0_0 auto:cdsdisk - - online
EMC0_1 auto:cdsdisk - - online
EMC0_2 auto:cdsdisk - - online
host1 $ vxdisk -eo alldgs list
DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME
Disk_0 auto - - online c1t10d0s2
Disk_1 auto - - online c1t11d0s2
Disk_2 auto - - online c2t8d0s2
Disk_3 auto - - online c2t9d0s2
Disk_4 auto - - online c0t8d0s2
Disk_5 auto - - online c0t9d0s2
Disk_6 auto - - online c3t11d0s2
Disk_7 auto - - online c3t10d0s2
EMC0_0 auto - (dg1) online c6t5006048452A7535Cd371s2
EMC0_1 auto - (dg1) online c6t5006048452A75372d369s2
EMC0_2 auto - (dg1) online c6t5006048452A75372d370s2
Thanks
the disk status in both cases is ONLINE
vxdisk -o alldgs list also reports additional information in that it shows the disk is "invalid" (ie: does not contain a valid VxVM configuration); however, the disk is still online, so the (physical/connection) status is the same.
The additional "invalid" status is not reported using the -e option, as the -e option is primarily to show the underlying OS paths. The disk is still shown as being in online status, so there is no mismatch, it is just not reporting the additional information.
Note: In 5.0MP3 RP4(? between rp1 and rp4) vxdisk -e list does seem to have been modified to show the enhanced information (ie: the version you are using must be earlier that 5.0MP3RP4) - see below:
5.0MP3 RP1
# vxdisk -o alldgs list DEVICE TYPE DISK GROUP STATUS disk_0 auto:none - - online invalid disk_1 auto:none - - online invalid # vxdisk -e list DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME ATTR disk_0 auto - - online c0t0d0s2 - disk_1 auto - - online c0t1d0s2 - # vxdisk -e -o alldgs list DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME ATTR disk_0 auto - - online c0t0d0s2 - disk_1 auto - - online c0t1d0s2 -
5.0MP3RP4
# vxdisk -o alldgs list DEVICE TYPE DISK GROUP STATUS disk_0 auto:none - - online invalid disk_1 auto:none - - online invalid # vxdisk -e list DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME ATTR disk_0 auto:none - - online invalid c0t0d0s2 - disk_1 auto:none - - online invalid c0t1d0s2 - # vxdisk -e -o alldgs list DEVICE TYPE DISK GROUP STATUS OS_NATIVE_NAME ATTR disk_0 auto:none - - online invalid c0t0d0s2 - disk_1 auto:none - - online invalid c0t1d0s2 -