337Manni
October 21st, 2009, 05:04 AM
I’m in the process of putting together a server for storing media which could be streamed over a LAN to several clients.
The server has Ubuntu Alternate 9.04 installed over a RAID 1 (2x40GB Seagate IDE HDD).
It also has 12 x 3.5inch Hot-swap HDD bays which I plan to use in a RAID array for media storage. I plan on starting off with 3 to 5 HDD (2-4TB array size.), depending on my budget at the time of purchasing, then growing the array when / if needed. I would be using the software raid in Ubuntu.
I have a few questions before I continue with the build which I would appreciate help in getting to the bottom of.
1, What would be best (and why) for this type of application, RAID 5 or RAID 10 or others?
I’ve heard bad things about the write performance or RAID 5 and praise for the performance of RAID 10, but I have also heard that you can’t / couldn’t expand RAID 10. Is this all true with Ubuntu software RAID?
2. Are there any advantages / disadvantages of one big storage array verses several small ones?
If I need more space in the future should I grow the array or make a second one?
3. What would be the best option, more small HDDs or fewer large HDD?
e.g. In RAID 5 to get a 4TB array would 5x1TB or 3x2TB be best?). I’m thinking the more HDDs I have, the greater the chance of one failing, but the larger the HDD the longer it will take to rebuild an array = the greater the chance of an unrecoverable write error.
I just can’t decide between 1, 1.5 or 2TB drives. There’s the initial cost (3x1TB is cheapest to get things going), there’s cost / GB (1.5GB drives are currently best for this) or there’s the biggest drives for maximum expanding in the future.
4. Diversification or Uniformity?
Would it be best to try and keep all drives the same to get the best performance out of the array or use different make / model / batches to reduce the potential of mass drive failure from a bad batch…?
5. What would you recommend for the best type of HDD/s to use in this system?
I understand that there is no perfect HDD for every application, but I’m not sure as to what is critical when taking about using a HDD in a RAID array. What I mean is would the RAID hide or highlight certain aspects of the drives performance (throughput, access time, latency, noise, power to MB/s…)?
Again I would be using this to store HD Movies, Music & pictures to stream over GB LAN. Also question 7 way help with the power Vs performance side of things.
6. Which file system would you recommend, EXT3, EXT4, NTFS or others?
I will have a mixture of XP / Ubuntu & Kubuntu clients which I’m concerned about reading the array (unless this will be done by the server???)
Also what about fragmentation? Am I right in thinking this wouldn’t be a problem with EXT3 or 4?
7. Is it possible to make the server with Ubuntu Alternate 9.04 to Shutdown / Hibernate / Sleep with a command from one of the clients, and then Wake On LAN (WOL) when needed? I’m thinking of saving power as it wouldn’t be in use 24/7. I’m sure this must be possible under Ubuntu / Kubuntu, but I’m concerned about XP being able to issue the command to the server. I’m fairly new to Linux so I’m still learning!
Thanks for reading and sorry about all the questions (the more I typed, the more I questions had!:confused:). No doubt there will be more.
Any feedback is welcome and thanks in advance!
The server has Ubuntu Alternate 9.04 installed over a RAID 1 (2x40GB Seagate IDE HDD).
It also has 12 x 3.5inch Hot-swap HDD bays which I plan to use in a RAID array for media storage. I plan on starting off with 3 to 5 HDD (2-4TB array size.), depending on my budget at the time of purchasing, then growing the array when / if needed. I would be using the software raid in Ubuntu.
I have a few questions before I continue with the build which I would appreciate help in getting to the bottom of.
1, What would be best (and why) for this type of application, RAID 5 or RAID 10 or others?
I’ve heard bad things about the write performance or RAID 5 and praise for the performance of RAID 10, but I have also heard that you can’t / couldn’t expand RAID 10. Is this all true with Ubuntu software RAID?
2. Are there any advantages / disadvantages of one big storage array verses several small ones?
If I need more space in the future should I grow the array or make a second one?
3. What would be the best option, more small HDDs or fewer large HDD?
e.g. In RAID 5 to get a 4TB array would 5x1TB or 3x2TB be best?). I’m thinking the more HDDs I have, the greater the chance of one failing, but the larger the HDD the longer it will take to rebuild an array = the greater the chance of an unrecoverable write error.
I just can’t decide between 1, 1.5 or 2TB drives. There’s the initial cost (3x1TB is cheapest to get things going), there’s cost / GB (1.5GB drives are currently best for this) or there’s the biggest drives for maximum expanding in the future.
4. Diversification or Uniformity?
Would it be best to try and keep all drives the same to get the best performance out of the array or use different make / model / batches to reduce the potential of mass drive failure from a bad batch…?
5. What would you recommend for the best type of HDD/s to use in this system?
I understand that there is no perfect HDD for every application, but I’m not sure as to what is critical when taking about using a HDD in a RAID array. What I mean is would the RAID hide or highlight certain aspects of the drives performance (throughput, access time, latency, noise, power to MB/s…)?
Again I would be using this to store HD Movies, Music & pictures to stream over GB LAN. Also question 7 way help with the power Vs performance side of things.
6. Which file system would you recommend, EXT3, EXT4, NTFS or others?
I will have a mixture of XP / Ubuntu & Kubuntu clients which I’m concerned about reading the array (unless this will be done by the server???)
Also what about fragmentation? Am I right in thinking this wouldn’t be a problem with EXT3 or 4?
7. Is it possible to make the server with Ubuntu Alternate 9.04 to Shutdown / Hibernate / Sleep with a command from one of the clients, and then Wake On LAN (WOL) when needed? I’m thinking of saving power as it wouldn’t be in use 24/7. I’m sure this must be possible under Ubuntu / Kubuntu, but I’m concerned about XP being able to issue the command to the server. I’m fairly new to Linux so I’m still learning!
Thanks for reading and sorry about all the questions (the more I typed, the more I questions had!:confused:). No doubt there will be more.
Any feedback is welcome and thanks in advance!