The fsadm command resizes the file system only. If you attempt to use fsadm to make the file system the same size or larger than the underlying volume, the fsadm command will fail. To resize the file system and its underlying volume, use the vxresize command instead.
Warning: |
Resizing a volume with a usage type other than FSGEN or RAID5 can result in data loss. If such an operation is required, use the -f option to forcibly resize such a volume. |
Before resizing a file system and the underlying volume, review the following:
To resize a file system and the underlying volume
Use the vxresize command as follows:
# /etc/vx/bin/vxresize -g disk_group -b -F vxfs -t \
homevolresize homevol volume_size disk_name disk_name
For example, to extend a 1-gigabyte volume, homevol, that contains a VxFS file system, to 10 gigabytes using the spare disks disk10 and disk11, enter:
# /etc/vx/bin/vxresize -b -F vxfs -t homevolresize homevol 10g \ disk10 disk11
The -b option specifies that this operation runs in the background. Its progress can be monitored by specifying the task tag homevolresize to the vxtask command.