*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> extendfs_hfs (1m)              


 extendfs_hfs(1M)                                           extendfs_hfs(1M)

 NAME    [Toc]    [Back]
      extendfs_hfs: extendfs - extend HFS file system size

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/extendfs [-F hfs] [-q] [-v] [-s size] special

 DESCRIPTION    [Toc]    [Back]
      If 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

    Options    [Toc]    [Back]
      extendfs recognizes the following options:

           -F hfs    Specify the HFS file system type.

           -q        Query the size of special.  No file system extension
                     will be done.

           -v        Verbose flag.

           -s size   Specifies the number of DEV_BSIZE blocks to be added to
                     the file system.  If the number of blocks is not
                     specified, the maximum possible size is used.

 EXAMPLES    [Toc]    [Back]
      To increase the capacity of a file system created on a logical volume,

           umount /dev/vg00/lvol1

           lvextend -L larger_size /dev/vg00/lvol1

           extendfs -F hfs /dev/vg00/rlvol1

           mount /dev/vg00/lvol1 mount_directory

 WARNINGS    [Toc]    [Back]
      The 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

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 extendfs_hfs(1M)                                           extendfs_hfs(1M)

      volume changes, when additional disks with larger sector size are

 RETURN VALUE    [Toc]    [Back]
      extendfs returns the following values:

            0        No errors were detected and file system was
                     successfully extended.
            1        Command aborted.

 SEE ALSO    [Toc]    [Back]
      extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M).

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
extendfs HP-UX extend a file system size (generic)
extendfs_vxfs HP-UX extend VxFS file system size
growfs OpenBSD grow size of an existing ffs file system
growfs FreeBSD grow size of an existing ufs file system
ftruncate FreeBSD truncate or extend a file to a specified length
truncate FreeBSD truncate or extend a file to a specified length
ftruncate OpenBSD truncate or extend a file to a specified length
truncate OpenBSD truncate or extend a file to a specified length
getpagesize Tru64 Get the system page size
getpagesize Linux get system page size
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service