Penguin
Blame: resize2fs(8)
EditPageHistoryDiffInfoLikePages
Annotated edit history of resize2fs(8) version 3, including all changes. View license author blame.
Rev Author # Line
1 perry 1 RESIZE2FS
2 !!!RESIZE2FS
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 AUTHOR
8 COPYRIGHT
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 resize2fs - ext2 file system resizer
15 !!SYNOPSIS
16
17
18 __resize2fs__ [[ __-d__ ''debug-flags'' ] [[
19 __-f__ ] [[ __-F__ ] [[ __-p__ ] ''device'' [[
20 ''size'' ]
21 !!DESCRIPTION
22
23
24 The __resize2fs__ program will resize ext2 file systems.
25 It can be used to enlarge or shrink an ext2 file system
26 located on ''device'' so that it will have ''size''
27 blocks. If the ''size'' parameter is not specified, it
28 will default to the size of the partition. The ''size''
29 parameter may never be larger than the size of the
30 partition.
31
32
33 The __resize2fs__ program does not manipulate the size of
34 partitions. If you wish to enlarge a filesystem, you must
35 first make sure you can expand the size of the underlying
36 partition first. This can be done using fdisk(8) by
37 deleting the partition and recreating it with a larger size.
38 When recreating the partition, make sure you create it with
39 the same starting disk cylinder as before! Otherwise, the
40 resize operation will certainly not work, and you may lose
41 your entire filesystem.
42
43
44 If you wish to shrink the an ext2 partition, first use
45 __resize2fs__ to shrink the size of filesystem. Then you
46 may use fdisk(8) to shrink the size of the partition.
47 When shrinking the size of the partition, make sure you do
48 not make it smaller than the new size of the ext2
49 filesystem!
50 !!OPTIONS
51
52
53 ''-d debug-flags''
54
55
56 Turns on various resize2fs debugging features, if they have
57 been compiled into the binary. ''debug-flags'' should be
58 computed by adding the numbers of the desired features from
59 the following list:
60 1 - Print out all disk I/O
61 2 - Debug block relocations
62 8 - Debug inode relocations
63 16 - Debug moving the inode table
64
65
66 ''-p''
67
68
69 Prints out a percentage completion bars for each
70 __resize2fs__ operation, so that the user can keep track
71 of what the program is doing.
72
73
74 ''-f''
75
76
77 Forces resize2fs to proceed with the filesystem resize
78 operation, overriding some safety checks which resize2fs
79 normally enforces.
80
81
82 ''-F''
83
84
85 Flush the filesystem device's buffer caches before
86 beginning. Only really useful for doing __resize2fs__
87 time trials.
88 !!AUTHOR
89
90
91 __resize2fs__ was written by Theodore Ts'o
92 __
93 !!COPYRIGHT
94
95
2 perry 96 Resize2fs is Copyright 1998 by Theodore Ts'o and !PowerQuest,
1 perry 97 Inc. All rights reserved. As of April, 2000 __Resize2fs__
98 may be redistributed under the terms of the
99 GPL.
100 !!SEE ALSO
101
102
3 perry 103 fdisk(8), e2fsck(8),
104 mke2fs(8)
1 perry 105 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.