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

  man pages->HP-UX 11i man pages -> extendfs (1m)              
Title
Content
Arch
Section
 

Contents


 extendfs(1M)                                                   extendfs(1M)




 NAME    [Toc]    [Back]
      extendfs - extend a file system size (generic)

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

 DESCRIPTION    [Toc]    [Back]
      If the original file system image created on special does not make use
      of all of the available space, extendfs can be used to increase the
      capacity of a file system by updating the file system structure to
      include the extra space.

      The command-line parameter special specifies the device special file
      of either a logical volume or a disk partition. The special must be
      un-mounted before extendfs can be run (see mount(1M)).

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

           -F FStype Specify the file system type on which to operate (see
                     fstyp(1M) and fs_wrapper(5)).  If this option is not
                     included on the command line, then the file system type
                     is determined from the file /etc/default/fs.

           -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  size 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,
      enter:

           umount /dev/vg00/lvol1

           lvextend -L larger_size /dev/vg00/lvol1

           extendfs -F hfs /dev/vg00/rlvol1

           mount /dev/vg00/lvol1 mount_directory

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


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
extendfs_hfs HP-UX extend HFS file system size
extendfs_vxfs HP-UX extend VxFS file system size
fsdb HP-UX file system debugger (generic)
mkfs HP-UX construct a file system (generic)
vfs_mount FreeBSD generic file system mount function
growfs OpenBSD grow size of an existing ffs file system
growfs FreeBSD grow size of an existing ufs file system
truncate OpenBSD truncate or extend a file to a specified length
ftruncate FreeBSD truncate or extend a file to a specified length
truncate FreeBSD truncate or extend a file to a specified length
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service