Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

growfs(8) [freebsd man page]

GROWFS(8)						    BSD System Manager's Manual 						 GROWFS(8)

NAME
growfs -- expand an existing UFS file system SYNOPSIS
growfs [-Ny] [-s size] special | filesystem DESCRIPTION
The growfs utility makes it possible to expand an UFS file system. Before running growfs the partition or slice containing the file system must be extended using gpart(8). If you are using volumes you must enlarge them by using gvinum(8). The growfs utility extends the size of the file system on the specified special file. The following options are available: -N ``Test mode''. Causes the new file system parameters to be printed out without actually enlarging the file system. -y ``Expert mode''. Usually growfs will ask you if you took a backup of your data before and will do some tests whether special is cur- rently mounted or whether there are any active snapshots on the file system specified. This will be suppressed. So use this option with great care! -s size Determines the size of the file system after enlarging in sectors. Size is the number of 512 byte sectors unless suffixed with a b, k, m, g, or t which denotes byte, kilobyte, megabyte, gigabyte and terabyte respectively. 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). EXAMPLES
Expand root file system to fill up available space: growfs / Resize /dev/ada0p1 partition to 2GB and expand the file system: gpart resize -i 1 -s 2G ada0 growfs -s 2G /dev/ada0p1 SEE ALSO
dumpfs(8), ffsinfo(8), fsck(8), fsdb(8), gpart(8), newfs(8), tunefs(8) HISTORY
The growfs utility first appeared in FreeBSD 4.4. The ability to resize mounted file systems was added in FreeBSD 10.0. AUTHORS
Christoph Herrmann <chm@FreeBSD.org> Thomas-Henning von Kamptz <tomsoft@FreeBSD.org> The GROWFS team <growfs@Tomsoft.COM> Edward Tomasz Napierala <trasz@FreeBSD.org> CAVEATS
When expanding a file system mounted read-write, any writes to that file system will be temporarily suspended until the expansion is fin- ished. BUGS
Normally growfs writes cylinder group summary to disk and reads it again later for doing more updates. This read operation will provide unexpected data when using -N. Therefore, this part cannot really be simulated and will be skipped in test mode. BSD
November 20, 2014 BSD

Check Out this Related Man Page

FFSINFO(8)						    BSD System Manager's Manual 						FFSINFO(8)

NAME
ffsinfo -- dump all meta information of an existing ufs file system SYNOPSIS
ffsinfo [-g cylinder_group] [-i inode] [-l level] [-o outfile] special | file DESCRIPTION
The ffsinfo utility extends the dumpfs(8) utility. The output is appended to the file outfile. Also expect the output file to be rather large. Up to 2 percent of the size of the specified file system is not uncommon. The following options are available: -g cylinder_group This restricts the dump to information about this cylinder group only. Here 0 means the first cylinder group and -1 the last one. -i inode This restricts the dump to information about this particular inode only. Here the minimum acceptable inode is 2. If this option is omitted but a cylinder group is defined then only inodes within that cylinder group are dumped. -l level The level of detail which will be dumped. This value defaults to 255 and is the ``bitwise or'' of the following table: 0x001 initial superblock 0x002 superblock copies in each cylinder group 0x004 cylinder group summary in initial cylinder group 0x008 cylinder group information 0x010 inode allocation bitmap 0x020 fragment allocation bitmap 0x040 cluster maps and summary 0x100 inode information 0x200 indirect block dump -o outfile This sets the output filename where the dump is written to, and must be specified. If - is provided, output will be sent to stdout. EXAMPLES
ffsinfo -o /var/tmp/ffsinfo -l 1023 /dev/vinum/testvol will dump /dev/vinum/testvol to /var/tmp/ffsinfo with all available information. SEE ALSO
disklabel(8), dumpfs(8), fsck(8), growfs(8), newfs(8), tunefs(8), vinum(8) HISTORY
The ffsinfo utility first appeared in FreeBSD 4.4. AUTHORS
Christoph Herrmann <chm@FreeBSD.org> Thomas-Henning von Kamptz <tomsoft@FreeBSD.org> The GROWFS team <growfs@Tomsoft.COM> BUGS
Snapshots are handled like plain files. They should get their own level to provide for independent control of the amount of what gets dumped. It probably also makes sense to some extend to dump the snapshot as a file system. BSD
September 8, 2000 BSD
Man Page