Cluster & gfs2

Latest response

Hi all,

(my question is related more to design of the cluster: which component if the cluster is required and which not).

I am going to use gfs2 on two node cluster. The switch over will be carried out at the application level not the cluster
(so the main component we need is the clustered filesystem on shared LUN).
Is clustered LVM needed to do so ? Or can I put gfs2 directly on shared LUN and just use it ?

Responses

clustered lvm is required and mandatory for GFS purpose from support point ofview. Please check below solution for details :
https://access.redhat.com/solutions/129133

As mentioned in above solution, you can have GFS2 without clvm but it will not be supported.

Regards
Ajit Mote

Hi Ajit,

thanks for your answer - it is clear now :-)
One more question: our cluster is two-node cluster.
When I reboot one of the nodes it hangs on fsck and I get the following message:

...
fsck.gfs2[2020]: started: -a /dev/vgclu/lvclu
Initializing fsck
Unable to open device: /dev/vgclu/lvclu
fsck.gfs2[2020]: exit: 16

But when I hash it out and reboot again and then after reboot mount it manually it works.
Why is the error ?

Found the answer in GFS2 manual: the final two columns in /etc/fstab should have "0".

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.