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

  man pages->IRIX man pages -> xfs_growfs (1)              
Title
Content
Arch
Section
 

v(7M)

Contents


xfs_growfs(1M)							xfs_growfs(1M)


NAME    [Toc]    [Back]

     xfs_growfs	- expand an XFS	filesystem

SYNOPSIS    [Toc]    [Back]

     xfs_growfs	[ -D size ] [ -d ] [ -e	rtextsize ] [ -i ] [ -L	size ]
	  [ -l ] [ -m maxpct ] [ -n ] [	-R size	] [ -r ] [ -x ]	mount-point

DESCRIPTION    [Toc]    [Back]

     xfs_growfs	expands	an existing XFS	filesystem (see	xfs(4)).  The mount-
     point argument is the pathname of the directory where the filesystem is
     mounted.  The filesystem must be mounted to be grown (see mount(1M)).
     The existing contents of the filesystem are undisturbed, and the added
     space becomes available for additional file storage.

     The options to xfs_growfs are:

     -d, -D size
	  Specifies that the data section of the filesystem should be grown.
	  If the -D size option	is given, the data section is grown to that
	  size,	otherwise the data section is grown to the largest size
	  possible.  The size is expressed in filesystem blocks.

     -e	  Allows the real-time extent size to be specified.  In	mkfs_xfs(1M)
	  this is specified with -r extsize=nnnn.

     -i	  The new log is an internal log (inside the data section).

     -l, -L size
	  Specifies that the log section of the	filesystem should be grown,
	  shrunk, or moved.  If	the -L size option is given, the log section
	  is changed to	be that	size, if possible.  The	size is	expressed in
	  filesystem blocks.  The size of an internal log must be smaller than
	  the size of an allocation group (this	value is printed at mkfs(1M)
	  time).  If neither -i	nor -x is given	with -l, the log continues to
	  be internal or external as it	was before.

     -m	  Specify a new	value for the maximum percentage of space in the
	  filesystem that can be allocated as inodes.  In mkfs_xfs this	is
	  specified with -i maxpct=nn.

     -n	  Specifies that no change to the filesystem is	to be made.  The
	  filesystem geometry is printed, and argument checking	is performed,
	  but no growth	occurs.

     -r, -R size
	  Specifies that the real-time section of the filesystem should	be
	  grown.  If the -R size option	is given, the real-time	section	is
	  grown	to that	size, otherwise	the real-time section is grown to the
	  largest size possible.  The size is expressed	in filesystem blocks.
	  The filesystem does not need to have contained a real-time section
	  before the xfs_growfs	operation.




									Page 1






xfs_growfs(1M)							xfs_growfs(1M)



     -x	  The new log is an external log (in an	XLV log	subvolume).

     xfs_growfs	is most	often used in conjunction with logical volumes (see
     xl
).  However, it can also be used on a regular disk
     partition,	for example if a partition has been enlarged while retaining
     the same starting block.

PRACTICAL USE    [Toc]    [Back]

     Filesystems normally occupy all of	the space on the device	where they
     reside.  In order to grow a filesystem, it	is necessary to	provide	added
     space for it to occupy.  Therefore	there must be at least one spare new
     disk partition available.	Adding the space is done through the mechanism
     of	logical	volumes.  If the filesystem already resides on a logical
     volume, the volume	is simply extended using mklv(1M) or xlv_mgr(1M).  If
     the filesystem is currently on a regular partition, it is necessary to
     create a new logical volume whose first member is the existing partition,
     with subsequent members being the new partition(s)	to be added.  Again,
     mklv or xlv_mgr is	used for this.	In either case xfs_growfs is run on
     the mounted filesystem, and the expanded filesystem is then available for
     use.

SEE ALSO    [Toc]    [Back]

      
      
     mkfs_xfs(1M), mklv(1M), mount(1M),	xlv_make(1M), lv(7M), xlv(7M).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
growfs IRIX expand a filesystem
Text::Tabs IRIX expand and unexpand tabs per the unix expand(1) and unexpand(1)
zcat HP-UX compress and expand data
uncompress HP-UX compress and expand data
compressdir HP-UX compress and expand data
gunzip OpenBSD compress and expand data
compress HP-UX compress and expand data
pcat HP-UX compress and expand files
uncompressd HP-UX compress and expand data
pack HP-UX compress and expand files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service