Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm writing a basic media server where people can upload/download my content. I have 8 2TB hard drives where I would like to store their uploaded files. Problem is navigating a file system that I want to be spread across several hard drives, but make it look like it is just one.

If you can think of a approach, please let me know the the upsides and downsides of your approach.

If it matters, I'm running the server on ubuntu 11.10

share|improve this question
    
    
What OS is the computer? it matters on what you solutions there are. –  Scott Chamberlain Feb 23 '12 at 21:55
    
dougvk: which OS are you talking about? *nix or win? –  Baarn Feb 23 '12 at 21:55
    
I'm on ubuntu linux 11.10 –  dougvk Feb 23 '12 at 22:17

2 Answers 2

up vote 4 down vote accepted

What you are looking for is RAID. Specifically RAID 0 would "Stripe" data across the disks. However, it is important to realize that if a singe HD fails, ALL data on all disks is lost. It would be better to setup a RAID 5 (which tolerates 1 disk failure) or RAID 6 (which tolerates 2 failures). However, RAID 5 decreases your usable space by 1 disk (so instead of having 16TB of disk, you have 14). RAID 6 costs you 2 disks, so 12 TB.

The disadvantage of RAID 0 is resilience - do not use it. The advantage is performance. You write to two disks at once, so its * essentially* 2x as fast.

The disadvantage of RAID 5 or 6 is that its not quite as fast as raid 0 and the disk costs. The advantage is better performance (compared to no raid) and better resilience.

The disadvantage for all (true) RAID solutions is that is requires hardware, specifically a RAID controller.

There are also software RAID solutions (LVM for Linux, Logical Disk Manager for Windows) if you dont have the hardware. But they will not perform as well as hardware Raid.

share|improve this answer
3  
Other sources write that software RAID has very little performance impact, and can even outperform hardware RAID because the OS has better control over how data is stored. –  grawity Feb 23 '12 at 22:03
    
For RAID 1 the reads are faster, but the writes are the same. –  Scott Chamberlain Feb 23 '12 at 22:11
6  
This answer has a lot of half-truths and draws a lot of conclusions that simply aren't true. –  Garrett Feb 23 '12 at 22:29
    
"The disadvantage of RAID 1 is resilience"--don't you mean RAID 0? RAID 1 (mirroring) allows you to lose a disk and still have your data intact. (With software RAID1, you can actually specify as many mirrors as you want.) Also, LVM is not RAID. Linux's built-in software raid solution is mdadm. –  rob Feb 24 '12 at 1:51
    
thanks for your input rob –  dougvk Feb 24 '12 at 3:53

While you'll need a seperate boot partition, you can use LVM and have a volume group that consists of volumes on all the drives.

If you already have the drives formatted, look at greyhole, which is a linux clone of WHS's drive extender. I'd actually prefer this in this scenario since it seems to be easier to work with, and is more flexible in some ways than LVM

share|improve this answer

Your Answer

 
discard

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.