Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

This task requires a mounted file system.
You must know either the desired size or the amount of space to
add to or subtract from the file system size.
Prerequisites
See the (1M) manual page.
See the fsadm_vxfs(1M) manual page.
Usage notes
To resize a file system
Use fsadm command as follows:
# /opt/VRTS/bin/fsadm -F vxfs [-b newsize] \
[-r rawdev] /mount_point
where:
newsize is the size (in sectors) to which the file system will increase or
shrink
rawdev specifies the name of the raw device if there is no entry in and
fsadm cannot determine the raw device
/mount_point is the location where the file system is mounted
For example, to extend the file system /db01 to 2 GB:
# /opt/VRTS/bin/fsadm -F vxfs -b 2g /db01
Note: See the Veritas File System Administrator's Guide and fsadm_vxfs (1M)
manual page for information on how to perform common file system tasks
using fsadm.
Resizing a file system and the underlying volume
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:
65Setting up databases
Resizing a file system