In the GFS Shared File System, it is necessary to code an entry that is to be mounted on /etc/fstab of all the nodes that share a file system. The entry to the same file system should be corresponding by all nodes that share the file system.
Entry of GFS Shared File System sets it to /etc/fstab explains as follows.
device to mount field
Specify the path name of a block special file to the representative partition of the GFS Shared File System which does the mount.
mount point field
Specify a directory becoming the mount point at the time of the abbreviation.
Please specify the directory which there is in all nodes using file system in common.
file system type field
As a type of the file system, please specify sfcfs.
mount options field
Please specify a mount option used in a mount.
Please specify noauto by all means.
The following table shows the detail of the mount options.
Option | Description |
---|---|
atime | noatime | relatime | strictatime | Sets the method to update the last access time of a file. |
atrc | noatrc | Specifies whether to mount (atrc) or not to mount (noatrc) at the node startup. |
async | Mounts in the manner of processing any I/O for the file system asynchronously. |
defaults | Synonymous with rw,suid,dev,exec,and async. |
dev | nodev | Mounts making character special file and block special files available(dev) or unavailable (nodev). |
exec | noexec | Mounts giving permission(exec) or no permission(noexec) to execute binary files on the file system. |
rw | ro | Mounts the file system as read/write enabled(rw) or read only(ro). |
suid | nosuid | Disallows a setuid execution. By default, allows setuid execution. |
dump frequency field
0 Please specify.
fsck pass field
0 Please specify.
Information
By writing the entries concerning the created file system in /etc/fstab on the node that does not share the file system, you can prevent the file system from being used by mistake as other file systems.
Examples of /etc/fstab entries are shown below:
Parameter | Value |
---|---|
device to mount | /dev/sfdsk/gfs01/dsk/volume01 |
mount point | /mnt/fs1 |
file system type | sfcfs |
mount options | rw,noauto |
dump frequency | 0 |
fsck pass | 0 |
Parameter | Value |
---|---|
device to mount | /dev/sfdsk/gfs01/dsk/volume01 |
mount point | /mnt/fs1 |
file system type | sfcfs |
mount options | rw,noauto,noatrc |
dump frequency | 0 |
fsck pass | 0 |