Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

4.5. Displaying GFS Tunable Parameters

There are a variety of parameters associated with a GFS file system that you can modify with the gfs_tool settune command. Some of these parameters are used to administer GFS quotas: quota_quantum, quota_enforce, quota_account, and atime_quantum. These parameters are described in Section 4.6, “GFS Quota Management”, along with examples of how to modify them.
Parameters that you set with the gfs_tool settune command must be set on each node each time the file system is mounted. These parameters are not persistent across mounts.

Note

The majority of the tunable parameters are internal parameters. They are intended for development purposes only and should not be changed.
The gfs_tool gettune command displays a listing of the current values of the GFS tunable parameters.

Usage

Display Tunable Parameters
gfs_tool gettune MountPoint
MountPoint
Specifies the directory where the GFS file system is mounted.

Examples

In this example, all GFS tunable parameters for the file system on the mount point /mnt/gfs are displayed.
[root@tng3-1]# gfs_tool gettune /mnt/gfs
ilimit1 = 100
ilimit1_tries = 3
ilimit1_min = 1
ilimit2 = 500
ilimit2_tries = 10
ilimit2_min = 3
demote_secs = 300
incore_log_blocks = 1024
jindex_refresh_secs = 60
depend_secs = 60
scand_secs = 5
recoverd_secs = 60
logd_secs = 1
quotad_secs = 5
inoded_secs = 15
glock_purge = 0
quota_simul_sync = 64
quota_warn_period = 10
atime_quantum = 3600
quota_quantum = 60
quota_scale = 1.0000   (1, 1)
quota_enforce = 1
quota_account = 1
new_files_jdata = 0
new_files_directio = 0
max_atomic_write = 4194304
max_readahead = 262144
lockdump_size = 131072
stall_secs = 600
complain_secs = 10
reclaim_limit = 5000
entries_per_readdir = 32
prefetch_secs = 10
statfs_slots = 64
max_mhc = 10000
greedy_default = 100
greedy_quantum = 25
greedy_max = 250
rgrp_try_threshold = 100
statfs_fast = 0