If a VxFS file system is not mounted, you can use the extendfs
command to increase the size of the file system.
extendfs [-F vxfs] [-q] [-v] [-s size] special
Specifies the number of blocks to add to the file system (maximum if not specified)
Note
The device must have enough space to hold the new larger file system.
When the file system size is grown with the extendfs
command, the intent log size is not automatically increased. This issue is most visible when upgrading file systems with disk layout Versions prior to 3 and of a size smaller than 8 MB. When such a file system is upgraded to disk layout Version 4 and then extended to a size greater than 8 MB with the extendfs
command, the file system cannot be mounted since the minimum allowed intent log size is 256K.
Example of extending a VxFS file system
The following example extends a VxFS file system on a VxVM volume.
To increase the capacity of a file system
# lvextend -L larger_size /dev/vg00/lvol
7
# extendfs -F vxfs /dev/vg00/rlvol
7
# mount -F vxfs /dev/vg00/lvol7
mount_point