|
|
HP-UX Reference > Eextendfs_hfs(1M)HP-UX 11i Version 2: December 2007 Update |
|
NAMEextendfs_hfs: extendfs — extend HFS file system size DESCRIPTIONIf the original HFS file system image created on special does not make use of all of the available space, the extendfs command can be used to increase the capacity of an HFS file system by updating the file system structure to include the extra space. The command-line parameter special specifies the character device special file of either a logical volume or a disk partition. The special must be unmounted before the extendfs command can be run (see mount(1M)). Optionsextendfs recognizes the following options:
EXAMPLESTo increase the capacity of a file system created on a logical volume, enter: umount /dev/vg00/lvol1 lvextend -L larger_size /dev/vg00/lvol1 extendfs -F hfs /dev/vg00/rlvol1 mount /dev/vg00/lvol1 mount_directory WARNINGSThe root file system cannot be extended using the extendfs command because the root file system is always mounted, and the extendfs command only works on unmounted file systems. extendfs will fail if used on a file system, on a logical volume, where the logical block size of the logical volume is greater than the file system's fragment size. The logical block size, of a logical volume changes, when additional disks with larger sector size are added. |
|