On Oct 27, 2010, at 3:02 PM, Iain Morris <iain.t.mor...@gmail.com> wrote:

> 
> 
> On Tue, Oct 26, 2010 at 6:48 AM, Ross Walker <rswwal...@gmail.com> wrote:
>  
> You need to exclude the LVs in the host VG from being scanned for sub-VGs. 
> It's actually easier to just list what SHOULD be scanned rather than what 
> shouldn't.
> 
> Look in /etc/lvm/lvm.conf
> 
> This worked, thanks.  A couple of people emailed me separately on this.  For 
> others' reference, I added the following filter to lvm.conf on dom0 and 
> disabled the default "get everything" filter.  If anyone sees any pitfalls 
> with this regex, I'm sure you'll let me know.
> 
> (assuming your physical disks are sas/sata)
> 
> filter = [ "a/^/dev/sd*/", "r/.*/" ]

For all HDs this should work:

filter = [ "a/^/dev/[hs]d*/", "r/.*/" ]

Run a 'vgscan -vv' to test.

-Ross

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

Reply via email to