Re: LVM filters not working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 03/26/2013 01:33 AM, Dennis Jacobfeuerborn wrote:
> Hi,
> I'm trying to set up a redundant DRBD system but I'm running into
> trouble when I try to define a volume group. The physical backing device
> for the drbd resource /dev/drbd0 is /dev/vdb1. The problem is that when
> I do a "pvs" on the command line the physical volume is shown as
> /dev/vdb1. So I tried the following filter in /etc/lvm/lvm.conf:
>
> filter = [ "r|/dev/vdb.*|", "a/.*/"
>
> But this doesn't seem to haven any effect at all. The system still sees
> the volumen group on /dev/vdb1. Also various how-to's on the net say I
> should pay attention to deleting /etc/lvm/cache/.cache which makes sense
> but this file is never created.
>
> Any ideas what might be going on here? I'm trying all of this on CentOS 6.
>
> Regards,
>     Dennis
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

Hi Dennis,

I'm guessing what you need is: filter = [ "r|/dev/vd[a-z].*|" ], then 
and lvmdiskscan.

//Bazy
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux