I'm planning on building a home file server with a few 2 TB drives and I wanted to use software RAID 5 under Linux (most likely ubuntu).

Before I start, I wanted to know how easy is it to expand a RAID 5 in case I wanted to add 1 or 2 more drives in the future. Do I have to start from scratch and migrate all my data off before hand or will it just restripe the data.

link|improve this question

75% accept rate
feedback

2 Answers

up vote 4 down vote accepted

It is possible. For example. if you build software raid with mdadm, then you can add later new discs and extend the array. Check --grow flag in the mdadm manual. After that you can resize file system with resize2fs command. I also recommend to consider using LVM for more flexible management of disk space.

link|improve this answer
feedback

Seconding the idea of using LVM to give you an expandable volume.

link|improve this answer
This answer should really be a comment or upvote on the above answer... – camster342 May 24 '11 at 0:55
Thanks for your feedback. – pbr Apr 8 at 22:30
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.