Browsing the archives for the defrag tag

Unable to shrink VXFS volume

Solaris, UNIX

Never seen this before. This volume is about 50% full, total size 300GB. I tried defragging the file system with fsadm, but didn’t seem to help. I even unmounted it, mounted it somewhere else and immediately tried the resize again – still the same error. I know there are no open files on the file system.

server# vxresize -g rootdg perforce 285g
UX:vxfs fsadm: ERROR: V-3-20343: cannot shrink /dev/vx/rdsk/rootdg/perforce - blocks are currently in use.
VxVM vxresize ERROR V-5-1-7514 Problem running fsadm command for volume perforce, in diskgroup rootdg

I may have to backup/newfs/restore on this one. Too lazy to open a Symantec case because it’s not a big priority.

Share