Re: interesting kvm lvm collision issue

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



On Oct 27, 2010, at 3:02 PM, Iain Morris <iain.t.morris@xxxxxxxxx> wrote:



On Tue, Oct 26, 2010 at 6:48 AM, Ross Walker <rswwalker@xxxxxxxxx> 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@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