[DRBD-user] Having Trouble with LVM on DRBD

Eric Robinson eric.robinson at psmnv.com
Fri Feb 26 23:44:29 CET 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

In the example you provided…

filter = [ "a|/dev/vd.*|", "a|/dev/drbd*|", "r|.*|" ]
write_cache_state = 0
volume_list = [ "rootvg", "vg1", "vg2" ]

…it looks like you are accepting anything  that begins with '/dev/vd.' or '/dev/drbd' and rejecting everything else. Sorry for my dumb question, but if the goal is to filter out certain devices so LVM won't grab them before drbd does, wouldn't you want to reject them instead of accepting them?

Here is what I have written on my system...

    filter = [ "a|/dev/sda*|", "a|/dev/drbd*|", "r|.*|" ]
    write_cache_state = 0
    volume_list = [ "vg00", "vg_drbd0", "vg_drbd1" ]

I have not rebooted yet because I am not sure this is correct. 
Eric Robinson

More information about the drbd-user mailing list