On Thu, 3 Aug 2017 11:17:04 +0000 Daniel Sobe <daniel.s...@nxp.com> wrote:
> Providing lvm.conf for both Debian 8 and Debian 9 as suggested. I'm not aware > of any modifications to them. > > I am not sure if this is your problem, but I would suggest to tell lvm2 to ignore the raw devices and to scan only the drbd volumes. See https://docs.linbit.com/doc/users-guide-84/s-lvm-drbd-as-pv/ for example. On my hosts I have set global_filter instead: diff --git a/lvm/lvm.conf b/lvm/lvm.conf index 1b7ad9a..38137fe 100644 --- a/lvm/lvm.conf +++ b/lvm/lvm.conf @@ -124,6 +124,7 @@ devices { # above. Devices that fail the global_filter are not even opened by LVM. # global_filter = [] + global_filter = [ "a|/dev/drbd|", "r|.*|" ] # The results of the filtering are cached on disk to avoid # rescanning dud devices (which can take a very long time). @@ -139,7 +140,7 @@ devices { cache_file_prefix = "" # You can turn off writing this cache file by setting this to 0. - write_cache_state = 1 + write_cache_state = 0 # Advanced settings. Hope this helps. Regards Harri