|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Massive Storage: The search for a LINUX-based fast/expandable/HUGE storage solution
Hi all. I've been lurking/reading threads for a while and thought it time to start a new thread as I haven't found a definitive discussion that solves a problem that we will all run into at some point in time -- what I'm wanting to do is...
To create a pseudo step-by-step guide for the creation of a network/server-based massive storage solution. A box that provides: 1. Huge storage capabilities (8TB+ ... w/ 20TB+ being doable) 2. Redundancy 3. Ease of management and setup (Not something that will be easy, but if we get enough feedback and people contributing, this is doable). 4. Strong read/write performance (the ability to saturate a GigE link) 5. Ability to increase your storage with as little pain as possible 6. Low cost. 7. ?? (Saved for something I've missed that someone will certainly point out) Now, how to tackle such a beast... For starters, I'm thinking a Linux-based software-RAID box using SATAII drives and port multipliers (PMP). The various Linux-smart users in this thread are discussing a solution that looks solid: http://forums.sagetv.com/forums/showthread.php?t=25709 Why Linux/software-RAID/SATAII/PMP's? Good question: 1. Linux is free. 2. It does RAID 5, which provides redundancy. 3. Software RAID 5 in Linux is FAST (go read mikesm's performance numbers in the thread above -- it blows Windows software-based RAID away and gives hardware solutions a run). 4. Linux software RAID is flexible (grow arrays, move them, etc). 5. AHCI SATA ports, coupled with PMP's give the potential for tons (TONS) of growth -- every SATA port on your motherboard can connect to a PMP, which provides connections to 5 drives. So, 4 motherboard SATA ports = support for 20 drives. 6 SATA ports = 30 drives, etc. 5. PCIe ports allow for further expansion via eSATA controller cards that are PMP compatible... so for every eSATA port, you can get another 5 drives. Obviously there are caveats here, but just to wet your whistle, just look at the potential of this motherboard I have sitting here, a GIGABYTE GA-EP35C-DS3R: http://www.newegg.com/Product/Produc...82E16813128082 8 onboard SATA ports x 5 drives each (via the use of PMP's) = 40 drives + 4 PCIe ports that would support controllers w/ 4 eSATA ports each x 5 drives per eSATA port = 20 drives per PCIe port = Support for 120 drives Now obviously this is theoretical and there are caveats to this, but I think the point is made. Potential Advantages/Issues: 1. Linux: I (like most here, I suspect) am a Windows user (not by choice... my god how I loathe Vista)... but Windows is what I know. (Un)fortunately, Windows, as far as I know, doesn't offer a viable solution for us for this storage issue because it would require the purchase of an expensive RAID controller, which removes the expansion possibilities offered by port multipliers (I haven't found a PMP compatible hardware-based RAID controller that would suit the needs of this project). 2. Cost: The good thing about this solution is that you can start small -- 3 drives in a box, and add to it as needed. And as you grow your storage, you can grow your network, etc. as needed. 3. More than just a NAS: I would prefer something that can do more than just act as a file server (ie., assisting w/ commercial skipping processing, etc.) -- but obviously each user could tailor their solution. 4. ....?? Ok, I'll stop here so we can get the discussion going... because I suspect that this is a hot issue w/ many users. Last edited by taylork; 03-04-2008 at 08:27 PM. Reason: Thread to focus on Linux-based solutions. |
#2
|
|||
|
|||
I'm not sure why you want to start another thread when the old one is still the best for info, but in any case, that gigabyte P35 motherboard is not what you want to build a software based NAS on. While the ICH9R southbridge may support PMP's, it does not support FIS switching, which kills performance for port multipliers.
As I think I posted in the other thread, the type you want (and the one I plan on upgrading to) is the Intel P45 series, which comes with the new ICH10R southbridge. This supports FIS switching for PMP's, and Tejun's libsata patches which are now in the mainline kernel should recognize them and use FIS switching. This configuration should not have the 120 MB/s limitations the SI3132 based controllers seem to have, even though they do support FIS switching. The other thing is making sure you have an Intel or Marvell based gigabit NIC onboard, as they are much better for NAS functions that the realtek NIC's found on many boards (including the P35 board you mentioned). You can always burn a PCI-E slot on a discrete NIC though.
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#3
|
||||
|
||||
I have spent some time thinking about this exact problem over the past week. I personally think that direct attached storage to the Sage Server is the best route to go.
I do not see a reason to use raid 5 for the recording drives. I see these drives as more scratch pads. If there was a failure I personally would only loose a handfull of recordings. The more single drives for recording the better. Raid would most likely just complicate this. Library content is a different story. This could benift from redundancy. I think a mirror would be sufficient if there is drive space to spare, because drive performance is not a big issue here. The number of streams coming from these drives would most likely not be the same as the recording drives. Here is one of my proposed sollution: I have been looking into getting a 4 port eSata card that supports 0, 1 and 1+0 in hardware. Here is a card that I think meets this need. $89 http://www.newegg.com/product/produc...82E16816318004 Then I was looking into finding an afforable external enclosure. $223 http://www.newegg.com/product/produc...82E16816855007 This gives me a 4 drive sollution with the ability to add upto 12 more drives, at full attached storage speed for under $400. |
#4
|
||||
|
||||
Here's a question, is there anything under linux that works along the lines of unRAID? Mainly redundancy without striping?
|
#5
|
||||
|
||||
I think a USB2 enclosure solution is more douable and less trouble making.. i think theres like 4 hdd raid cases that are usb2.. maybe having many of those hooked to your sage box...
__________________
SageTV 7.1.9 / Phoenix Captures: 1x Genpix Skywalker DVB4Sage / 1x 7500 Prof DVBS2 Tunner DVB4Sage / 1x HD HomeRun / 1x Slingbox M1 / 1x Colossus HD Extender: 2x HD200 / 1x HD300 |
#6
|
|||
|
|||
Quote:
You can always build a config with linux that does not use software raid, and just configure it as a bunch of separate volumes. Just because all that horsepower is there, it doesn't mean to have to use it.
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#7
|
|||
|
|||
You can also get eSATA enclosures (they typically come with a PMP in them) that you could plug into a cheap SI3132 based controller, and each disk will show up in windows as a discrete volume. They are way faster than USB, and work pretty well. Under windows I would stay away from software raid though.
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#8
|
|||
|
|||
As I PM'd to mikesm: The main reason for a new thread was to provide a central place to focus on a solution of this nature -- generating as much step-by-step info as possible for those of us light on Linux/hardware requirement knowledge, as I'm certain there are a ton of us.
For example, I had seen port multiplier Command-based vs. FIS-based Host support discussed here: http://www.sata-io.org/portmultiplier.asp But wasn't sure how to determine which chipset(s) supported FIS. Intel P35 doesn't, but P45 does (thanks for the heads-up, Mike!). Apparently ICH10 support is required for FIS switching...? Are there any boards that are currently available that handle FIS switching? jvl711: I've also pondered whether I should keep things simple for direct Sage recording (i.e, just use a few standard hard drives for recording and moving things over to a RAID set for permanent storage). But then again, if you're going through the trouble of building a tanker for storage, why not record directly to it if possible? (And obviously this certainly depends upon other use... if you've got folks constantly hitting the server for files, it might not be feasible for it to keep up w/ stream-recording too.) Also, that Addonics card is software raid, so your performance probably wouldn't be capable of direct stream-recording. Last edited by taylork; 03-04-2008 at 05:03 PM. |
#9
|
||||
|
||||
Quote:
If you go with LVM, will only used disks be spun or does the whole volume get spun? I really just can't decide which way to go for my server redux, at the moment I keep wavering between just drives, and full-up 3ware 9550SXU-8 RAID-5. |
#10
|
|||
|
|||
Quote:
Unriad does this funky kind of copying for redundancy. Personally, I don't understand why it's better than RAID1, but you can certainly run things like rsync or other script based tools to sync files across various volumes if that's what you are looking for. LVM has striping available that's separate from RAID striping, but not redundancy as typically found in RAID5 or RAID6, or at the filesystem level with Solaris' ZFS. What's the issue with RAID5 if you want redundancy? It's less work to administer than syncing things in linux, but I must be missing something...
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#11
|
|||
|
|||
The unRaid distro can be adapted. Also, I understand people are running his stuff on other distros.
B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#12
|
||||
|
||||
Quote:
I agree about the Addonics software raid. That is why I was suggesting not using raid 5. Raid 5 has parity calculations were raid 1 does not. Neither does 1 + 0. Both of these would perform pretty well with a software raid card. I was also trying to say if you really want raid 5 for library content a software raid would not be a huge downfall. The amount of bandwidth needed for library content is much less than recording drives. |
#13
|
||||
|
||||
Quote:
The funky file copy part you describe is merely how the write algorithym determines which disk to write the files to at any given time. Hope that clears it up a little.
__________________
Sage Server: Gigabyte 690AMD m-ATX, Athlon II X4 620 Propus, 3.0 GB ram, (1) VistaView dual analog PCI-e tuner, (2) Avermedia Purity 3D MCE 250's, (1) HD-Homerun, 1.5 TB of hard drives in a Windows Home Server drive pool, Western Digital 300GB 'scratch' disk outside the pool, Gigabit LAN Sage Clients: MSI DIVA m-ATX, 5.1 channel 100w/channel amplifier card, 2 GB ram, , (1) Hauppauge MVP, (1) SageTV HD-100 Media Storage: unRAID 3.6TB server |
#14
|
||||
|
||||
Quote:
Quote:
Quote:
|
#15
|
||||
|
||||
I personally see no reason to go through all the expense and complications of fancy RAID solutions to store recorded TV shows. My theory is to use something relatively cheap and if a disk fails, so be it, it's only TV. (I do backup things that I can't replace )
I have had very good luck using NASLite (www.serverelements.com). It has limitations but it is cheap, fast, easy and reliable. If I want to expand my Sage storage I just buy another drive or replace an existing drive with a larger drive. NASLite does support RAID, but only if you are using a hardware RAID card.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#16
|
|||
|
|||
I have the 7th criteria
"A box that provides; 7. Ability to spin down the drives when not in use. (maid)." Running all my drives 24/7 for the few minutes a day that the drives are accessed is crazy. I understand Windows server 2008 will spindown the drives with port multipliers (software raids) and also some Highpoint cards (hardware raids) will allow drive spin down. I like (price) the Highpoint 2314 (4 esata external ports) PCIe card but highpoint has not responded to my emailed question about it supporting spindown. The 3000 series cards are listed on their website as supporting "maid" which is spindown. So 2314 may be out as an option for spindown. |
#17
|
||||
|
||||
Quote:
Quote:
|
#18
|
||||
|
||||
Quote:
-PGPfan
__________________
Sage Server: Gigabyte 690AMD m-ATX, Athlon II X4 620 Propus, 3.0 GB ram, (1) VistaView dual analog PCI-e tuner, (2) Avermedia Purity 3D MCE 250's, (1) HD-Homerun, 1.5 TB of hard drives in a Windows Home Server drive pool, Western Digital 300GB 'scratch' disk outside the pool, Gigabit LAN Sage Clients: MSI DIVA m-ATX, 5.1 channel 100w/channel amplifier card, 2 GB ram, , (1) Hauppauge MVP, (1) SageTV HD-100 Media Storage: unRAID 3.6TB server |
#19
|
|||
|
|||
Quote:
I'm curious that if unraid supports drive spindown how much of the time the drives are actually spun down. Also, I didn't think windows liked waiting very long for a file once a request was made, but maybe that's been fixed in recent versions. Drive spin up /spin down is also harder on the drive from a lifetime perspective than continuous operation, but that may not be a practical issue with how we long we use the drives. My corporate data center experience makes me very nervous about this kind of operation, but it may be unfounded for light duty NAS use. How much money would you save by having the NAS do this kind of thing?
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#20
|
|||
|
|||
Quote:
One thing I like about having the NAS up and running 24x7 is that I can run other things on it, which is also why personally, the appliance type solutions are less interesting to me. After my next upgrade, I'll have a Q6600 in the core of the NAS, plus 4 GB of RAM, I plan to run a vmware instance of XP to run Sage Videotools compression and showanalyzer right on the NAS where all the content is stored. What's funny is that I just got a recent version of Norton Ghost, and one of the options it has is to build a backup snapshot in a vmware snapshot format, so you can literally backup a windows system, and reconstitute it as a virtual machine under linux... Very cool. This is not quite a NAS application, but I like the ability to run heavily I/O bound tasks right on the NAS.
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Potentially 15TB Sage Server Setup Advice | rajczi | Hardware Support | 16 | 02-01-2008 11:00 PM |
Video Browser Search | JREkiwi | SageTV Studio | 24 | 04-26-2007 11:00 PM |
Storage questions, NAS, WOL, lots of stuff! | Kirby | Hardware Support | 36 | 08-21-2006 06:59 PM |
Excluding imported audio/video from title search? | GTwannabe | SageTV Software | 0 | 05-25-2006 03:27 PM |