Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

To defragment a file system
Run the fsadm command followed by the options specifying the type and
amount of defragmentation. Complete the command by specifying the mount
point or raw device to identify the file system.
# /opt/VRTS/bin/fsadm [-d] [-D] [-e] [-E] [-s] [-v] \
[-l largesize] [-a days] [-t time] [-p pass_number] \
[-r rawdev_path] mount_point
Refer to theVeritas File System Administrator's Guide for instructions and
information on scheduling defragmentation. Veritas File System
Administrator's Guide for instructions and information on scheduling
defragmentation.
For example, to defragment a file system:
# /opt/VRTS/bin/fsadm -d -D /oradata_qiovm
Directory Fragmentation Report
Dirs Total Immed Immeds Dirs to Blocks to
Searched Blocks Dirs to Add Reduce Reduce
total 5 1 4 0 0 0
Directory Fragmentation Report
Dirs Total Immed Immeds Dirs to Blocks to
Searched Blocks Dirs to Add Reduce Reduce
total 5 1 4 0 0 0
Resizing a file system
If 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.
Remember to increase the size of the underlying device or volume before increasing
the size of the file system.
See the Veritas Volume Manager Administrator's Guide.Veritas Volume Manager
Administrator's Guide.
Before resizing a file system, revew the following:
Setting up databases
Resizing a file system
64