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.
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
[email protected]
https://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to