RESIZE2FS(8) | System Manager's Manual | RESIZE2FS(8) |
NAME
resize2fs - ext2/ext3/ext4 file system resizerSYNOPSIS
resize2fs [ -fFpPM ] [ -d debug-flags ] [ -S RAID-stride ] device [ size ]DESCRIPTION
The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel and the file system supports on-line resizing. (Modern Linux 2.6 kernels will support on-line resize for file systems mounted using ext3 and ext4; ext3 file systems will require the use of file systems with the resize_inode feature enabled.)OPTIONS
- -d debug-flags
-
Turns on various resize2fs debugging features, if they have been compiled into the binary. debug-flags should be computed by adding the numbers of the desired features from the following list:
- -f
- Forces resize2fs to proceed with the filesystem resize operation, overriding some safety checks which resize2fs normally enforces.
- -F
- Flush the filesystem device's buffer caches before beginning. Only really useful for doing resize2fs time trials.
- -M
- Shrink the filesystem to the minimum size.
- -p
- Prints out a percentage completion bars for each resize2fs operation during an offline resize, so that the user can keep track of what the program is doing.
- -P
- Print the minimum size of the filesystem and exit.
- -S RAID-stride
- The resize2fs program will heuristically determine the RAID stride that was specified when the filesystem was created. This option allows the user to explicitly specify a RAID stride setting to be used by resize2fs instead.
KNOWN BUGS
The minimum size of the filesystem as estimated by resize2fs may be incorrect, especially for filesystems with 1k and 2k blocksizes.AUTHOR
resize2fs was written by Theodore Ts'o <tytso@mit.edu>.COPYRIGHT
Resize2fs is Copyright 1998 by Theodore Ts'o and PowerQuest, Inc. All rights reserved. As of April, 2000 Resize2fs may be redistributed under the terms of the GPL.SEE ALSO
fdisk(8), e2fsck(8), mke2fs(8), lvm(8), lvextend(8)May 2015 | E2fsprogs version 1.42.13 |