![]() |
< Previous | Next > |
Product: Storage Foundation for Databases Guides | |
Manual: Storage Foundation 4.1 for Oracle Administrator's Guide |
Resizing a File SystemIf you need to extend or shrink a VxFS file system, you can use the fsadm command. If a VxFS file system requires more space, you can use this procedure to extend the size of the file system. If a VxFS File System is too large and you need the space elsewhere, you can use this procedure to shrink the file system. ![]()
# /opt/VRTS/bin/fsadm -F vxfs [-b newsize] \ [-r rawdev] /mount_point
To extend the file system /db01 to 2 GB: # /opt/VRTS/bin/fsadm -F vxfs -b 2g /db01 ![]() Resizing a File System and the Underlying VolumeThe vxresize command offers the advantage of automatically resizing certain types of file systems as well as the underlying volume.
To extend a 1-gigabyte volume, homevol, that contains a VxFS file system, to 10 gigabytes, enter: # /etc/vx/bin/vxresize -b -F vxfs -t homevolresize homevol 10g 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. Growing a File System Automatically Using VxDBA Monitoring AgentYou can use the VxDBA Monitoring Agent to monitor file system space, and when the space usage reaches a configured threshold value, a predefined action script automatically grows the file system. See Managing File System Space for more information. |
^ Return to Top | < Previous | Next > |
Product: Storage Foundation for Databases Guides | |
Manual: Storage Foundation 4.1 for Oracle Administrator's Guide | |
VERITAS Software Corporation
www.veritas.com |