So you lose a boot disk on a vxvm booted system. You hot replace the disk, but now you need to make sure the software mirror is good.
Lets say for example its rootdisk02
If the disk stayed alive and did not power down you can run vxbrk_rootmirror and cleanly replace the disk.
What do do if the disk powered down?
/opt/VRTS/bin/vxdiskunsetup -C rootdisk02
vxrecover -g rootdg -sb
You more than likely end up with a disk named like this that is totally useless:
rootdg.26724.31359
vxdg destroy rootdg.26724.31359 (on rootdisk02)
Remove the incomplete mirror copy
/etc/vx/bin/vxbrk_rootmir -v rootdisk02
And mirror it back ,
/opt/VRTS/bin/vxrootmir -v -g rootdg rootdisk02
Tags: hpux 11.23, hpux 11.23 pa-risc, vxvm, vxvm boot disk failure, vxvm boot mirror