Chapter 3. Managing GFS
SB multihost format = 1401
Block size = 4096
Journals = 8
Resource Groups = 76
Mounted lock proto = "lock_dlm"
Mounted lock table = "tng3-cluster:mydata1"
Mounted host data = "jid=0:id=196609:first=1"
Journal number = 0
Lock module flags = 0
Local flocks = FALSE
Local caching = FALSE
Oopses OK = FALSE
Type
------------------------------------------------------------------------
inodes
metadata
data
After running the
gfs_jadd
again to check that the new journals have been added to the file system.
Examples
In this example, one journal is added to the file system that is mounted at the
directory. The underlying logical volume for this filesystem is extended before the journal can be
added.
[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_jadd -j1 /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: 5242877
DEV: Size: 9175040
Preparing to write new FS information...
Done.
In this example, two journals are added to the file system on the
[root@tng3-1 ~]# fs_jadd -j2 /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: 5275632
DEV: Size: 9175040
Preparing to write new FS information...
Done.
28
Total
Used
33
33
38
2
4980077
178
command, you can run the
Free
0
36
4979899
gfs_tool df MountPoint
directory.
/mnt/gfs
use%
100%
5%
0%
command
/mnt/gfs
Need help?
Do you have a question about the GLOBAL FILE SYSTEM 5.2 and is the answer not in the manual?
Questions and answers