VERITAS File System 4.1 Administrator's Guide

VERITAS File System Quick Reference
Veritas File System Quick Reference
Appendix A 199
How to Restore a File System
After backing up the file system, you can restore it using the vxrestore command. First,
create and mount an empty file system. To restore a VxFS snapshot file system, use the
syntax:
vxrestore [-v] [-x] [filename]
-v Specifies verbose mode.
-x Extracts the named files from the tape.
filename The file or directory to restore. If filename is omitted, the root directory (and
thus the entire tape) is extracted.
Example A-13 To restore a VxFS snapshot file system from the tape /dev/st1
into the mount point /restore
Enter:
# cd /restore
# vxrestore -v -x -f /dev/st1
Using Quotas
You can use quotas to allocate per-user quotas on VxFS file systems.
See Chapter 7, “Quota,” on page 127 and the following manual pages for more information
about the quota, quotaon, quotaoff, and edquota commands and their available options:
edquota(1M)
quota(1M)
quotaon(1M)
quotaoff(1M)
How to Turn On Quotas
You can enable quotas at mount time or after a file system is mounted. The root directory of
the file system must contain a file named quotas that is owned by root.
To turn on quotas for a mounted file system, use the syntax:
quotaon mount_point
To mount a file system and turn on quotas at the same time, use the syntax:
mount -F vxfs -o quota special mount_point