Convert RAID5 to RAID6 in a live system
Hi,
I'm currently in the process of converting a 3 disk RAID5 array into a 4 disk RAID5 array. I'm using mdadm 3.1.4 and Linux kernel 2.6.35-28-generic (Ubuntu). My questions now is this conversion save in a live (running) system? Or is this now allowed/supported?
Thanks.
Best regards,
Stefan
Quoted 4 lines · Stefan Roese
I'm currently in the process of converting a 3 disk RAID5 array into a 4 disk RAID5 array. I'm using mdadm 3.1.4 and Linux kernel 2.6.35-28-generic (Ubuntu). My questions now is this conversion save in a live (running) system? Or is this now allowed/supported?
I guess you wanted to say "4 disk RAID6 array"?
In that case, yes, I have done it on 2.6.32 and mdadm version (something older) and it went just fine.
Neil wrote about it here <http://neil.brown.name/blog/20090817000931>.
Signature · 1 line
Mikael Abrahamsson email: [email protected]
Quoted 7 lines · On Wed, 23 Mar 2011 09:07:56 +0100 (CET) Mikael Abrahamsson <[email protected]>…
Quoted 4 lines · Stefan Roese
I'm currently in the process of converting a 3 disk RAID5 array into a 4 disk RAID5 array. I'm using mdadm 3.1.4 and Linux kernel 2.6.35-28-generic (Ubuntu). My questions now is this conversion save in a live (running) system? Or is this now allowed/supported?
Quoted 6 lines
I guess you wanted to say "4 disk RAID6 array"?
In that case, yes, I have done it on 2.6.32 and mdadm version (something older) and it went just fine.
Neil wrote about it here <http://neil.brown.name/blog/20090817000931>.
Additionally, I suggest that you also check "man mdadm" and note the "--layout=preserve" option, if you use it, the RAID5 to RAID6 conversion while adding one disk will happen instantly, without restriping (but only with a resync of the new drive).
Signature · 2 lines
With respect, Roman
Quoted 10 lines · On Wednesday 23 March 2011 09:14:24 Roman Mamedov wrote:
Quoted 10 lines
Quoted 4 lines
I'm currently in the process of converting a 3 disk RAID5 array into a 4 disk RAID5 array. I'm using mdadm 3.1.4 and Linux kernel 2.6.35-28-generic (Ubuntu). My questions now is this conversion save in a live (running) system? Or is this now allowed/supported?
I guess you wanted to say "4 disk RAID6 array"?
In that case, yes, I have done it on 2.6.32 and mdadm version (something older) and it went just fine.
Quoted 6 lines
Quoted 1 line
Neil wrote about it here <http://neil.brown.name/blog/20090817000931>.
Additionally, I suggest that you also check "man mdadm" and note the "--layout=preserve" option, if you use it, the RAID5 to RAID6 conversion while adding one disk will happen instantly, without restriping (but only with a resync of the new drive).
Thanks. I already started with this conversion, so this "--layout=preserve" is not an option for me any more. But good to know that this conversion should work. But its slow - it'll take approx. 4 days with my 2TB drives.
Best regards,
Stefan
Quoted 1 line · Stefan Roese
Thanks. I already started with this conversion, so this "--layout=preserve" is not an option for me any more. But good to know that this conversion should work. But its slow - it'll take approx. 4 days with my 2TB drives.
Also, layout=preserve I guess would make it not a proper RAID6 but a RAID5 with a parity disk. This is not optimal long-term.
The time you mention is normal I'd say.
Signature · 1 line
Mikael Abrahamsson email: [email protected]