Veritas File System 5.1 SP1 Administrator"s Guide (5900-1499, April 2011)

Example of determining a file system's type
The following example uses the fstyp command to determine the file system type
of the /dev/vx/dsk/fsvol/vol1 device.
To determine the file system's type
Use the fstyp command to determine the file system type of the device
/dev/vx/dsk/fsvol/vol1:
# fstyp -v /dev/vx/dsk/fsvol/vol1
The output indicates that the file system type is vxfs, and displays file system
information similar to the following:
vxfs version: 6 f_bsize: 8192 f_frsize: 1024 f_blocks: 1027432
f_bfree: 1026075 f_bavail: 961946 f_files: 256548 f_ffree: 256516
f_favail: 256516 f_fsid: 520114176 f_basetype: vxfs f_namemax: 254
f_magic: a501fcf5 f_featurebits: 0 f_flag: 0 f_fsindex: 7
f_size: 4194304
Resizing a file system
You can extend or shrink mounted VxFS file systems using the fsadm command.
Use the extendfs command to extend the size of an unmounted file system. A
file system using the Version 4 disk layout can be up to two terabytes in size. A
file system using the Version 5 disk layout can be up to 32 terabytes in size. A file
system using the Version 6 or later disk layout can be up to 8 exabytes in size.
The size to which a Version 5 or later disk layout file system can be increased
depends on the file system block size.
See About disk layouts on page 231.
See the extendfs(1M) and fsadm_vxfs(1M) manual pages.
Extending a file system using fsadm
If a VxFS file system is not large enough, you can increase its size. The size of the
file system is specified in units of 1024-byte blocks (or sectors).
The device must have enough space to contain the larger file system.
See the format(1M) manual page.
See the Veritas Volume Manager Administrator's Guide.
Quick Reference
Resizing a file system
138