Veritas Volume Manager 5.0.1 Troubleshooting Guide, HP-UX 11i v3, First Edition, November 2009

To clear the failing flag on a disk
1
Use the vxdisk list command to find out which disks are failing:
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t1d0 auto:simple mydg01 mydg online
c1t1d0 auto:simple mydg02 mydg online failing
c1t1d0 auto:simple mydg03 mydg online
. . .
2
Use the vxedit set command to clear the flag for each disk that is marked
as failing (in this example, mydg02):
# vxedit set failing=off mydg02
3
Use the vxdisk list command to verify that the failing flag has been
cleared:
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t1d0 auto:simple mydg01 mydg online
c1t2d0 auto:simple mydg02 mydg online
c1t3d0 auto:simple mydg03 mydg online
. . .
Reattaching failed disks
You can perform a reattach operation if a disk could not be found at system startup,
or if VxVM is started with some disk drivers unloaded and unloadable (causing
disks to enter the failed state). If the underlying problem has been fixed (such
as a cable or controller fault), use the vxreattach command to reattach the disks
without plexes being flagged as STALE. However, the reattach must occur before
any volumes on the disk are started.
The vxreattach command is called as part of disk recovery from the vxdiskadm
menus and during the boot process. If possible, vxreattach reattaches the failed
disk media record to the disk with the same device name. Reattachment places a
disk in the same disk group that it was located in before and retains its original
disk media name.
17Recovering from hardware failure
Reattaching failed disks