[DRBD-user] LVM global_filter question

Eric Robinson eric.robinson at psmnv.com
Sun Oct 27 01:42:42 CEST 2019


I have a server with the following storage configuration, and I need to know how to write my LVM global_filter.



Here’s the storage stack for each block device. “vg” means volume group, “lv” means logical volume.



sda1, sdb1 -> md0 [raid1] -> /boot [ext4]

sda2, sdb2 -> md1 [raid1] -> /home [ext4]

sda3, sdb3 -> md2 [raid1] -> vg_root/lv_root -> / [ext4]

sda4, sdb4 -> md3 [raid1] -> vg_future/lv_future (currently unused)

nvme0n1p1, nvme1n1p1 -> md4 [raid1] -> vg_under_drbd0/lv_under_drbd0 -> drbd0 -> /data1 [ext4]

nvme2n1p1, nvme3n1p1 -> md5 [raid1] -> vg_under_drbd1/lv_under_drbd1 -> drbd1 -> /data2 [ext4]



If I understand correctly, it should be…



global_filter = [ "a|^/dev/md.*$|", "r/.*/" ]



Is that correct?



--Eric







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.
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.linbit.com/pipermail/drbd-user/attachments/20191026/459d0e4a/attachment.htm>


More information about the drbd-user mailing list