2 .\" Copyright 1997 by Theodore Ts'o. All Rights Reserved.
4 .TH RESIZE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
6 resize2fs \- ext2 file system resizer
29 program will resize ext2 file systems. It can be used to enlarge or
30 shrink an ext2 file system located on
37 parameter is not specified, it will default to the size of the partition.
40 parameter may never be larger than the size of the partition.
44 program does not manipulate the size of partitions. If you wish to enlarge
45 a filesystem, you must first make sure you can expand the size of the
46 underlying partition first. This can be done using
48 by deleting the partition and recreating it with a larger size. When
49 recreating the partition, make sure you create it with the same starting
50 disk cylinder as before! Otherwise, the resize operation will
51 certainly not work, and you may lose your entire filesystem.
53 If you wish to shrink the an ext2 partition, first use
55 to shrink the size of filesystem. Then you may use
57 to shrink the size of the partition. When shrinking the size of
58 the partition, make sure you do not make it smaller than the new size
59 of the ext2 filesystem!
63 Turns on various resize2fs debugging features, if they have been compiled
66 should be computed by adding the numbers of the desired features
67 from the following list:
69 \ 1\ \-\ Print out all disk I/O
71 \ 2\ \-\ Debug block relocations
73 \ 8\ \-\ Debug inode relocations
75 \ 16\ \-\ Debug moving the inode table
78 Prints out a percentage completion bars for each
80 operation, so that the user can keep track of what
84 Forces resize2fs to proceed with the filesystem resize operation, overriding
85 some safety checks which resize2fs normally enforces.
88 Flush the filesystem device's buffer caches before beginning. Only
89 really useful for doing
94 was written by Theodore Ts'o <tytso@mit.edu>.