Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

You must know the new desired size of the file system.Prerequisites
vxresize works with VxFS, JFS (derived from VxFS), and HFS file
systems only.
If the file system is mounted and Online JFS (full VxFS), you can
grow or shrink the size. If the file system is mounted and either
Base JFS (Lite VxFS) or HFS, you cannot grow or shrink the size.
If the file system is unmounted and Online JFS (full VxFS), Base
JFS (Lite VxFS), or HFS, you can grow the size only.
When resizing large volumes, vxresize may take a long time to
complete.
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.
You cannot resize a volume that contains plexes with different
layout types.
See the vxresize (1M) manual page for more details.
Usage notes
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.
Setting up databases
Resizing a file system
66