2 .\" Copyright 1997 by Theodore Ts'o. All Rights Reserved.
4 .\" .TH RESIZE2FS 8 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
5 .TH RESIZE2FS 8 "September 1998" "Resize2fs version 1.03"
7 resize2fs \- ext2 file system resizer
30 program will resize ext2 file systems. It can be used to enlarge or
31 shrink an ext2 file system located on
38 parameter is not specified, it will default to the size of the partition.
41 parameter may never be larger than the size of the partition.
45 program does not manipulate the size of partitions. If you wish to enlarge
46 a filesystem, you must first make sure you can expand the size of the
47 underlying partition first. This can be done using
49 by deleting the partition and recreating it with a larger size. When
50 recreating the partition, make sure you create it with the same starting
51 disk cylinder as before! Otherwise, the resize operation will
52 certainly not work, and you may lose your entire filesystem.
54 If you wish to shrink the an ext2 partition, first use
56 to shrink the size of filesystem. Then you may use
58 to shrink the size of the partition. When shrinking the size of
59 the partition, make sure you do not make it smaller than the new size
60 of the ext2 filesystem!
64 Turns on various resize2fs debugging features, if they have been compiled
67 should be computed by adding the numbers of the desired features
68 from the following list:
70 \ 1\ \-\ Print out all disk I/O
72 \ 2\ \-\ Debug block relocations
74 \ 8\ \-\ Debug inode relocations
76 \ 16\ \-\ Debug moving the inode table
79 Prints out a percentage completion bars for each
81 operation, so that the user can keep track of what
85 Forces resize2fs to proceed with the filesystem resize operation, overriding
86 some safety checks which resize2fs normally enforces.
89 Flush the filesystem device's buffer caches before beginning. Only
90 really useful for doing
95 was written by Theodore Ts'o <tytso@mit.edu>.
97 Resize2fs is Copyright 1998 by Theodore Ts'o and PowerQuest, Inc. All
100 may not be redistributed without the prior
101 consent of PowerQuest. This version of
103 is available to licensed
104 users of Partition Magic(tm).