Mount fails with errors V-3-24706 and fsck fails with error V-3-20694

book

Article ID: 100002579

calendar_today

Updated On:

Description

Error Message

# mount -F vxfs /dev/vx/dsk/testdg/u100 /c1mnt

UX:vxfs mount: ERROR: V-3-24706: /dev/vx/dsk/testdg/u100 no such device or file system on it missing one or more devices and

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

UX:vxfs fsck: ERROR: V-3-26248: could not read from block offset devid/blknum 0/xxxxxx .

Device containing meta data may be missing in vset or device is too big to be read on a 32 bit system.

UX:vxfs fsck: ERROR: V-3-20694: cannot initialize aggregate file system check failure, aborting

 

Cause

This can happen when the volume size is smaller than the filesystem as a result of running a vxassist command to shrink a volume

 

Resolution

1. Check the status of filesystem and volume

# fstyp -v /dev/vx/dsk/testdg/u100

# vxprint -g testdg -htv u100

Note1 : volume size = 75497472 sectors , file system = 47185920 blocks = 94371840 sectors

So volume (94371840- 75497472) is 18874368 sectors smaller than the file system

 

2: Determine disk(s) available and which one to use to re-grow the volume back to the original size.

# vxdg -g testdg free

 

3. Use backup data in directory /etc/vx/cbg/bk/testdg.1224220109.123.xxx to assist or old vxprint prior to the shrink command was executed to assist with recovery

# cd /etc/vx/cbg/bk/testdg.1224220109.123.xxx

# cat 1224220109.123.xxx.cfgrec | vxprint -D - -ht

 

4.Run vxassist to grow the volume and specify the correct disk followed by fsck and mount

# vxassist -g dg growto 94371840 u100 testdg03

# fsck -F vxfs -o full /dev/vx/rdsk/dg/u100

# mount -F vxfs /dev/vx/dsk/testdg/u100 /u100

 

Applies To

Solaris

Issue/Introduction

The fileystem fails to mount and file system check (fsck) keeps aborting