VERITAS File System 4.1 Administrator's Guide

VERITAS File System Quick Reference
Veritas File System Quick Reference
Appendix A 197
extendfs [-F vxfs] [-q] [-v] [-s size] special
vxfs The file system type
-q Displays the size of special without resizing it
-v Specifies verbose mode
-s size Specifies the number of blocks to add to the file system (maximum if not
specified)
special Either a logical volume or a disk partition
NOTE The device must have enough space to hold the new larger file system.
When the file system size is grown with the extendfs command, the intent log
size is not automatically increased. This issue is most visible when upgrading
file systems with disk layout Versions prior to 3 and of a size smaller than 8
MB. When such a file system is upgraded to disk layout Version 4 and then
extended to a size greater than 8 MB with the extendfs command, the file
system cannot be mounted since the minimum allowed intent log size is 256K.
Example A-10 To increase the capacity of a file system on an VM volume
Enter:
# umount /dev/vg00/lvol7
# lvextend -L larger_size /dev/vg00/lvol7
# extendfs -F vxfs /dev/vg00/rlvol7
# 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 Chapter 6, “Online Backup Using File System Snapshots,” on page 117 and the following
manual pages for more information about the mount, vxdump, and vxrestore commands and
their available options:
mount(1M)
mount_vxfs(1M)