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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________

Ataraid-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ataraid-list

[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux