Extending a file system using fsadm

You can resize a file system by using the fsadm command.

To resize a VxFS file system

vxfs

The file system type.

newsize

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.

mount_point

The file system's mount point.

-r rawdev

Specifies the path name of the raw device if there is no entry in /etc/vfstab and fsadm cannot determine the raw device.

The following example extends a file system mounted at /mnt1 by 22528 sectors.

Example of extending a file system to 22528 sectors

The following example extends a file system mounted at /mnt1 to 500 gigabytes.

Example of extending a file system to 500 gigabytes