vxvm:vxvol reports error when trying to start a volume.

vxvm:vxvol reports error when trying to start a volume.

Article: 100013160
Last Published: 2004-01-19
Ratings: 3 1
Product(s): InfoScale & Storage Foundation

Problem

vxvm:vxvol reports error when trying to start a volume.

Error Message

vxvm:vxvol: ERROR: Volume has no CLEAN or non-volatile ACTIVE plexes

Solution

Description:
=========
Starting a volumereports the error above. The vxprint output shows that the plexes for the volume are in "DISABLED RECOVER" state.


Solution:
=======
The following commands must be run ona plex to change the state of the plex to "CLEAN". The volume can then bestarted,  but a fsck may berequired before mounting the file system.

#vxmend -o force off <plex>
#vxmend on <plex>
# vxmend fixclean <plex>
# vxvol start<volume>
# fsck -F vxfs/dev/vx/rdsk/<diskgroup>/<volume>
#mount -F vxfs /dev/vx/dsk/<diskgroup>/<volume>/mountpoint


Here is an example:
The diskgroup dg01 has 2 volumes, apps and home. Trying to start all the volumesreported the following error:

# vxvol -g dg01startall
vxvm:vxvol: ERROR: Volumehome has no CLEAN or non-volatile ACTIVEplexes

# vxprint -g dg01-th     <== Showed thefollowing
...
dgdg01 2 2 1230001021305687.1295.obp1

dm appsdiskc0t1d0s2 sliced 11555 71112735 -
dmappsmirror c1t1d0s2 sliced 11555 71112735-
dm homedisk c2t0d0s2 sliced 1413535349424 -
dm homemirror c3t0d0s2sliced 14135 35349424 -

v apps -ENABLED ACTIVE 70840320 SELECT -fsgen
pl apps-01 apps ENABLED ACTIVE70841169 CONCAT - RW
sd appsdisk-01apps-01 appsdisk 0 70841169 0 c0t1d0s2ENA
pl apps-02 apps ENABLED ACTIVE70841169 CONCAT - RW
sd appsmirror-01apps-02 appsmirror 0 70841169 0 c1t1d0s2ENA

v home - DISABLED ACTIVE16896000 SELECT - fsgen
pl home-01home DISABLED RECOVER 16897232 CONCAT -RW
sd homedisk-01 home-01 homedisk 016897232 0 c2t0d0 RLOC
pl home-02home DISABLED RECOVER 16897232 CONCAT -RW
sd h omemirror-01 home-02homemirror 0 16897232 0 c3t0d0 ENA

The following commandsneed to be run on one of the plexes before trying to start the volume'home':

#vxmend -o force off home-01
#vxmend on home-01
#vxmend fix clean home-01

The volume will then start successfully using thecleaned plex (the second plex, 'home-02' will automatically resync using plex'home-01'):

# vxvol starthome

Note:
It may be necessary to run fsck on the file system beforemounting it:

# fsck -F vxfs/dev/vx/rdsk/<diskgroup>/<volume>
#mount -F vxfs /dev/vx/dsk/<diskgroup>/<volume>/mountpoint



Was this content helpful?