VERITAS File System 4.1 Administrator's Guide

VERITAS File System Quick Reference
Veritas File System Quick Reference
Appendix A188
Converting a UFS File System to VxFS
The vxfsconvert command can be used to convert a UFS file system to a VxFS file system.
How to Convert a File System
To convert a UFS file system, use the vxfsconvert command:
vxfsconvert [-l logsize] [-s size] [-efnNvyY] special
-e Estimates the amount of space required to complete the conversion.
-f Displays the list of supported file system types.
-l logsize Specifies the size of the file system intent log.
-n|N Assumes a no response to all questions asked by vxfsconvert.
-s size Directs vxfsconvert to use free disk space past the current end of the file
system to store VxFS metadata.
-v Specifies verbose mode.
-y|Yspecial Assumes a yes response to all questions asked by vxfsconvert.
See the vxfsconvert(1M) manual page for more information about converting a UFS file
system to a VxFS file system.
Example
To convert a UFS file system to a VxFS file system with an intent log size of 4096 blocks,
enter:
# vxfsconvert -l 4096 /dev/vx/rdsk/diskgroup/volume
Mounting a File System
You can mount a VxFS file system by using the mount command. If you enter this command,
the generic mount command parses the arguments and the -F fstype option executes the
mount command specific to that file system type. For VxFS and VERITAS-installed products,
the generic mount command executes the VxFS mount command from the directory
/sbin/fs/vxfs4.1. If the -F option is not supplied, the command searches the file /etc/fstab for a
file system and an fstype matching the special file or mount point provided. If no file system
type is specified, mount uses the default file system type (VxFS).
How to Mount a File System
After you create a VxFS file system, you can use the mount command to mount the file
system: