Failure of vxsnap reattach or refresh
If a vxsnap reattach or refresh operation fails, the volume being refreshed may go into the DISABLED state, be marked invalid and be rendered unstartable. You can use the following command to check that the inst_invalid flag is set to on:
# vxprint [-g diskgroup] -F%inst_invalid volume
Use the following steps to recover the volume:
-
Use the vxmend command to clear the volume's tutil0 field:
# vxmend [-g diskgroup] clear tutil0 volume
-
Use the vxsnap command to dissociate the volume from the snapshot hierarchy:
# vxsnap [-g diskgroup] dis volume
-
Use the following command to start the volume:
# vxvol [-g diskgroup] start volume
-
Re-run the failed reattach or refresh command.
Note
This results in a full resynchronization of the volume. Alternatively, remove the snapshot volume and recreate it if required.
|