Check to see that DMA has been enabled on the hardrive. running hdparm /dev/hda should return something like: $ hdparm /dev/hda
/dev/hda: multcount = 0 (off) IO_support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) geometry = 29651/16/63, sectors = 15303075840, start = 0 Debian has been very conservative on hard drive settings. On relatively modern hardware, hdparm -d1 -c3 /dev/hda should be safe On most of my drives I use hdparm -c3 -u1 -d1 -m16 -S36 /dev/hdx On Mon, 2005-06-27 at 13:56 -0600, Roy Souther wrote: > 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 Souther > www.SiliconTao.com > Let Open Source help your business move beyond. > > For security this message is digitally authenticated by GnuPG. > > > > > _______________________________________________ > 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

