Unstartable volume in vxvm

recently had a problem, where I got

ERROR V-5-1-1198 Volume vol1 has no CLEAN or non-volatile ACTIVE plexes

The plex associated with the volume was in RECOVER state. This can happend “if the plex content is out of-date with respect to the volume. This can happen if a disk containing one or more of the plex’s subdisks has been replaced or reattached”.  In my case it was caused by a failing disk, that was brought online again later.  To recover I did:

# Force the plex into offline state

vxmend -g Data_DG -o force off vol1-01

# Put the plex into stale state

vxmend -g Data_DG on vol1-01

# Put the plex into clean state

vxmend -g Data_DG fix clean vol1-01

# Start the volume

 vxvol -g Data_DG startall
This entry was posted in Veritas. Bookmark the permalink.