How to Enable a Volume when the plex state for the volume is in "DISABLED CLEAN" state

book

Article ID: 100037997

calendar_today

Updated On:

Description

Description

 

There are various 'plex' states in Volume Manager depending upon various conditions that may affect the state of the volume.

One of the state of a Volume Manager plex is the Clean state which indicates that the volume has been stopped and the contents for all plexes are consistent.

Stopping a Volume cleanly will get all its plexes in a "DISABLED CLEAN" state as below:

# vxvol -g testdg stop testvol

 

 

v   testvol       -             DISABLED CLEAN     2097152   ROUND      -         fsgen

pl testvol-01    testvol       DISABLED CLEAN     2097152   CONCAT     -         RW

sd emc0_02a2-01 testvol-01    emc0_02a2 0        2097152   0          emc0_02a2 ENA

 

Similarly, starting a Volume when all its plexes are in "DISABLED CLEAN" state will get the plex and Volume to be in ENABLED ACTIVE state:

# vxvol -g testdg start testvol

 

v   testvol       -             ENABLED ACTIVE    2097152   ROUND      -         fsgen

pl testvol-01    testvol       ENABLED ACTIVE    2097152   CONCAT     -         RW

sd emc0_02a2-01 testvol-01    emc0_02a2 0        2097152   0          emc0_02a2 ENA

 

Please note that volumes with multiple mirrors/plexes require that all the plexes be in the CLEAN state before starting up the volume. In case if one or more of the plexes are not in CLEAN state, then it may require recovery using a different set of commands and a "vxvol start" command may not be successful in that case.

Issue/Introduction

How to Enable a Volume when the plex state for the volume is in "DISABLED CLEAN" state