Veritas™ File System 5.0.1 Administrator's Guide

To extend a VxFS file system
Use the fsadm command to extend a VxFS file system:
/usr/lib/fs/vxfs/fsadm [-F vxfs] [-b newsize] [-r rawdev] \
mount_point
The file system type.vxfs
The size (in sectors) to which the file system will increase.newsize
The file system's mount point.mount_point
Specifies the path name of the raw device if there is no entry in
/etc/fstab and fsadm cannot determine the raw device.
-r rawdev
Example of extending a file system
The following is an example of extending a file system with the fsadm command.
To extend a file system
Extend the VxFS file system mounted on /ext to 22528 sectors:
# fsadm -F vxfs -b 22528 /ext
Shrinking a file system
You can decrease the size of the file system using fsadm, even while the file system
is mounted.
Note: If a file system is full, busy, or too fragmented, the resize operation may
fail.
To decrease the size of a VxFS file system
Use the fsadm command to decrease the size of a VxFS file system:
fsadm [-F vxfs] [-b newsize] [-r rawdev] mount_point
The file system type.vxfs
The size (in sectors) to which the file system will shrink.newsize
The file system's mount point.mount_point
199Quick Reference
Resizing a file system