(original article)

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

10 June 2010, 16:08 UTC

Excellent utility. I am using it now for my home network share. Here is the problem I am have (or maybe not having). Last night, I added 4 drives to my 4 drive RAID5 array. At the same time, I changed to RAID6. The command I used to do this was (if I remember right):

mdadm --grow /dev/md0 --level=6 --raid-devices=8 --backup-file=/home/tbmorris/RAID.bak

When I did it, I do not remember seeing any errors. I then ran:

mdadm --detail /dev/md0

What I saw did not make me happy. Drives /dev/sd[bcdeg] were active sync, while /dev/sdf said spare rebuiling and /dev/sd[hi] said fauly spare rebuilding. Now while I was cursing that I just dumped 1.2Tb of movies and files, my wife was still sitting on the couch watching those very same movies that I thought I had destroyed. This morning when I checked up on the array, it said the same. My question is.... Is this normal? Is this merely what it looks like when you add 4 drives and change to RAID6 at the same time?

Thanks,

Terry




[æ]