NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
fastfwd
Apr 14, 2016Virtuoso
Pro 6 running OS4 - Convert RAID5 to RAID6
My Pro 6 held 5 drives (2TB, 3TB, and 3x4TB) in a single-redundant array (3 layers: 8TB, 3TB, and 2TB). I added a 6th drive (4TB) and chose to use it for dual-redundancy rather than increased capaci...
- Apr 14, 2016
- Generally you'd do the conversion to RAID-6 with a single layer array
- That should work. Check to make sure the partitions are all the same size for the devices in that layer and the SMART stats of the disks first. Is your backup up to date? If not, you may also wish to update that.
- No. This is mdadm and that's the command to use. Note: you shouldn't try shrinking a layer as that would lead to data loss.
fastfwd
Apr 14, 2016Virtuoso
mdgm wrote:
Generally you'd do the conversion to RAID-6 with a single layer array
Yeah. But unfortunately I already had 3 layers, and I figured it'd be safest to upgrade to dual-redundancy first, before I put this large array through the stress of two expansions.
That should work. Check to make sure the partitions are all the same size for the devices in that layer and the SMART stats of the disks first. Is your backup up to date? If not, you may also wish to update that.
Thanks! Disks are healthy and my backup is current. The relevant artitions are equal-sized:
NAS1:~# cat /proc/partitions | grep sd.5 8 5 976751999 sda5 8 53 976751999 sdd5 8 69 976751999 sde5 8 85 976751999 sdf5 NAS1:~# cat /proc/partitions | grep sd.4 8 4 976751979 sda4 8 36 976751979 sdc4 8 52 976751979 sdd4 8 68 976751979 sde4 8 84 976751979 sdf4
I'm starting the process now. I'll post again when it's done.
fastfwd
Apr 14, 2016Virtuoso
Oh, and I just noticed an error in my original post (the --raid-devices parameters were wrong.) The commands should have been:
mdadm --grow /dev/md3 --level=6 --raid-devices=5 --backup-file=/root/md3backup mdadm --grow /dev/md4 --level=6 --raid-devices=4 --backup-file=/root/md4backup
- mdgm-ntgrApr 14, 2016NETGEAR Employee Retired
Ah, yes.
Always pays to double check commands like this before entering them.
- StephenBApr 14, 2016Guru - Experienced User
fastfwd wrote:
Oh, and I just noticed an error in my original post (the --raid-devices parameters were wrong.) The commands should have been:
I took the liberty of editing your original post (applying your correction).
- fastfwdApr 16, 2016Virtuoso
StephenB wrote:
fastfwd wrote:Oh, and I just noticed an error in my original post (the --raid-devices parameters were wrong.) The commands should have been:
I took the liberty of editing your original post (applying your correction).
Thanks, StephenB.
The conversion of the 2TB layer took two and a half days and finally finished this morning; everything seems fine. The 3TB layer is converting now and should be done in about 4 days. I'll post again when it's completely finished.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!