Configuring Atime Updates; Mount With Noatime - Red Hat GLOBAL FILE SYSTEM 5.0 Manual

Hide thumbs Also See for GLOBAL FILE SYSTEM 5.0:
Table of Contents

Advertisement

9. Configuring
Each file inode and directory inode has three time stamps associated with it:
— The last time the inode status was changed
ctime
— The last time the file (or directory) data was modified
mtime
— The last time the file (or directory) data was accessed
atime
If
updates are enabled as they are by default on GFS and other Linux file systems then
atime
every time a file is read, its inode needs to be updated.
Because few applications use the information provided by
significant amount of unnecessary write traffic and file-locking traffic. That traffic can degrade
performance; therefore, it may be preferable to turn off
Two methods of reducing the effects of
• Mount with
noatime
• Tune GFS
quantum
atime
9.1. Mount with
A standard Linux mount option,
which disables
atime
Usage
mount -t gfs BlockDevice MountPoint -o noatime
BlockDevice
Specifies the block device where the GFS file system resides.
MountPoint
Specifies the directory where the GFS file system should be mounted.
Example
In this example, the GFS file system resides on the
Updates
atime
atime
noatime
, can be specified when the file system is mounted,
noatime
updates on that file system.
Configuring
, those updates can require a
atime
updates.
atime
updating are available:
/dev/vg01/lvol0
Updates
atime
and is mounted on
35

Advertisement

Table of Contents
loading

Table of Contents