GFS2 issues

Latest response

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/global_file_system_2/ch-clustsetup-gfs2

Chapter 5. Configuring a GFS2 File System in a Cluster

mkfs.gfs2 -j2 -p lock_dlm -t rhel7-demo:gfs2-demo /dev/cluster_vg/cluster_lv

pcs resource create clusterfs Filesystem device="/dev/cluster_vg/cluster_lv" directory="/var/mountpoint" fstype="gfs2" "options=noatime" op monitor interval=10s on-fail=fence clone interleave=true

mount |grep /mnt/gfs2-demo

/dev/mapper/cluster_vg-cluster_lv on /mnt/gfs2-demo type gfs2 (rw,noatime,seclabel)

LockTable name is rhel7-demo:gfs2-demo. So, FSname is gfs2-demo and does not to have anything to do with mount point.
mount point is defined as /var/mountpoint, I know it's quite descriptive but why /mnt/gfs2-demo in the output of the third command instead of /var/mountpoint. This is confusing for reader.
Also in second command there is a typo error: "options=noatime" instead of options="noatime". Here is set only noatime attribute, but in output we see: rw,noatime,seclabel. Also confusing for reader.

b.r.
Mladen

Responses