You are not logged in.

#1 2017-08-10 10:29:34

dafrizz
Member
Registered: 2011-05-27
Posts: 31

Replacing raid 5 drives with larger drives ?

I currently have a raid 5 made up of 4 2TB drives. Because I am running out of space and the ability to add additional drives I would like to replace the drives with larger (say 4TB) drives. The question is, is this possible and if so, what is the process.
A Google search resulted in the following two methods:

Method 1 (described here: https://ubuntuforums.org/showthread.php?t=2035097)
Remove drive from array
Replace with larger drive
Repeat until all drives are replaced
Grow array to take up all available

Method 2 (described in the last post here: https://serverfault.com/questions/18204 … o-partiti)
Add one additional (larger) drive to array
Replace existing drive with new, larger drive (in the process copying the data from the old drive to the new)
Remove old drive
Repeat above for all drives

One thing I am not sure about with method 2 is whether I still need to grow the array at the end.

Has anyone tried any of the above methods ?
Also, I don't have a filesystem directly on the raid, instead I am running an lvm on the array. Would the above still work ?

Offline

Board footer

Powered by FluxBB