Error "VxVM vxresize ERROR V-5-1-2331 Cannot resize volume home2 (VXFS file system not mounted)" reported when resizing the mounted rootdg file system

book

Article ID: 100029728

calendar_today

Updated On:

Description

Error Message

VxVM vxresize ERROR V-5-1-2331 Cannot resize volume (VXFS file system not mounted)

Following error may be seen when attempting to resize encapsulated file systems:

#/etc/vx/bin/vxresize -F vxfs -g rootdghome2  +1g  
VxVM vxresizeERROR V-5-1-2331 Cannot resize volume home2 (VXFS file system notmounted)

The first step to identify this issue is to verify that the file system is mounted:

#mount | grep

Example:
#mount | grep home2
/export/home2 on/dev/vx/dsk/bootdg/home2read/write/setuid/devices/delaylog/largefiles/qio/ioerror=mwdisable/dev=3f8cf0con Tue Oct 16 05:30:00 2007

The vxresize command is attempting to verify the file system is mounted by examining the/etc/mnttab for the device /dev/vx/dsk//.  In this instance the expected path is /dev/vx/dsk/rootdg/home2.

 

Cause

The error is caused as the "vxresize" command does not recognize the bootdg is an alias for rootdg, so the check fails.

 

Resolution

To resolve this issue, you must either run the volume resize and file system grow commands individually

OR

Remount the file system using the /dev/vx/dsk/rootdg/ device path.

 

 

 

Issue/Introduction

The vxresize command fails when resizing mounted rootdg file system with error "VxVM vxresize ERROR V-5-1-2331 Cannot resize volume home2 (VXFS file system not mounted)"