Ingo Molnar wrote:

> On Mon, 26 Apr 1999, Benno Senoner wrote:
>
> > > no need to do this in the kernel (or even in raidtools). I use such
> > > scripts to 'mass-create' partitioned disks:
> >
> > but it's not unsafe to overwrite the partition-table of disks which are
> > actually part of a soft-raid array and in use ?
>
> it's unsafe, and thus the kernel does not allow it at all. Why dont you
> create the partitions before hot-adding the disk?
>
> -- mingo

Ok, I misunderstanded your script:

your script acts on only 1 disk, I thought it partitions your whole array.

I will try to do some raid init-tool which automates the task of creating
the
partitions on the array, and when you hotadd a new disk,
it partitions a blank disk before the actual hotadd.


PS: does someone know, why the linux disk driver blocks for so much time
during heavy disk writes.

This is very bad for playing low-latency audio. (50-100ms)

all processes block up to 2-3 secs during syncs of the buffer cache.

Is there something planned for future to avoid this ?


regards,
Benno.

Reply via email to