VERITAS File System 3.5 (HP OnlineJFS/JFS 3.5) Administrator's Guide (August 2003)

Appendix A
VERITAS File System Quick Reference
Resizing a File System
86
How to Extend a File System Using extendfs
If a VxFS file system is not mounted, you can use the extendfs command to increase the size of the file
system.
To extend a VxFS file system, use the syntax:
extendfs [-F vxfs] [-q] [-v] [-s
size
]
special
NOTE The device must have enough space to hold the new larger file system.
Example
To increase the capacity of a file system on an VM volume, enter:
# umount /dev/vg00/lvol7
# lvextend -L larger_size /dev/vg00/lvol7
# extendfs -F vxfs /dev/vg00/rlvol7
# mount -F vxfs /dev/vg00/lvol7 mount_point
vxfs The file system type
-q Displays the size of special without resizing it
-v Specifies verbose mode
-s
size
Specifies the number of blocks to add to the file system
(maximum if not specified)
special Either a logical volume or a disk partition