VVR cant resize volume

book

Article ID: 100002809

calendar_today

Updated On:

Description

Error Message

svdw3e04:itd0mzc:/usr/local/server:92 % sudo vradmin -g dpaw21appvg
resizevol dpaw21app_rvg dpaw21warehouse68lv 80g
Message from Primary:
VxVM vxresize ERROR V-5-1-2331 Cannot resize volume dpaw21warehouse68lv
(VXFS file system not mounted)

Cause

There is no definitive answer as to why this issue occurred. It would appear that the filesystem header somehow became corrupted. Had the customer unmount the filesystem, and try the resize again, and it got the same error.

Resolution

The customer did not have any required data in the affected filesystem.  Suggested the customer disassociate the volume from the RVG, recreate the FS, then reassociate the volume to the RVG, sync the volume, mount the FS, and then try the resize again.

# vxvol -g dpaw21appvg dis dpaw21warehouse68lv
# mxfs_vxfs /dev/vx/rdsk/dpaw21appvg/dpaw21warehouse68lv
# vxvol  -g dpaw21appvg assoc rvgname dpaw21warehouse68lv
# vradmin -g dg syncvol dpaw21warehouse68lv sechost
# mount -F vxfs  /dev/vx/dsk/dpaw21appvg/dpaw21warehouse68lv /mount_point
# vradmin -g dpaw21appvg resizevol dpaw21app_rvg dpaw21warehouse68lv 80g

This resolved the issue and the customer was able to successfully resize the volume,


Issue/Introduction

The customer is trying to do vradmin resizevol on a VxFS volume/filesystem, and is getting the error that the filesystem is not mounted, even when it is is.