(original article)

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

03 February 2011, 04:52 UTC


I am trying to convert from raid 5 to raid 6 and I am getting this error:

mdadm: Need to backup 1280K of critical section.. mdadm: Cannot set device size/shape for /dev/md0: Invalid argument

Some info that may be useful:

[root@borg ~]# uname -a Linux borg.loc #1 SMP Thu Jun 18 12:24:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux [root@borg ~]# [root@borg ~]# [root@borg ~]# mdadm -V mdadm - v2.6.7.1 - 15th October 2008

From what I've read, My kernel should support this. I also checked the .config file to ensure raid5 resizing is enabled.

I previously was able to go from 3 drives to 5 with no issues but now that I'm trying to go raid6, no go. Any help would be appreciated, thanks!