On Fri, 11 Nov 2005, Nicolas Mailhot wrote:
> I'm performing various lvm/raid experiments on my system. As a result,
> I've trashed one of the two disks of a raid1 set. So now the raid is
> rebuilding, as soon as it finished I intend to retry experimenting
> (disconnect one drive in the raid set, experiment with the other, if big
> mistake replug the other one and sync with it).
>
> However mdmadm resync is dog slow (if gracefully backgrounded)
Just echo large numbers into both min and max resync speed proc entries:
/proc/sys/dev/raid/spped_limit_max and speed_limit_min
e.g. as root do:
echo 200000 > /proc/sys/dev/raid/speed_limit_max
echo 200000 > /proc/sys/dev/raid/speed_limit_min
And watch the speed fly up till it maxes out your hardware. (-:
The above will set both speeds to 200MiB/s which ought to be more than
your devices can do...
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]