vxresize command to resize a volume containing a file system. Although other commands can be used to resize volumes containing file systems, the
vxresize command offers the advantage of automatically resizing certain types of file system as well as the volume.
Permitted resizing operations on file systems shows what operations are permitted and whether the file system must first be unmounted to resize the file system.
For example, the following command resizes the 1-gigabyte volume,
homevol, in the disk group,
mydg, that contains a VxFS file system to 10 gigabytes using the spare disks
vxresize -g mydg -b -F vxfs -t homevolresize homevol 10g \
-b option specifies that this operation runs in the background. Its progress can be monitored by specifying the task tag
homevolresize to the
Note the following restrictions for using
reiserfsfile systems only. It does not work with other file system types, or if no file system is configured on a volume.
vxresizemay take a long time to complete.
-foption to forcibly resize such a volume.
For more information about the
vxresize command, see the
vxresize(1M) manual page.