You are on page 1of 1

V E R I T A S

E D U C A T I O N

Q U I C K

R E F E R E N C E

VxFS Commands
SETTING UP A FILE SYSTEM
Action Make a VxFS file system Mount a file system Unmount a file system Determine file system type Report free blocks/inodes Check/repair a file system Command Line mkfs F vxfs [generic_options] [-o vxfs_options] char_device [size] mount F vxfs [generic_options] [-o vxfs_options] block_device mount_point umount mount_point fstyp [-v] block_device df F vxfs [generic_options] [-o s] mount_point fsck F vxfs [generic_options] [y|Y] [n|N] character_device

DEFRAGMENTING A FILE SYSTEM


Action Report on directory fragmentation Report on extent fragmentation Defragment directories Defragment extents Reorganize a file system to support files > 2GB Command Line fsadm D mount_point fsadm E [-l largesize] mount_point fsadm d mount_point fsadm e mount_point fsadm o largefiles mount_point

INTENT LOGGING, I/O TYPES, AND CACHE ADVISORIES


Action Change default logging behavior Change how VxFS handles buffered I/O operations Change how VxFS handles I/O requests for files opened with O_SYNC and O_DSYNC Command Line fsck F vxfs [generic_options] o delaylog|tmplog|nodatainlog|blkclear block_device mount_point mount F vxfs [generic_options] o mincache=closesync|direct|dsync|unbuffered| tmpcache block_device mount_point mount F vxfs [generic_options] o convosync=closesync|direct|dsync|unbuffered |delay block_device mount_point

ONLINE ADMINISTRATION
Action Resize a file system Dump a file system Restore a file system Create a snapshot file system Create a storage checkpoint List storage checkpoints Remove a checkpoint Mount a checkpoint Unmount a checkpoint Change checkpoint attributes Upgrade the VxFS layout Display layout version Command Line fasdm [-b newsize] [-r raw_device] mount_point vxdump [options] mount_point vxrestore [options] mount_point mount F vxfs o snapof=source_block_device,[snapsize=size] destination_block_device snap_mount_point fsckptadm [-nruv] create ckpt_name mount_point fsckptadm [-clv] list mount_point fsckptadm [-sv] remove ckpt_name mount_point mount F vxfs o ckpt=ckpt_name pseudo_device mount_point umount mount_point fsckptadm [-sv] set [nodata|nomount|remove] ckpt_name vxupgrade [-n new_version] [-r raw_device] mount_point vxupgrade mount_point

QUICK I/O
Action Enable Quick I/O at mount Disable Quick I/O Treat a file as a raw character device Create a Quick I/O file through a symbolic link Get Quick I/O statistics Enable cached QIO for all files in a file system Disable cached QIO for a file Command Line mount F vxfs o qio mount_point mount F vxfs o noqio mount_point filename::cdev:vxfs: qiomkfile [-h header_size] [-a] [-s size] [-e|-r size] file qiostat [-i interval][-c count] [-l] [-r] file vxtunefs s o qio_cache_enable=1 mnt_point qioadmin S filename=OFF mount_point 800-327-2232 (option 2)
1

VERITAS Education

http://us.training.veritas.com

Copyright 2002 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans are trademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks or registered trademarks of their respective companies. Specifications and product offerings subject to change without notice. Printed in USA and the EU. March 2002.

You might also like