Vxfs filesystem version 6.1 will fail to mount filesystem disk layout version 5 and below

book

Article ID: 100011971

calendar_today

Updated On:

Description

Error Message

# mount -F vxfs  /dev/vx/dsk// /
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk//: No such file or directory
UX:vxfs mount: ERROR: V-3-21270: /dev/vx/dsk//: disk image is incompatible with this system
 

Cause

VRTSvxfs version 6.1 no longer support, mounting file system disk layout version 3 , 4 or 5.

Resolution

Use below procedure with vxfsconvert utility to upgrade disk layout version from 5 to 10.

 

1. Check the filesystem versions

# fstyp -v /dev/vx/rdsk// |grep version
magic a501fcf5  version 5 ctime Wed Feb 12 14:45:53 2014

2. Upgrade the filesystem disk layout version to the latest version.  For VxFS 6.1 the latest disk layout version is 10.

# man vxfsconvert
vxfsconvert - convert an unmounted file system  to  VxFS  or upgrade a VxFS disk layout version

  -e        Estimates the amount of space required to complete the  conversion.  This option does not convert the
             file system to VxFS, no data  is  written  to  the  file system, and the file system remains clean.

 -v        Specifies verbose mode.  Verbose  mode  shows  the  progress  of  the  conversion  process.

# vxfsconvert -ev /dev/vx/rdsk// 

 3. On completion , rerun the command to commit to the upgrade ( remove all options)

# vxfsconvert  /dev/vx/rdsk// 

4. check filesystem disk layout version

# fstyp -v /dev/vx/rdsk// |grep version
magic a501fcf5  version 10 ctime Wed Feb 25 15:45:53 2014


Note: If the filesystem is not clean, the vxfsconvert will fail and advice to run filesystem check

# fsck -F vxfs /dev/vx/rdsk//

 


Applies To

All platforms with VxFS upgraded to 6.1 but having filesystems layout version 5.

Issue/Introduction

As part of upgrade process of VRTSvxfs version 6.1, there is a warning message presented to ensure the filesystem disk layout version is 6 or above. Ignoring this warning results with the filesystems being inaccessible after VxFS upgrade.