After running the
gfs_grow
command, you can run a
df MountPoint
command on the file
system to check that the new space is now available in the file system.
Examples
In this example, the underlying logical volume for the file system file system on the
/mnt/gfs
directory is extended, and then the file system is expanded.
[root@tng3-1 ~]# lvextend -L35G /dev/gfsvg/gfslv
Extending logical volume gfslv to 35.00 GB
Logical volume gfslv successfully resized
[root@tng3-1 ~]# gfs_grow /mnt/gfs
FS: Mount Point: /mnt/gfs
FS: Device: /dev/mapper/gfsvg-gfslv
FS: Options: rw,hostdata=jid=0:id=196609:first=1
FS: Size: 5341168
DEV: Size: 9175040
Preparing to write new FS information...
Done.
Complete Usage
gfs_grow [Options] {MountPoint | Device} [MountPoint | Device]
MountPoint
Specifies the directory where the GFS file system is mounted.
Device
Specifies the device node of the file system.
Table 3.3, “GFS-specific Options Available While Expanding A File System”
describes the
GFS-specific options that can be used while expanding a GFS file system.
Option
Description
-h
Help. Displays a short usage message.
-q
Quiet. Turns down the verbosity level.
-T
Test. Do all calculations, but do not write any data to the disk and
do not expand the file system.
-V
Displays command version information.
-v
Turns up the verbosity of messages.
Table 3.3. GFS-specific Options Available While Expanding A File System
Chapter 3. Managing GFS
26
Содержание GLOBAL FILE SYSTEM 5.2
Страница 4: ...Global File System...
Страница 6: ...vi...