GFS2 in proxmox

aleksio

New Member
Sep 26, 2017
1
0
1
40
Hello.
I created 3-node cluster (Proxmox 5), mount iSCSI target to nodes and want create share GFS2.

Has anyone tried to do this and were the attempts successful?

I tried two variants:

1. Create GFS2 direct on block device (iSCSI target) with out CLVM.
This variant work.

Additionaly I installed this packages: apt-get install gfs2-utils dlm-controld

Some questions:
* Does GFS2 work fine without CLVM? In RedHat documentation I saw that it unsupported configuration.
* Do I need to somehow customize DLM configuration?

2. Create GFS2 on CLVM.

Additionaly I installed this packages: apt-get install gfs2-utils dlm-controld clvm
With installation of clvm was problem:

Code:
The following packages have unmet dependencies:
 clvm : Depends: lvm2 (= 2.02.168-2) but 2.02.168-pve3 is to be installed
E: Unable to correct problems, you have held broken packages.

I install clvm by hand. And change lock type in config file to 3.

This varian did not work. After I mount GFS2 cluster stopped working. I think was deadlock in LVM.

Some questions:
* How correct install CLVM?
* I know that Proxmox use internal LVM lock mechanism. When I install clvm, could there be a conflict?
 
Additionaly I installed this packages: apt-get install gfs2-utils dlm-controld clvm
With installation of clvm was problem:

Code:
The following packages have unmet dependencies:
 clvm : Depends: lvm2 (= 2.02.168-2) but 2.02.168-pve3 is to be installed
E: Unable to correct problems, you have held broken packages.

I install clvm by hand. And change lock type in config file to 3.

This varian did not work. After I mount GFS2 cluster stopped working. I think was deadlock in LVM.

Some questions:
* How correct install CLVM?
* I know that Proxmox use internal LVM lock mechanism. When I install clvm, could there be a conflict?

You have to install clvm 2.02.168-pve3 from pve respository.