Here is how to stop the new udev from accessing your striped dmraid drives

Luca Berra bluca at comedia.it
Wed Feb 8 16:11:56 UTC 2006


On Wed, Feb 08, 2006 at 10:33:25AM -0500, Peter Jones wrote:
>On Wed, 2006-02-08 at 08:11 +0100, Luca Berra wrote:
>> On Tue, Feb 07, 2006 at 05:52:02PM -0500, Peter Jones wrote:
>> >It'd still be really nice to simply "turn off" physical partitions when
>> >we're using the full device in a device-map.
>> 
>> wait, i tought device mapper used bd_claim on the component devices,
>> what am i missing?
>
>You're missing the failure case early in the boot sequence.  If
>something goes wrong in making the dm device, it's hard to be *sure*
>nothing like "fsck -a" later goes and operates on one of the partitions.
I see.

>If you could completely turn them off before creating the raid, it'd be
>almost totally guaranteed that they won't do this.  Just rm-ing the
remove partition detection code from the kernel and use kpartx in an
initramfs after activating dmraid?

L.

-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \




More information about the Ataraid-list mailing list