LVM on dmraid breakage

Phillip Susi psusi at cfl.rr.com
Thu Aug 2 21:50:51 UTC 2007


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.




More information about the Ataraid-list mailing list