Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to spec a backup system for our department. 4TB drives have come down in price, so it makes sense to load a 24 disk enclosure with them. (I understand this doesn't equate to 96TB for several reasons.)
The system will live mostly with several concurrent rsync/ssh sessions, mostly writing, and rm'ing.
* What's a reasonable amount of memory for such a system?
* What's the best raid level -- 50, 60, other? Or does it make sense to have multiple volumes?
* What's the best filesystem -- ext4 or is the native Linux ZFS now stable enough to use in a critical system?
* Is there any benefit to using two hardware RAID controllers, or just one high end?
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186
Rep:
Hello Jameson,
Backup solutions vary greatly in how they are used.
Keep in mind -- RAID IS NOT A BACKUP.... Be sure that really critical data is still synced offsite.
1) Amount of memory will vary, if you are doing a nightly back-up on a cron job and the data isn't being accessed on a regular basis and you aren't writing huge chunks of data at a time you could probably get by with a considerable small amount of RAM (4-8GB). Memory though is fairly inexpensive these days, and if you are wanting the best performance I would probably go with 24GB or more.
2) If I was doing this I would use a hardware RAID card and go with a RAID 6 array. Software RAID is great but a hardware RAID card with monitoring functionality would be ideal for use in a business scenerio.
3) I would probably go ext4, others might argue but I would say that ZFS likely isn't stable enough to use in a critical system.
4) I would do a single high-end hardware RAID controller -- or at least that is what I did for the last back-up server I built.
You'll get a ton of opinions on this one .. personally I'd probably go with:
16GB RAM
4 x 6 RAID5 volumes (you'll only lose 4 disks worth of capacity)
If the enclosure supports it go with 2 raid controllers, double the bandwidth is better if you have multiple writers
Filesystem choices may depend on the nature of the files you're backing up, ext4 is pretty good all round but there's also XFS
ZFS is perfectly stable but you will need a ridiculous amount of memory (in the 100s of GB) for it to work well.
I would have said raid6 is a good way to go but the rebuild time on a 24 disk array of 4TB disks will be very long. I would suggest splitting up in to two 12 disk arrays, or even four 6 disk arrays! Hardware Raid6 oR ZFS is definitely the way to go though, just ensure you spec ZFS with sufficient memory because you'll need a lot of it. Also, if you are looking at ZFS you probably shouldn't be looking at linux, the native implementation is on BSD/Solaris. If you are looking for something similar on linux btrfs may be of interest, although its probably not stable enough yet. Also I believe the implementation of raid6 on btrfs was only released on Monday in kernel 3.12-rc2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.