Veritas™ File System 5.0.1 Administrator's Guide

Example of extending a VxFS file system
The following example extends a VxFS file system on a VxVM volume.
To increase the capacity of a file system
1
Unmount the file system:
# umount /dev/vg00/lvol7
2
Extend the volume so that the volume can contain the larger file system:
# lvextend -L larger_size /dev/vg00/lvol7
3
Extend the file system:
# extendfs -F vxfs /dev/vg00/rlvol7
4
Mount the file system:
# mount -F vxfs /dev/vg00/lvol7 mount_point
Backing up and restoring a file system
To back up a VxFS file system, you first create a read-only snapshot file system,
then back up the snapshot. This procedure lets you keep the main file system on
line. The snapshot is a copy of the snapped file system that is frozen at the moment
the snapshot is created.
See About snapshot file systems on page 75.
See the mount(1M), mount_vxfs(1M), vxdump(1M), and vxrestore(1M) manual
pages.
Creating and mounting a snapshot file system
The first step in backing up a VxFS file system is to create and mount a snapshot
file system.
To create and mount a snapshot of a VxFS file system
Use the mount command to create and mount a snapshot of a VxFS file system:
mount [-F vxfs] -o snapof=source,[snapsize=size] \
destination snap_mount_point
Quick Reference
Backing up and restoring a file system
202