I want to use a single partition shared between two physical servers of a proxmox cluster(two node cluster). In this scenario, do I need to use gfs2 for the shared partition? If so, how to configure GFS2 and lvm in a proxmox cluster? Please help.
Be aware of the problems with a cluster just consisting of two nodes, for quorum you need at least 3 (quorum) nodes. Without that, if one host goes down, you cannot do any reconfiguration of the cluster.two physical servers of a proxmox cluster(two node cluster)
The data has to be on both nodes, so you need a disk with the same amount of space on both of them.This is my requirement and as far as I know, GFS2 partitions are meant for this purpose. Correct me, if I am wrong.
GFS2 is for distributed shared storage, so that both nodes "have" the data on their disks and only its contents are replicated.
The data has to be on both nodes, so you need a disk with the same amount of space on both of them.
GFS2 is a cluster file system. It allows a cluster of computers to simultaneously use a block device that is shared between them (with FC, iSCSI, NBD, etc). GFS2 reads and writes to the block device like a local file system, but also uses a lock module to allow the computers coordinate their I/O so file system consistency is maintained.
gfs2 is still in development although the most current version is 3.41, released two years ago. I would be wary of using this in production as the devteam is limited in resources. see https://pagure.io/gfs2-utilsAll (except one) references on https://en.wikipedia.org/wiki/GFS2 are dated pre 2010. Are you sure it is a valid option?
And it still doesThere is at least one known deployment of gfs2 I remember from this forum- see https://forum.proxmox.com/threads/p...-lvm-lv-with-msa2040-sas-partial-howto.57536/
Op had an interesting approach and it was working for him.
Oh yes ... sh** ... I mixed gfs2 and glusterfs ...
there is no integration or support for GFS2 in Proxmox. As far as PVE is concerned it will see a mountpoint with "some" filesystem on it and the administrator told PVE that its safe to use.So like GFS2 which are the supported options? Could somebody clarify the same?