Friday, September 1, 2017

How to clear the disk errors without reboot in VxVM 


There are two procedures to do this :

Procedure 1 (setting up mirror ):

# vxassist -g rootdg mirror swapvol2 rootdg03
# vxassist -g rootdg remove mirror swapvol2 !rootdg02

verify results by using "vxprint -thg rootdg"
Please make sure that swapvol2 is now located on disk c6t8d0

OR

Procedure 2 (Evacuate rootdg2) :

# /etc/vx/bin/vxevac -g rootdg rootdg02 rootdg03

verify results by using "vxprint -thg rootdg"
Please make sure that swapvol2 is now located on disk c6t8d0

Note :If any one of the above procedure works then downtime is not required, else need to replace and add the new disk.