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

  man pages->OpenBSD man pages -> growfs (8)              
Title
Content
Arch
Section
 

GROWFS(8)

Contents


NAME    [Toc]    [Back]

     growfs - grow size of an existing ffs file system

SYNOPSIS    [Toc]    [Back]

     growfs [-Ny] [-s size] special

DESCRIPTION    [Toc]    [Back]

     The growfs utility extends  the  newfs(8)  program.   Before
starting growfs,
     the  partition  must  be  set to a larger size using disklabel(8).  The
     growfs utility extends the size of the file  system  on  the
specified special
 file.

     Currently  growfs  can  only enlarge unmounted file systems.
Do not try enlarging
 a mounted file system - your system  may  panic  and
you will not be
     able  to  use  the  file  system  any  longer.   Most of the
newfs(8) options
     cannot be changed by growfs.  In fact, you can only increase
the size of
     the file system.  Use tunefs(8) for other changes.

     The following options are available:

     -N         Test mode.  Causes the new file system parameters
to be printed
 out without actually enlarging the  file  system.

     -s  size    Determines the size of the file system after enlarging in sectors.
  This value defaults to the size of the raw
partition
                specified in special (in other words, growfs will
enlarge the
                file system to the size of the entire partition).

     -y          Expert mode.  Usually growfs will ask you if you
have taken a
                backup of your data and will test whether special
is currently
                mounted.   The  -y  flag  suppresses this, so use
this option with
                great care!

SEE ALSO    [Toc]    [Back]

      
      
     disklabel(8),  dumpfs(8),   fdisk(8),   fsck(8),   newfs(8),
tunefs(8)

HISTORY    [Toc]    [Back]

     The growfs utility first appeared in FreeBSD 4.4.

AUTHORS    [Toc]    [Back]

     Christoph Herrmann <chm@FreeBSD.org>
     Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>
     The GROWFS team <growfs@Tomsoft.COM>

BUGS    [Toc]    [Back]

     It  is  recommended  to  always  use fsck(8) after enlarging
(just to be on
     the safe side).

OpenBSD     3.6                        September     8,      2000
[ Back ]
 Similar pages
Name OS Title
growfs FreeBSD grow size of an existing ufs file system
link Tru64 Create a hard link to an existing file on the local file system
tunefs Tru64 Tunes an existing UFS file system
tunefs FreeBSD tune up an existing file system
tunefs HP-UX tune up an existing HFS file system
tunefs OpenBSD tune up an existing file system
tunefs_hfs HP-UX tune up an existing HFS file system
ffsinfo FreeBSD dump all meta information of an existing ufs file system
extendfs_hfs HP-UX extend HFS file system size
extendfs_vxfs HP-UX extend VxFS file system size
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service