3.4. Displaying GFS Tunable Parameters

3.4. 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 3.5, “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

Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.