LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 03-25-2010, 08:42 PM   #1
busydoingnothing
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Question How to best configure my storage space?


I'm building an Ubuntu 9.10 home server to essentially backup all my PCs to, serve media, and store other large data (I record music and film). Here's what I have as far as storage goes:
  • 4GB CompactFlash: for OS
  • 2x 500GB WD drives: intended for RAID-1 for backup (which I will in turn back to external drive on a weekly basis)
  • 3x TB Hitachi drives: intended for RAID-5 for media and storage

Both RAIDs will be software-driven. Now, a few questions:
  1. From what I've read, I can benefit from using LVM on top of the RAID. Is this true, and besides the complexity and potential difficulties in recovery in case of disaster, is there a downside to LVM?
  2. Would I benefit at all from using smaller logical volumes on the RAID-5, or should I just make one at the full size of the drive?
  3. Also from what I've read, it seems that XFS may be the best filesystem to use, from a stability and performance standpoint. Should I go that route, then? I suppose that if it IS beneficial to have multiple smaller logical volumes, then there may come a point that I need to shrink and grow these logical volumes, and if that's the case, it appears XFS is out of the question. What's the runner-up; Reiser?
  4. I currently have /swap and /home partitions on the CF card. I'd at the very least like to remove the /swap partition and just create a swap file on the RAID-5. Should I move my /home partition to the RAID-5 as well?

Hope I'm not askin too much here! Thanks guys.
 
Old 03-26-2010, 01:44 PM   #2
knarfling
LQ Newbie
 
Registered: Aug 2006
Distribution: RHEL, Fedora
Posts: 11

Rep: Reputation: 1
Can't answer all the questions, but here is my thoughts.

1. Yes, you can use LVM on top of the RAID. At my work we do it all the time. One upside is that we start off with logical volumes that are bigger than what we need, but not using the full disk. Then, later, if one volume grows faster than we expected, we simply re-size it with the unused space.

2. Don't really know. The original reason for the small volumes was that one drive could not hold everything. Admins had to separate the storage into volumes which translated directly into physical disks. If a physical disk died, you only had to restore/rebuild the disk that died rather than your whole system. With bigger and bigger drives, as well as RAID for protection if one disk dies, this is no longer the case. Some people feel that it is fine to make one big drive and not worry about mount points or size. Others continue to use multiple volumes for personal organization. Some create new volumes specifically for songs and videos rather than leave them in /home so that 1) they can be shared, and 2) they are logically separate from their documents. I can't really tell you if your performance will improve or degrade with lots of small volumes or one big volume.

3) Can't answer this one either. We mostly use ext2 (for boot partitions) and ext3 (for everything else). In conjunction with LVM, it makes volumes easier to re-size and have never had a problem with them.

4) A personal opinion. It depends on what you will have in your /home partition. If it were me (based on what I typically use), I would move the /home to the raid. I would leave /boot and /usr on the CF card, and create the swap partition as well as /home and /usr/local on the RAID.
 
  


Reply

Tags
backup, drives, hdd, lvm, raid, storage, ubuntu, xfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KMail: Mail folder location and correct storage space calculation? gargamel Linux - Desktop 1 09-04-2009 06:17 AM
low storage space? briced Linux - General 1 05-11-2008 08:59 AM
System Administration: How to limit users' available storage space fc6_user Linux - General 4 05-31-2007 07:08 PM
mounting, adding storage space questions babag Mandriva 4 09-08-2005 08:07 PM
How to share storage space in RHEL 3.0 spelltoronto Linux - Newbie 4 04-26-2005 12:20 AM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration