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

Re: dmraid comments and a warning



On Wed, 2006-02-08 at 11:07 -0500, Peter Jones wrote:

> It'd be better to not have the physical disk partition devices even
> exist when we're trying to bring up a system with a dmraid.  I've got a
> patch to allow that, and I'm looking on getting it into the kernel (ours
> and upstream's) now.
> 
> The patch adds a block device ioctl BLKRMPARTS, which simply turns all
> of the subdevices on a block device off.  You can turn them back on with
> BLKRRPART, which is exposed to sysadmins via "/sbin/blockdev
> --rereadpt".  I'll look at adding --rmparts to that utility as well.

.. actually the patch may not be necessary, there's a way to remove
individual partitions elsewhere in the kernel, and that may be usable.
The functionality should probably still be added to /sbin/blockdev .

-- 
  Peter


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