[ClusterLabs] DRBD / LVM Global Filter Question

Eric Robinson eric.robinson at psmnv.com
Fri Apr 3 07:42:52 EDT 2020


I've read the relevant sections of the DRBD User Guide, visited various web sites, and spoken to people in the lists, but I'm still looking for a simple rule of thumb.

Basically, here is what I've come to understand:

  1.  If DRBD only lives *above* an LVM volume, then the default LVM filtering settings are fine; no changes are required to lvm.conf. The LVs will remain active on all DRBD nodes, and an LVM resource agent is not required.

  1.  If DRBD lives *below* or *between* LVM volumes, then:

     *   set global_filter to reject the DRBD backing devices
     *   set write_cache_state = 0
     *   set use_lvmetad = 0
     *   set volume_list to include block devices required to boot
     *   remove /etc/lvm/cache/.cache.
     *   run lvscan
     *   regenerate initrd
     *   reboot
     *   Use a cluster resource agent to activate/de-activate LVs as required by cluster operation

Please feel free to correct any mistakes.


[cid:image001.png at 01D60983.14DF69C0]

Disclaimer : This email and any files transmitted with it are confidential and intended solely for intended recipients. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physician Select Management. Warning: Although Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20200403/1e85e9c5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 33383 bytes
Desc: image001.png
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20200403/1e85e9c5/attachment-0001.png>

More information about the Users mailing list