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

Peter Jones pjones at redhat.com
Wed Feb 8 15:33:25 UTC 2006


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.
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
device node isn't really sufficient for this; plenty of things know how
to mknod, or for example do mknod of everything they find
in /sys/block .  Very few programs do BLKRRPART.

-- 
  Peter




More information about the Ataraid-list mailing list