In the GFS Shared File System, it is necessary to code an entry that is to be mounted on /etc/vfstab 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/vfstab 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.
device to fsck
Specify the path name of a character special file to the representative partition of the GFS Shared File System which is used by fsck(1M).
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.
FS type field
As a type of the file system, please specify sfcfs.
fsck pass field
Please specify "-".
mount at boot field
Please specify "no".
mount options field
Please specify a mount option used in a mount.
Please specify noauto on the node where the file system is not shared.
The following table shows the detail of the mount options.
Option | Description |
---|---|
closesync | All non-updated data in the relevant file is reflected when the file is finally closed. |
noatime | Does not update the file access time. |
nosuid | Disallows a setuid execution. By default, allows setuid execution. |
rw | ro | Mounts in read/write mode (rw) or read only mode (ro). By default, rw is used. |
noauto | Does not mount when a node is started. By default, mounting is performed when a node is started. |
Information
By writing the entries concerning the created file system in /etc/vfstab 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/vfstab entries are shown below:
Parameter | Value |
---|---|
device to mount | /dev/sfdsk/gfs01/dsk/volume01 |
device to fsck | /dev/sfdsk/gfs01/rdsk/volume01 |
mount point | /mnt/fs1 |
FS type | sfcfs |
fsck pass | - |
mount at boot | no |
mount options | rw |
Parameter | Value |
---|---|
device to mount | /dev/sfdsk/gfs01/dsk/volume01 |
device to fsck | /dev/sfdsk/gfs01/rdsk/volume01 |
mount point | /mnt/fs1 |
FS type | sfcfs |
fsck pass | - |
mount at boot | no |
mount options | rw,noauto |