(original article)

Re: Converting RAID5 to RAID6 and other shape changing in md/raid

01 December 2010, 20:20 UTC

Just started converting my 7 disk raid5 to an 8 disk raid6 array, but it's going to take forever. Maybe I shouldn't have used a nfs backup file?

europa:/sys/block/md0/md# cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid6 sdd2[7] sdc2[5] sdb2[6] sde2[0] sda2[4] sdh2[3] sdg2[2] sdf2[1] 8787875712 blocks super 0.91 level 6, 64k chunk, algorithm 18 [8/7] [uuuuuuu_] [>....................] reshape = 2.1% (31239936/1464645952) finish=30918.0min speed=772K/sec europa:/sys/block/md0/md# cat sync_speed_max 200000 (system) europa:/sys/block/md0/md# cat sync_speed_min 200000 (local) europa:/sys/block/md0/md# mdadm --version mdadm - v3.1.4 - 31st August 2010 europa:/sys/block/md0/md# uname -a Linux europa 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Linux europa:/sys/block/md0/md# uptime 08:57:48 up 51 days, 11:37, 7 users, load average: 1.30, 1.31, 1.27

This is not exactly a powerhouse machine (e1400 celeron), but during monthly array checks, it's usually in the 14-15 MB/s range. Guessing since I was growing the array size at the same time as going from raid5 to raid6, that I didn't need the backup-file? Anyway for me to speed this up? The nfs box is connected @ 100mbit.