Re: LVM on dmraid breakage

Phillip Susi <[email protected]>
Newsgroups gmane.linux.ataraid,gmane.linux.kernel.device-mapper.devel,gmane.linux.lvm.general
Message-ID <[email protected]>
Bryn M. Reeves wrote:
> But device-mapper already opens devices exclusively when a target claims
> them.
> 
> The problem here sounds more like it's down to ordering; LVM2 is being
> given a chance to scan the devices & build LVs / claim devices before
> dmraid gets a look at them.


I think the "exclusive" open only prevents you from mounting a 
filesystem on the device.  It does not stop you from opening the device 
and accessing it from user mode, nor does it apparently prevent dm from 
(re)using the device.

The problem is that lvm is looking at the physical disks at all.  It 
needs to scan the dmraid device, not the underlying disks.
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.