Veritas File System 5.1 SP1 Administrator"s Guide (5900-1499, April 2011)

To extend a VxFS file system
Use the fsadm command to extend a VxFS file system:
fsadm [-F vxfs] [-b newsize] [-r rawdev] \
mount_point
The file system type.vxfs
The size to which the file system will increase. The default units
is sectors, but you can specify k or K for kilobytes, m or M for
megabytes, or g or G for gigabytes.
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
Examples of extending a file system
The following example extends a file system mounted at /mnt1 to 22528 sectors.
To extend a file system to 22528 sectors
Extend the VxFS file system mounted on /mnt1 to 22528 sectors:
# fsadm -F vxfs -b 22528 /mnt1
The following example extends a file system mounted at /mnt1 to 500 gigabytes.
To extend a file system to 500 gigabytes
Extend the VxFS file system mounted on /mnt1 to 500 gigabytes:
# fsadm -F vxfs -b 500g /mnt1
Shrinking a file system
You can decrease the size of the file system using fsadm, even while the file system
is mounted.
Warning: After this operation, there is unused space at the end of the device. You
can then resize the device, but be careful not to make the device smaller than the
new size of the file system.
139Quick Reference
Resizing a file system