What about using dd to zero the partitoins first. Think that might help?
What can I do to make dd zero a drive quickly?
I will try this.
dd if=/dev/zero of=/dev/hda5 bs=4096
On Mon, 2005-06-27 at 13:31 -0700, Curtis Rempel wrote:
Quoting Roy Souther <[EMAIL PROTECTED]>: > Creating my own distribution for my own servers, based on Debian. When > it comes time to create the raid partions using mdadm I do so in the way > pointed out to me on all the web sites I have found that talk about it. > > # My install script does this > echo -en "y\r" | mdadm --create "/dev/md0" --level 1 --raid-devices=2 > "/dev/hda5" "/dev/hdc5 > watch "cat /proc/mdstat" > > The problem is that this is very very slow. A 40GB partition has be > going all morning (4 hours) so far and it is only up to about 80% done. > > If I use Mandrake to do an install with the same partitions the section > where the installer builds the RAID only takes about 30 minutes to do > the same job. > > Any ideas how I could make the mdadm create new blank RAID partitions > faster? Roy, You may want to check to see if there are differences between Debian and Mandrake in /proc/sys/dev/raid/speed_limit_max If so, wind it up a little tighter using: echo -n 500000 > /proc/sys/dev/raid/speed_limit_max Hope that helps, Curtis _______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying
|
signature.asc
Description: This is a digitally signed message part
_______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

