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

Heinz Mauelshagen <[email protected]>
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
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 -- [email protected]
>        Communication Media & Services S.r.l.
> /"\
> \ /     ASCII RIBBON CAMPAIGN
>  X        AGAINST HTML MAIL
> / \
> 
> _______________________________________________
> Ataraid-list mailing list
> [email protected]
> 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
[email protected]                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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.