Veritas File System 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

VERITAS File System Quick Reference
Veritas File System Quick Reference
Appendix A180
-r rawdev Specifies the path name of the raw device if there is no entry in /etc/fstab and
fsadm cannot determine the raw device.
Example A-9 To reorganize the VxFS file system mounted at /ext
Enter:
# fsadm -F vxfs -EeDd /ext
How to Extend a File System Using extendfs
If a VxFS file system is not mounted, you can use the extendfs command to increase the size of the file
system.
To extend a VxFS file system, use the syntax:
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