LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-02-2015, 08:57 AM   #1
romanrsr
LQ Newbie
 
Registered: Dec 2012
Posts: 10

Rep: Reputation: Disabled
Set Centos as NAS?


Hello friends, as they are? I was evaluating several options for creating a virtual NAS (Freenas, nas4free, Openmediavault, etc). But none meets the requirements I need.
So I have thought configure an OS Centos as NAS.

I recommend ext4 formatting disks or zfs?
Assuming you have 4 disks 2TB, I should make a Raid-5?
I have 4 NICs, for better performance bonding should work?

Many Thanks!
 
Old 03-02-2015, 11:18 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
RAID 5 will have lower performance than RAID1+0 but will give you extra disk space. I assume you're using a proper RAID controller or are you going with the Linux software RAID option?
Bonding NICs for performance will really only help if your network switches also support the relevant bonding mode, and you'll also find that unless you've a LOT of users it really won't seem to make that much of a difference.
 
Old 03-02-2015, 11:48 AM   #3
romanrsr
LQ Newbie
 
Registered: Dec 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
RAID 5 will have lower performance than RAID1+0 but will give you extra disk space. I assume you're using a proper RAID controller or are you going with the Linux software RAID option?
Bonding NICs for performance will really only help if your network switches also support the relevant bonding mode, and you'll also find that unless you've a LOT of users it really won't seem to make that much of a difference.
You would with Linux software RAID option, RECOMMEND Raid-5 + Ext4?
 
Old 03-02-2015, 12:05 PM   #4
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
If you do software RAID or a RAID controller with no battery, then you need a UPS to protect for power failure. You also need a good backup scheme to other disks, tape, DVD or cloud. A good alternative to ext4 + RAID1 is to use ZFS with mirrors.
 
Old 03-02-2015, 06:36 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
From experience I wouldn't particularly recommend software RAID5. In mine and a friend's experience of it you're more likely to have problems with inconsistent data due to the RAID itself than any hardware problems. Whether the same kind of software issues would be encountered just using the drives as one large partition I could not say definitively but I suspect not.
Hopefully somebody will have experience using RAID in this kind of situation as, personally, I found RAID a waste of time since a backup needs to be in place anyhow.
 
Old 03-02-2015, 07:34 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
ZFS has it's own tools and could be a consideration for a filesystem. It is not as well known as software raid and ext4. It may be slightly slower. It has some unique features more suited to enterprise level management.

Just to be clear, you are doing this on a physical machine and not in a virtual machine correct?

I'll second that the choice of nas distro isn't fantastic. I've never tried it but the Synology and QNAP nas boxes run intel processors and they offer their OS usually. Might be possible to take one of that OS and run it with some work.

Last edited by jefro; 03-02-2015 at 07:36 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reliable centos nas server with raid or nas boxes which is better ? Gil@LQ Linux - Server 9 09-10-2015 05:13 AM
CentOS as NAS LeoPap Linux - Networking 4 07-28-2014 08:02 PM
LXer: CentOS 6.5 vs. CentOS 7.0 NAS Performance Comparison LXer Syndicated Linux News 0 07-11-2014 10:10 AM
Nas Replacer - Centos b0bby Linux - Software 1 12-11-2011 01:29 PM
cannot see NAS device in centos unix1adm Linux - Networking 5 12-15-2010 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration