Re: [linux-lvm] Again: duplicate PVs - filter rules

2017-01-14 Thread knebb
Thanks! To be honest, I was not aware of global filters. And not aware of using lvmetad, but it is enabled by default (CentOS7). So I added the global_filter and now everything is fine: global_filter = [ "r|/dev/sdb|","r|/dev/sdc|" ] Greetings Christian

Re: [linux-lvm] Again: duplicate PVs - filter rules

2017-01-14 Thread Zdenek Kabelac
Dne 14.1.2017 v 06:41 kn...@knebb.de napsal(a): Hi all, I thought my filter rules where fine now. But they are not. I have in /etc/lvm/lvm.conf: filter = [ "r|/dev/sdb|","r|/dev/sdc|" ] I scan my PVs: [root@backuppc ~]# pvscan --cache WARNING: PV AvK0Vn-vAdJ-K4nf-0N1x-u1fR-dlWG-dJezdg on

[linux-lvm] Again: duplicate PVs - filter rules

2017-01-13 Thread knebb
Hi all, I thought my filter rules where fine now. But they are not. I have in /etc/lvm/lvm.conf: filter = [ "r|/dev/sdb|","r|/dev/sdc|" ] I scan my PVs: [root@backuppc ~]# pvscan --cache WARNING: PV AvK0Vn-vAdJ-K4nf-0N1x-u1fR-dlWG-dJezdg on /dev/sdc was already found on /dev/drbd1.