Re: LVM on dmraid breakage

Alasdair G Kergon <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.devel,gmane.linux.ataraid
Organization Red Hat UK Ltd. Registered in England and Wales, number 03798903. Registered Office: Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE.
Message-ID <[email protected]>
On Wed, Aug 01, 2007 at 04:19:59PM -0400, Phillip Susi wrote:
> I am investigating a bug report involving the combination of lvm and 
> dmraid, and it seems to me that the problem is that lvm is detecting the 
> underlying partition on the primary disk and accessing it directly 
> rather than going through the raid device made by dmraid.  I think that 
> the problem is there is no facility for dmraid to "claim" the physical 
> disk so that lvm does not look at it, and also to have lvm scan the raid 
> device for physical volumes.

LVM tries hard to 'do the right thing' in cases like this.  If it's
getting it wrong in some particular case, we need to fix it.  I presume
it gives you a warning message about the duplicate UUID?

If this can be reproduced using the latest upstream source code release,
please supply relevant details (lvm.conf, -vvvv traces & dmsetup output)
- you can run 'lvm_dump.sh -a' (in the scripts dir) to capture this.
 
Alasdair
-- 
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.