[Linux-cluster] gfs rg and journal size

Bob Peterson rpeterso at redhat.com
Fri May 7 13:57:51 UTC 2010


----- "Andrew A. Neuschwander" <andrew at ntsg.umt.edu> wrote:
| Is there a ways to determine to rg size and the journal size and count
| of a mounted gfs filesystems?
| 
| Thanks,
| -Andrew

In gfs2, there's an easy way:

[root at roth-01 ~]# gfs2_tool journals /mnt/gfs2
journal2 - 128MB
journal1 - 128MB
journal0 - 128MB
3 journal(s) found.

With gfs1, gfs_tool df tells you how many journals but it doesn't tell
you their size, and there's no "journals" option in gfs_tool.
You could use gfs_tool jindex, but the output is cryptic; it prints
out the number of 64K segments, so 2048 corresponds to 128MB,
assuming a default 4K block size.

Regards,

Bob Peterson
Red Hat File Systems




More information about the Linux-cluster mailing list