I HAD a 4-disk RAID 5 array with MDADM. One of the disks failed. I bought a new disk three times the size of original disks as replacement.
I now have
- 3x5TB disks in a degraded RAID5
- 1x16TB disk free unused
I want to change the existing raid from 5 to a-sort-of 1+0 where only the old disks would be the "0" part:
- 3x5TB disks in RAID0
- 1x16TB disk
The above would be assembled in the RAID 1 I want to end up with.
I'm thinking I should:
- add the new disk in a new, degraded, RAID 1
- copy all the data from the degraded RAID 5
- change mount points to the new array
- tear down the RAID5 and make a RAID0 from it
- add the RAID0 to the RAID1
Alternatively, as a fallback I could replace the last step with creation of a btrfs RAID 1 volume.
Could this work?