1gfs2_grow(8) System Manager's Manual gfs2_grow(8)
2
3
4
6 gfs2_grow - Expand a GFS2 filesystem
7
8
10 gfs2_grow [OPTION]... <DEVICE|MOUNTPOINT>...
11
12
14 gfs2_grow is used to expand a GFS2 filesystem after the device upon
15 which the filesystem resides has also been expanded. By running
16 gfs2_grow on a GFS2 filesystem, you are requesting that any spare space
17 between the current end of the filesystem and the end of the device is
18 filled with a newly initialized GFS2 filesystem extension. When this
19 operation is complete, the resource group index for the filesystem is
20 updated so that all nodes in the cluster can use the extra storage
21 space that has been added.
22
23 You may only run gfs2_grow on a mounted filesystem; expansion of
24 unmounted filesystems is not supported. You only need to run gfs2_grow
25 on one node in the cluster. All the other nodes will see the expansion
26 has occurred and automatically start to use the newly available space.
27
28 You must be superuser to execute gfs2_grow. The gfs2_grow tool tries
29 to prevent you from corrupting your filesystem by checking as many of
30 the likely problems as it can. When expanding a filesystem, only the
31 last step of updating the resource index affects the currently mounted
32 filesystem and so failure part way through the expansion process should
33 leave your filesystem in its original unexpanded state.
34
35 You can run gfs2_grow with the -T flag to get a display of the current
36 state of a mounted GFS2 filesystem.
37
38 The gfs2_grow tool uses the resource group (RG) size that was origiā
39 nally calculated when mkfs.gfs2 was done. This allows tools like
40 fsck.gfs2 to better ensure the integrity of the file system. Since the
41 new free space often does not lie on even boundaries based on that RG
42 size, there may be some unused space on the device after gfs2_grow is
43 run.
44
46 -D Print out debugging information about the filesystem layout.
47
48 -h Prints out a short usage message and exits.
49
50 -q Be quiet. Don't print anything.
51
52 -T Test. Do all calculations, but do not write any data to the disk
53 and do not expand the filesystem. This is used to discover what
54 the tool would have done were it run without this flag.
55
56 -V Version. Print out version information, then exit.
57
58
60 There is no way to shrink a GFS2 filesystem.
61
62
64 mkfs.gfs2(8) gfs2_jadd(8)
65
66
67
68
69 gfs2_grow(8)