Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1913  / 2 Years ago, sun, july 24, 2022, 6:42:56

Using software RAID only



Is it possible to start with a 2TB disk full of data and safely add it to a RAID 1 array?



Is it then possible to add a third disk and migrate the RAID 1 array into a RAID 5 array?



OR



Is it possible to start with a 2 disk degraded RAID 5 array and then add the third disk later to create a health RAID 5 array?



Backstory:



I wish to migrate from a 2 disk NAS (RAID 1) to a 3 disk NAS and only purchase one new disk in doing so


More From » raid

 Answers
7

You can convert a RAID 1 array into a RAID 5 array if you overwrite the RAID 1 metadata with RAID 5 metadata with mdadm. However, I have never done it nor would I try it without backing up all of my data. If I had a back up of all my data I would just wipe the disks, setup the RAID 5 and restore from back up instead of trying to convert a RAID 1 array into a RAID 5 array.



That said, I found an article that is kind of old but has the basic idea:
http://www.davelachapelle.ca/2008/07/25/converting-raid-1-to-raid-5/



Use at your own risk.


[#37865] Sunday, July 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
zebrla

Total Points: 356
Total Questions: 110
Total Answers: 120

Location: Sudan
Member since Tue, Aug 3, 2021
3 Years ago
;