Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to setup a debian stable system meeting the following needs:

  • Hard disks should be mirroring : Raid 1
  • Filesystem(s) should autogrow if possible (just in case we replace one hdd with a bigger one, wait until sync and replace the other with a bigger one, too)
  • autogrow should work online
  • the main purpose for the hdd space is holding a database

Of course there are several ideas to get that done - but I'm searching for the best. My feeling at the moment is, that btrfs (as there is no real stable zfs) might be the solution - but is it stable enough?
I'm open to and interested in any suggestions.

share|improve this question
up vote 1 down vote accepted
  1. I would recommend you to use a separate and inexpensive HDD to host the OS (/). The RAID1 HDD (pair) should host only the database file in order to keep the system modular.

  2. I've never seen RAID nor Linux filesystem supporting autogrow. You need to manually run a command to extend the filesystem size. (But there are quite a few filesystems which support extending the size online.)

  3. ext4 on mdadm RAID1 would be the most standard option for your requirement. Both support "grow as much as possible" via command line options.

share|improve this answer
Thank you nodakai, I'll wait some time and if no other answers come in, I'll declare your answer as the solution. (Concerning your point 3 - do both support those command line options for online processing?) – Bastian Ebeling Jan 24 '14 at 7:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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