vxvm volume state
CLEAN - The volume is not started(Kernel state DISABLED) and its plexes
are synchronized.
ACTIVE - The volume has been started or was in use when the machine was
rebooted. If the volume is DISABLED, the plexes cannot be
guaranteed to be consistant, but wil be consistant when the volume
is started.
EMPTY - The volume contents are not initialized. The kernel state is always
DISABLED when the volume is EMPTY.
SYNC - The volume is either in read-writeback recovery mode(ENABLED) or was
in this mode when the machine was rebooted(DISABLED). With
read-writeback recovery, plex consistancy is recovered by reading
data blocks of one plex and writing the data to all other writable
plexes. If the volume is ENABLED, the plexes are being resyncronized.
If volume is DISABLED it was resynching when machine was reboted and
the plexes need to be resynchronized.
NEEDSYNC-The volume will require a resynchronization operation the next time
it is started.
--------------------------
RAID-5 Volume States
Raid-5 have there own set of volume states:
CLEAN - The volume is not started and its parity is good. The raid-5 plex
stripes are consistant.
ACTIVE - The volume has been started or was in use when the machine was
rebooted. If the volume is DISABLED, the parity can't be guaranteed
to be synchronized.
EMPTY - The volume contents are not initalized. The kernel state is always
DISABLED when the volume is EMPTY.
SYNC - The volume is either undergoing a parity resynchronization or was
having its parity resynchronized when the machine was rebooted.
NEEDSYNC- The volume will require a parity resynchronization operation the
next time it is started.
REPLAY - The volume is in a transient state as part of a log replay. A log
replay occurs when it becomes necessary to use logged parity and
data.