$ vxdisk list
DEVICE TYPE DISK GROUP STATUS c7t21d0s2 sliced disk01 oradg online c7t22d0s2 sliced disk02 oradg error c7t22d0s2 sliced - - error c7t23d0s2 sliced disk03 oradg onlineTo fix this annoyance, I first removed the disk disk02 from the oradg disk group:
$ vxdg -g oradg rmdisk disk02
Once the disk was removed, I ran vxdisk “remove” two times to remove both disk access records:
$ vxdisk rm c7t22d0s2
$ vxdisk rm c7t22d0s2
After both device access records were removed, I executed ‘devfsadm -C’ to clean the Solaris device tree, and then ran ‘vxdctl enable’ to have Veritas update the list of devices it knows about. After these operations completed, the device showed up once in the vxdisk output:
$ vxdisk list
DEVICE TYPE DISK GROUP STATUS c7t21d0s2 sliced disk01 oradg online c7t22d0s2 sliced disk02 oradg online c7t23d0s2 sliced disk03 oradg onlineI have seen times where the Solaris device tree will hold on to old entries, which unfortunately requires a reboot to fix. Luckily for me, this wasn’t the case with my system.
No comments:
Post a Comment