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 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
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
35 parameter specifies the requested new size of the filesystem.
36 If no units are specified, the units of the
38 parameter shall be the filesystem blocksize of the filesystem.
41 parameter may be suffixed by one of the following the units
42 designators: 's', 'K', 'M', or 'G',
43 for 512 byte sectors, kilobytes, megabytes, or gigabytes, respectively.
46 of the filesystem may never be larger than the size of the partition.
49 parameter is not specified, it will default to the size of the partition.
53 program does not manipulate the size of partitions. If you wish to enlarge
54 a filesystem, you must first make sure you can expand the size of the
55 underlying partition first. This can be done using
57 by deleting the partition and recreating it with a larger size. When
58 recreating the partition, make sure you create it with the same starting
59 disk cylinder as before! Otherwise, the resize operation will
60 certainly not work, and you may lose your entire filesystem.
62 If you wish to shrink an ext2 partition, first use
64 to shrink the size of filesystem. Then you may use
66 to shrink the size of the partition. When shrinking the size of
67 the partition, make sure you do not make it smaller than the new size
68 of the ext2 filesystem!
72 Turns on various resize2fs debugging features, if they have been compiled
75 should be computed by adding the numbers of the desired features
76 from the following list:
78 \ 1\ \-\ Print out all disk I/O
80 \ 2\ \-\ Debug block relocations
82 \ 8\ \-\ Debug inode relocations
84 \ 16\ \-\ Debug moving the inode table
87 Prints out a percentage completion bars for each
89 operation, so that the user can keep track of what
93 Forces resize2fs to proceed with the filesystem resize operation, overriding
94 some safety checks which resize2fs normally enforces.
97 Flush the filesystem device's buffer caches before beginning. Only
98 really useful for doing
103 was written by Theodore Ts'o <tytso@mit.edu>.
105 Resize2fs is Copyright 1998 by Theodore Ts'o and PowerQuest, Inc. All
109 may be redistributed under the terms of the GPL.