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

Heinz Mauelshagen mauelshagen at redhat.com
Mon Feb 20 15:03:29 UTC 2006


On Wed, Feb 08, 2006 at 05:11:56PM +0100, Luca Berra wrote:
> 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?

Once we have that in distros, I'll be happily removing
the DOS partition support in dmaraid.

Heinz

> 
> L.
> 
> -- 
> Luca Berra -- bluca at comedia.it
>        Communication Media & Services S.r.l.
> /"\
> \ /     ASCII RIBBON CAMPAIGN
>  X        AGAINST HTML MAIL
> / \
> 
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list at redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Cluster and Storage Development                   56242 Marienrachdorf
                                                  Germany
Mauelshagen at RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the Ataraid-list mailing list