(original article)Comment
29 October 2010, 07:45 UTC
I'm having issues trying to convert a raid 5 to a raid 6 array. I've got a hot spare in the raid 5 config and the array is clean.
Each drive is 1T. I haven't been able to find anything specific to this in my searching. Any help would be appreciated. Thanks.
#mdadm --grow /dev/md2 --level=6 --raid-disks=6 --backup-file=/home/md.backup
mdadm: /dev/md2: could not set level to raid6
#mdadm --version
mdadm - v3.1.4 - 31st August 2010
#cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md2 : active raid5 sda1[3] sdb1[4] sdc1[5](S) sdd1[2] sde1[1] sdf1[0]
3907039744 blocks level 5, 128k chunk, algorithm 2 [5/5] [uuuuu]
#mdadm --detail /dev/md2
/dev/md2:
Version : 0.90
Creation Time : Sat Aug 7 23:22:28 2010
Raid Level : raid5
Array Size : 3907039744 (3726.04 GiB 4000.81 GB)
Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
Raid Devices : 5
Total Devices : 6
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Thu Oct 28 16:00:16 2010
State : clean
Active Devices : 5
Working Devices : 6
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 128K
UUID : ff4ec8ee:95d2230f:84fc2b17:ec59dd3f
Events : 0.641774
Number Major Minor RaidDevice State
0 8 81 0 active sync /dev/sdf1
1 8 65 1 active sync /dev/sde1
2 8 49 2 active sync /dev/sdd1
3 8 1 3 active sync /dev/sda1
4 8 17 4 active sync /dev/sdb1
5 8 33 - spare /dev/sdc1