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

_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to