Red Hat ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM Manual page 34

Hide thumbs Also See for ENTERPRISE LINUX 5 - GLOBAL FILE SYSTEM:
Table of Contents

Advertisement

Chapter 3. Managing GFS
• Expand the underlying cluster volume with LVM. For information on administering LVM volumes,
see the LVM Administrator's Guide
The gfs_grow command provides a -T (test) option that allows you to see the results of executing
the command without actually expanding the file system. Using this command with the -v provides
additional information.
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"
specific options that can be used while expanding a GFS file system.
Option
-h
-q
-T
-V
-v
Table 3.3. GFS-specific Options Available While Expanding A File System
24
Description
Help. Displays a short usage message.
Quiet. Turns down the verbosity level.
Test. Do all calculations, but do not write any data to the disk and do
not expand the file system.
Displays command version information.
Turns up the verbosity of messages.
describes the GFS-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Global file system

Table of Contents