Ask Slashdot: Best Kit For a Home Media Server?
First time accepted submitter parkejr writes "I started off building a media library a few years ago with an old PC running Ubuntu. Folders for photos, ogg vorbis music from my CD collection, and x264 encoded mkv movies. I have a high spec machine for encoding, but over the years I've moved the server to a bigger case, with 8 TB of disk capacity, and reverted back to Debian, but still running with the same AMD Sempron processor and 2GB RAM. It's working well, it's also the family mail server, and the kids are starting to use it for network storage, and it runs both link and twonkyserver, but my disks are almost full, and there are no more internal slots. The obvious option to me is to add in a couple of SATA PCI cards, to give me 4 more drives, and buy an externally powered enclosure, but that doesn't feel very elegant. I'm a bit of an amateur, so I'd like some advice. Should I start looking at a rack system? Something that can accommodate, say, 10 3.5" drives (I'm thinking long term, and some redundancy)? Also, what about location — I could run some cat6 to the garage and move it out of the house, in case noise is an issue. Finally, what about file format, file system, and OS/software? I'm currently running with ext3 and Debian Squeeze. Happy with my audio encoding choice, but not sure about x264 and mkv. I'd also consider different media server software, too. Any comments appreciated."
Why would you change away from x264 and mkv. They are the industry standards. Not just in computers, but every way in the distribution chain. Going about it for some FOSS reason is just stupid because they're only for your own use, not for distribution. You would be either spending double the space or get half the quality by going with something other than H.264, and on top of that you introduce yourself additional problems because they are not what everyone uses.
Well, how should we know what price you're willing to spend? If you're just wanting to know what rack systems are available that can support 10 hard drives and how much they cost, can't you just Google that?
How could we answer this? We don't know what location is most convenient for you. We don't know how much physical space you have available in your house or your garage. Are your family's file-serving needs so extreme that you can't even rely on wireless networking?
You're running out of disk space, yet you're encoding audio with a technically inferior format that uses more space for less quality than other formats.
Honestly, based on the rattling off of technical specs, it sounds like this project is more about tinkering and tweaking. There are plenty of pre-built Linux-based media server projects (I'd suggest other operating systems, but I know you'll only accept Linux), but you're not going to accept those solutions because you want to tweak and do it all yourself. For crying out loud, you're running your own family mail server and 8TB file server in an era of Facebook-based communication, web-based email, and cloud storage/streaming services.
Just kidding.
With drive capacities soaring, I wonder if you'll really need 10 drives.
You might want to try something like a fractal design array. It's a small htpc case for a microatx board. It has mounts for six 3.5" drives, and these days a microatx board will have everything you need, including integrated video for all your playback needs.
Well as for file system I would say ext4 since btrfs isn't quiet stable yet. Unless you wanted to go with a *BSD in which case FreeBSD is a solid choice and FreeBSD's implementation of UFS is also rock solid. For a while services like Yahoo and Hotmail where exclusively hosted on FreeBSD servers.
start playing linux mdadm and run raid 5 array with 1 or 2 spare drives. I built my first 1TB system about 9 years ago with 14 120G drives. ran without major failure for 6 years. Play with the array (remove drives, add new drives, etc) BEFORE you have a drive failure so you understand how to repair the failure. Let me say again, learn BEFORE you have failure. Otherwise, you'll freak out at losing all your data because you screwed something up during repair.
Larger disks. 4 TB should be available very soon (maybe now?).
http://www.extremetech.com/computing/108665-hitachi-ships-worlds-first-4tb-hard-drive-sticks-it-to-thor
My house server is an ESXi box with 8 2TB drives. My fileserver is just an Ubuntu server VM running Samba.
Each TV has a Mini-ITX Windows Media Center box next to it, using that little ASUS E-350 board. Each HTPC just mounts the samba share in read only and everything works flawlessly.
MCE can handle the native DVD (and BluRay via Cyberlink software) folder formats, as well as many other file formats.
I generally just save my DVDs and BluRays on the server with no further compression, and use HandBrake to create a set of ~700MB movies for the phones.
I use mythtv. It does pretty much everything. I love it.
Instead of tacking function after function onto the same server, I'd encourage you to use several small ones, including the $35 Raspberry Pi. That way one one piece of software starts to go haywire, it doesn't bring the whole shebang down with it.
Also, I'd go for fewer, larger disks. As long as you do backups it's not more risky, and it's a lot more practical. HDs reach 4TB these days, so you're talking 2 HD for your existing data, a 3rd one more more capacity, and double that for backups.
The Cloud - because you don't care if your apps and data are up in the air.
10 disks in a raid 0 type setup is a big risk. Also lot's of pci cards eat up PCI bus io and maybe even the same io used for the network also your board like only has 100M e-net. Now if your system has a pci-e slot then a 10 port non raid card + software raid may work and is cheap then a raid card. But you may also want to get a newer MB + cpu most new amd and intel boards max out at 8 sata ports. 8 ports may work out ok or you can get a new board with a dual core cpu + a raid or non raid card also a new MB will get you GIG-E + pci-e IO.
For what it's worth, I've had a FreeNAS box running for about a year now and I've loved it. I recently switched from FreeNAS .7 to 8.0.2 which does remove a lot of features, so I added a Windows based server to supplement that until FreeNAS 8.1 or 8.2 comes out, I'm sure you could have a similar setup with Debian instead of Windows. My main reason for FreeNAS has always been ZFS with a decent RAID-Z setup, which I was very glad for when one drive failed a couple of months back. If all you really need is more storage then perhaps a FreeNAS based supplement would work well, link aggregation and iSCSI are pretty neat things.
I would get a Mac mini, and use iTunes. Or you can get an apple tv and put everything in the cloud.
I saw somewhere that someone wrote software that replaces the old original xbox software with a pretty decent media server.
For a slightly more sane solution than rackmounting at home, consider the HP microserver.
Very low power (12W CPU), small, quiet, cheap, server grade, no Windows tax, holds four pluggable 3.5" drives plus optical (which some people swap for a 5th HDD for RAID5.)
http://blog.thestateofme.com/2011/05/14/review-hp-microserver/
http://www.silentpcreview.com/HP_Proliant_MicroServer
http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/15351-15351-4237916-4237918-4237917-4248009.html
http://forums.overclockers.com.au/showthread.php?t=905262
If 8TB is full, you need to stop the obsessive collection of warez/pr0n/torrentz you are never likely to watch again.
I had a similar situation a couple of years ago. The first thing I did was to invest in a high end Lian Li case that allowed 12 drive bays (with 3.5 to 5 adapters) and a very beefy power supply. Then I moved the motherboard and the drives to the new case.
Expansion then consisted of adding a PCI SATA card, more drives, converting from raid5 to raid6, and then slowly upgrading all the drives to 2TB drives. Once all the drives were 2TB, I expanded the raid6 to include the 2TB on all the drives. I still have 4 bays left over for more expansion in the future, and the option to move to 3TB or even 4TB drives over time.
This was all done over a period of time, and when 2TB drives were plentiful (and relatively cheap). In these times, it's probably smart to start with the new case and power supply, and watch for drive prices to come back down.
Check out UnRAID here. It is open source and lets you add disks more easily while providing redundancy. You should also check out the HTPC forum on AVS Forums.
I have been using Ubuntu server and Playstation Media Server (Don't let the name fool you. As for storage use XFS because it's tailor made to server large files. For storage these racks have colling fans and are allummium http://www.newegg.com/Product/Product.aspx?Item=N82E16816111045 and I just add hard rives as needed. The laundry room worked best for me.
Chris Sheppard
but you can stream everything from the internet in 2011... in HD and without commercials...
get more internet, dude
I would think about putting the box in the garage. Yes it seems like a great location, it's out of the way and such. However it might not be the cleanest place in the house. I for one know my garage to be one of the dirtiest places. In the winter the car drags in massive amounts of sand from the the winter roads, and leaves in the spring. Spiders and other insects, not to mention baby snakes and rodents, also make their way in from time to time and would just live a nice warm dark place inside the case to live...in city area's it could also attract roaches in from outside. (Despite sonic repellents and traps they still get in). Combined all that with being near moisture (wet car or rainy days). I don't see the case lasting long there. It would need to be cleaned out fairly often to keep fans and heat sinks from gunking up. Of course I understand some people's garages are nice and clean, and not subject to some of these things, but just saying I know for me it would not work out well.
Since you're not complaining about processing power or ram, you're in the market for a NAS. There are several good brands. I personally use Synology. It's a bit pricy but you get what you pay for. Personally I'd just add a few external USB drives until the prices fall (they're pretty outrageous now). When prices fall, get a nice 5 bay and stock it with 3TB drives that will give you ~12 TB in raid 5 and ~9 TB in raid 6 (recommended unless you like living on the edge).
You'll probably find the Synology can replace your existing media server (it has a pretty good support community) but since its all linux you can mount the nfs like another hard drive wherever you want the space in your existing drive structure. As your media server grows you can just get another NAS and keep expanding that way as long as you need.
May I suggest setting up a NAS? Wherever you like (garage, or wherever). You can set it up with RAID, and use it as a backup server too if you would like. This way, you don't need to get rid of your current system but just add up. There are a few of them now with plenty of HDD space and flexible RAID configuration, so that you don't have to get all HDDs with same capacity, specifications, etc. Therefore, you can even upgrade HDDs as you go. I personally have Synology DS1511 in my wishlist, although it is not a cheap toy. I don't feel I know enough to recommend any other file system. ext3,ext4, NTFS are what I use currently and I am naive if I am missing anything. Similarly, I don't know much about the differences between various linux flavors and BSD, therefore I think whichever you are most comfortable with should serve you well. x264/mkv is the format I use too, even for my blueray backups. It serves me well, and I personally don't plan to change it any time soon.
It works ... don't fix it!
The end ...
I got a Mac Mini Server, and I have way too many external drives (2x4TB FW800, 2x3TB FW800/USB, 3x1TB FW800/USB, and 1x6TB USB in RAID 5, the latter being for primary backups of everything sensitive)... The server is used for everything, from song repository (All lossless) to Plex server, Backup server, Mail server, PS3MediaServer, iTunes server, Sonos server, VPN base, I even rip my vinyls on it right now ... Seriously, it works for me. As I'm a pro photographer, @ 20megs per picture, and 1500 pictures per event avg, I literally eat out HDDs. Adding more and more as I need them.
And this will probably not work for anyone else. I don't care about anyone else, it works for me. I don't want my fiancée to be able to add up a new drive or switch a failed HDD, I don't care anyone else managing this beast. Anyone from family needs to connect, I give them a password for their service, and they have their own little world they can do whatever in it.
Next purchase is a Ethernet-based NAS I will put in the basement inside a breathing fire-proof box for a tertiary backup (no, transferring 40-60 gigs worth of data every week is not supported by my provider, and I got other things to do than annoy my friends every day).
This question is asked every what... 2 months? 3 maybe? Go to Newegg. Pick out a case. Good vendors are SilverStone, Antec, ThermalTake, Lian-Li, and FractalDesign. Don't find what you want? Check around the net until you do.
Then buy Intel hardware (AMD will work if you're diehard but why buy inferior hardware for the same price, these days) with Nvidia video (for VDPAU, assuming you want vid output for a "media server," maybe not. AMD chips support an extremely limited subset of VDPAU.) if you want maximum compatibility and best drivers (yes even on Linux).
Install FreeBSD or ZFS For Linux (not the FUSE version, the kernel module. installs with DKMS & runs natively. available in a PPA if you use Ubuntu.) and put it in ZRAID. Incredible speeds for software RAID and save a ton of money on RAID cards. Your HDD platters will bottleneck before ZFS does. Infinitely configurable. Also since SATA is a Serial protocol, it supports chaining of devices at full speed like USB. Many people don't realize this but all you need are some port multipliers, as long as you're not trying to do anything mission critical. And if you're lazy FreeNAS works like a charm with practically zero setup.
This is not a difficult question anymore and I don't know why it's being posted. Energy efficient, silent home servers can be bought for peanuts these days, even if you get a low TDP Xeon. Have enough money for a proper rack set up? Then why are you asking here. Go ask your Dell rep or vendor of choice. And by the way, Cat6 is not necessary for any home installation; it is designed to be used in industrial environments with high EMI - it can also be used to run 100Gbps Ethernet if you have a multi-million dollar hardware laboratory at your disposal. Cat5e is 2-3x less expensive than Cat6 - and be sure to get stranded core cable, not solid. You might as well run fiber if you're going to do Cat6, it's just as expensive these days.
Myself? I use a FractalDesign Array R2 MiniITX case with a MiniDTX Zotac Intel motherboard with a Xeon 1260L (Sandy Bridge, 40 WTDP). Six 2TB WD Green drives in ZRAID for 10TB redundant, useable space - Addonics 5 port SATA multiplier and Corsair 40gb SSD for the root drive. The motherboard has a Zotac Nvidia ION2 card plugged in which runs any video I throw at it without issue. 4gb of RAM and everything else standard. Cost around $850 total but that's when hard drives were cheap, probably a bit more now.
useing software raid is ok most boards have about 6 ports so if you want like 10 then maybe a x4 or better pci-e card may be needed.
Ballpark figures, this isn't exact, redo it with your preferred constants, I'm just trying to explain my reasoning against huge enclosures with > 10 drives,
Standard drive idle usage (W) ~ 10W [1]
Low-power (green) drive idle usage (W) ~ 5W [1]
Cost of power ~0.20 $/KWH
Cost of an older drive per year = $17
Cost of a green drive per year = $8.50
Replacing 6x500GB older drives with one 3TB green power savings = $95/yr
So think about that for a sec. At $150[2] for a 3TB drive, you cover the price in power savings in 18 months. That's assuming that there is zero fixed-cost per drive. At the point where you are talking about adding SATA controllers or fancy multi-bay enclosures or, worse, external enclosures with their own PSUs (and fans!), the turnaround-point for older drives is far sooner.
I'm a hobbyist, I understand that it's really cool to make do with older hardware and feel like you aren't letting anything to go waste but sometimes using old hardware instead of buying new is penny-wise and pound-foolish. Spending money on increasing how many hard drives you can accommodate instead of just buying newer high-capacity lower-wattage drives is absolutely batty; especially when you get into the price for anything remotely good in the RAID dept.
My advice, move everything to the largest capacity drives that are reasonably priced (after the flood damage is sorted). Replace the drives when you can do between 4:1 and 6:1 replacement -- should be every 3-4 years. Live happily, quietly and simpler. Save money on power transparently.
[1] http://hothardware.com/Reviews/Western-Digital-2TB-Caviar-Green-Power-Hard-Drive/
[2] I bought some Hitachi 3TBs before the Thailand floods at $130 on Newegg. Of course you would be silly as heck to buy hard drives now for your hobby storage project before they at least fall back to pre-flood level.
[3] http://www.newegg.com/Product/Product.aspx?Item=N82E16817182221
[4] Older drives need not go to waste, they can become offline storage with a simple USB dock[3] -- make a backup, throw it in an anti-static bag, leave it at your relative's house when you visit!
[5] http://en.wikipedia.org/wiki/File:Hard_drive_capacity_over_time.svg
I built a samba server a few months ago. it has 6 sata connections on the motherboard. I'm running it with 6 3 tb hard drives running raid 5 and i'm loving it. it has a lot of space so its very future resistant, and since I chose to go with an amd fusion cpu it is very low power. dual core 1.6 ghz. and the cpu heatsink is fanless, so there's no sound at all. ram is dirt cheap so I threw 8 gigs in there just because it was like 40 dollars.
the amd fusion motherboard cpu combo, 6 3 terabyte drives and 8 gigs of ram cost me like 1 thousand dollars. look around on newegg there's lots of options. hard drives are pretty expensive right now, though, luckily i got mine before they shot up. the one i got also has a pci-express expansion slot so you can easily turn that 6 sata ports into 10 with a sata card. there's no need to buy a server rack.
I'm running ubuntu server just because it was easy, but you could just as easily do it on debian, and if you're a free software/open source advocate debian is probably the way to go since it's running no binary blobs and the open source software is seperate from the core repos. though ubuntu 12.04 is going to be supported for 5 years, so long term that may be the way to go, if you want to wait that long.
I would recommend sticking with h264 though, because even with open source software its very well supported, and it's the best thing out there right now.
at the moment ext4 is the standard for most linux based operating systems, but it's going to be replaced by btrfs in the coming months(years?) once all the bugs are sorted out.
as for media software, I assume you mean on the fly transcoding media streaming software? I would look into ps3 media server or mediatomb. if you don't need to transcode on the fly why not just use a samba server to access your files?
also if you want to shy away from linux take a look at freenas which is based on freebsd, and uses the ZFS filesystem which has built-in raid5-like support, along with about a million other features. just so you know though it very strongly recommends a 64 bit compatible cpu and needs a lot of ram, though an amd fusion cpu with 8 gigs of ram should cover your needs just fine, since you have no use for deduplication.
I went from running my own servers (debian based) to just a simple NAS (ReadyNAS Pioneer is what I currently use). I got so tired of doing maintenance on the server al the time, and the family got tired of it sometimes being in various states of flux as I was upgrading or adding something. The NAS supports the regular streaming and file sharing protocols and updates when you want to apply them are just a button click via a browser interface. When I run out of space I just swap out the old disks one at a time, the server rebuilds the raid on the new disks, and once I have swapped them all out the NAS automatically re-sizes the entire volume. I use XBMC (xbmc.org) for a media client on a variety of endpoints (desktops, laptops, jailbroken ATV2, etc) and it all 'just works'.
I am also going to move mail from my house, probably to a gmail hosted solution because maintaining a mail server and spam filtering etc is also getting old. I still have some systems I can tinker around with, but the rest of the family likes their 'production' systems to just work.
and you need at least one backup and you need a UPS. If your RAID hardware fails (such as the RAID card), you could be sunk without a backup. If you're using software RAID, you could lose everything with a mainboard failure or system crash. RAID is not a backup and still has single-points of failure.
Sounds like you're a hoarder, too, which is a polite way of saying you collect a lot of crap. If you've that much time, why not try to be more discerning and be rewarded by saving big bucks on the hardware.
now just to fit the data on one set is like 3 HDD's and then raid 5 or 6 starts to look like a good idea.
freebsd - because ZFS has been great for me. I'd recommend freenas, but not if you want to use it for more than a file server.
A case similar to this: http://www.missingremote.com/review/fractal-designs-arc-midi-mid-tower-case
Many drive spaces in a reasonable-sized case.
A decent cheap to mid-range SATA adapter.
> "I started off building a media library a few years ago with an old PC running Ubuntu. Folders for photos, ogg vorbis music from my CD collection, and x264 encoded mkv movies. I have a high spec machine for encoding, but over the years I've moved the server to a bigger case, with 8 TB of disk capacity, and reverted back to Debian, but still running with the same AMD Sempron processor and 2GB RAM. It's working well,
OK, so it's working well. Why are you fixing what isn't broken? Regarding any CPU choice, I've ran at least a dozen types of CPUs with Linux or BSD on them, and they are all good. I'm fond of the m68040. What I'm saying is that CPU choice doesn't matter. With x86 CPU's your choice is between uber cooling and overclocking versus twitchy overclocking. AMD's tend to be more tolerant of very low temperatures, in case you have some dry ice chillin'. Regarding RAM, it's cheap, buy as much as possible. Fill all the slots, and test the BIOS' limits. RAM has always been my upgrade bottleneck (what I run out of first). I'm mad I didn't do exactly this with my current builds. Currently running AMD because it's cheaper, or so they say.
> it's also the family mail server, and the kids are starting to use it for network storage, and it runs both link and twonkyserver, but my disks are almost full, and there are no more internal slots. The obvious option to me is to add in a couple of SATA PCI cards, to give me 4 more drives, and buy an externally powered enclosure, but that doesn't feel very elegant.
Get a new server! That's what you want to hear. Just find some nice large full tower case (10+ drive bays, easily) and spend as needed on it's innards. Building is the fun part, so try to do something you haven't done. Multiple SATA cards are for sure going to be needed, as well as plenty of drives. Don't forget the spare(s). It has been my experience that running offboard and onboard SATA with it all in the same array tends to suck. I've done it on a few wildly different machines and it's never pretty for some reason. Might just be luck.
> I'm a bit of an amateur, so I'd like some advice.
Hi! You must be new here! Welcome, try the coffee cake!
> Should I start looking at a rack system? Something that can accommodate, say, 10 3.5" drives (I'm thinking long term, and some redundancy)?
Probably not. Racks are good if you can build around them, but for most amateurs it's out of the price range, however with some digging for deals this setup could probably be done for $300 or less, depending on how many servers and how fancy you want to get (12v rails? Solar backup batteries?). Don't expect your existing hardware to work with the cases, unless you don't mind using giant rack cases. Racks are best for when space is a consideration and money isn't. Normal cases are best for everything else. The exception to this is if you have a nice location already handy, like a suitable wired & cooled closet, and you *really* want to use racks.
> Also, what about location — I could run some cat6 to the garage and move it out of the house, in case noise is an issue.
A garage is a bad choice depending on your local climate because heat is your enemy and because of the large ambient temperature swings. You will need to cool this thing, at the least. Noise is never an issue, you're a nerd, loud cooling fans come with this territory. Either get over it, quiet it, or delve in to watercooling.
> Finally, what about file format, file system, and OS/software? I'm currently running with ext3 and Debian Squeeze. Happy with my audio encoding choice, but not sure about x264 and mkv. I'd also consider different media server software, too. Any comments appreciated."
Here at the house I run a Debian shop as well, and also still use EXT3, which is to say that if isn't broken, then don't fix it. I can't comment on x264 vs mkv, but I prefer mkv for no particular reason. I just don't care enough. What do you mean by "media server software"? DLNA is the current hotness,
For your use case(s), I would strongly consider a ZFS-based solution. I have similar requirements and have had loads of success running the community edition of Nexenta - a Solaris-based OS with a Debian (i.e. apt-get) user land. Kindof the best of both worlds.
Price is alway an issue. You are using the space so you should invest in decent storage capacity. I personally spin about 15 SATA drives off of a single raid card.
I recomend the following:
Build a decent NAS head with the following recipe and share it out to all your other devices.
buy a 4U case with ~ 20 drive bays that link to a SATA bus ~$300 (http://www.newegg.com/Product/Product.aspx?Item=N82E16811219041)
-You may need to mod the case if the port multiplier is SAS instead if SATA
buy a high point RAID controller in the 2000 class or higher (http://www.newegg.com/Product/Product.aspx?Item=N82E16816115049) (32 drives max with 4 port port multipliers and mini sas - 4 sata cable)
Start with 4x 2TB drives (RAID 5, 3 + hot spare)
1 gigabit ethernet hub
then attach it to a cheap cpu with a good amount of ram and gigabit ethernet. Stick the storage kit in the garage and run cat 6. Put the hub in the house and wire it to any machine playing back HD video, for the rest I find you can get away with wireless G.
You are looking at about a 1K investment in kit for storage. For OS I'd use your favorite flavor of linux, gentoo for me but I recomend deb or ubuntu for other people, that supports lvm. This way you can add new drives and expand the storage dynamically. You can expand ext3 or ext4 easilly, you just can't shrink them. In my opinion there no need to go exotic with the FS.
Once you set up the storage share is both via nfs to anything playing high def content and samba for everyone else. Then sit back, relax and enjoy.
BOFH, My model for being a sysadmin :)
I'm doing about the same thing, though my overall capacity is much lower due to the fact that I haven't been able to upgrade my 5 750gb drives in a few years. However I went to an external enclosure (Venus T5 from Newegg) and raid5. If the box is in the house, yeah I can see how you might not want an external enclosure next to the tv. However, once you stick it in the garage, that becomes moot. Who cares what it looks like in the garage? Run some cat6 to it, put a gigabit switch on the network (or 2 or 5) and enjoy having a nice, quiet living room. I'm using boxee boxes as the media frontends - one actual dlink box and a pc running ubuntu and boxee.
I personally hope HD prices start to drop sometime soon, I'd REALLY like to upgrade those drives but can't justify the prices right now for the size I'd like (at least 2TB).
der dee der.
The ZaReason MediaBox (http://zareason.com/shop/MediaBox-4220.html) but you have clearly outgrown that already... Both ZaReason (http://zareason.com/shop/Servers/) and System76 (http://www.system76.com/servers/) have server models that look like they would meet your needs. I usually prefer to buy from one of them (ZaReason will ship with Debian already). Another thing I would look at is using a video card for encoding. Couldn't find a link for how to do this, if anyone does please chime in. As for filesystems ext4 is the easy choice. If you build it in a year (and have update software including fsck for btrfs) I would go with that. For the software... what are using on the frontend/need to be compatible with?
If the issue is just plain physical space for putting more HDDs, get one of these Supermicro storage solutions. There's from 15 to 36 HDD chassis, so take your pick. It will cost "only" few hundred bucks. Then yes, you don't want this to sit in your main room, it would be too noisy. If there's no humidity in your garage, and it doesn't get too hot in there in the summer, then using a cat6 to it should be fine. If you don't want to change your motherboard just right away, then just use the old existing one you have currently for the moment, anyway any ATx board will fit in.
Build a new box and do it yourself. Pre-fab is never for nerds.
As far as a case with lots of room to grow storage, I recommend the Fractal Design R3. It has 10 HDD bays with noise dampening mounting, noise dampening materials on the panels, 7 120mm fan mounting points, and comes in around $100. Corsair has some good kit too, and these days it's not hard to find a mobo with 8 sata ports...
Get a Norco RPC-4220($350 - 4U / 20Drives) and then grab a couple SUPERMICRO AOC-SASLP-MV8 ($110ea). Get whatever MB works for you and you don't need as much a PSU as you'd expect(I have a Corsair CMPSU-620HX). The case is a little on the cheep side but a ton of my friends also have one and they work just fine, especially for the cost!
While I use WHS to manage the disks, my friends who are linux geeks would want me to say ZFS is absolutely the way to go and if I had their skill set I'd agree. Sounds like you could probably get ZFS working. I'd say all of us are quite happy with these setups. Now is a poor time to be buying drives tho :\ 3TB drives and even the 2TB are pretty expensive these days.
Oh, I would recommend buying some new case fans: Cooler Master 80mm Ultra Silent ... or whatever you like. I've found many MBs don't have the fan controllers needed so the fans run at full speed which is loud.
For media server, I recommend Serviio, and not _too_ worry about video encoding that much (on-the-fly transcoding, but a few mkv files do have issues, depending on how they were encoded). And Linux/Windows/Mac version are available for free.
useing software raid is ok most boards have about 6 ports so if you want like 10 then maybe a x4 or better pci-e card may be needed.
Or, get an actual server board (this is gonna be a server, right?), like this one. That's six SATA ports and 8 SAS ports. If you flash the SAS ROM to the "no-RAID" version, the controller is recognized natively by Linux. In addition, you get lots of PCIe connectivity, a pair of Gigabit Ethernet ports, and IPMI (allowing remote power cycle).
Then, find a full-tower case with lots of 5-1/4" drive bays, and add hot swap bays. There are smaller versions, as well...just budget what you need for drives.
I use the motherboard I referenced along with an add-on 8-port SATA card (anything supported by Linux would be fine) and two of the drive bays for ten 2TB drives in RAID-10. I boot Fedora off a pair of SSDs in RAID-1 and also have four 2-1/2" 750GB drives in RAID-10. The 10TB array serves iSCSI over 10Gbit Ethernet to ESX systems that hold all my VMs, with the 1.5TB array as local and NFS storage. There's still PCIe slots available if you need more controller cards.
With this setup, the VMs are how everything is accessed, so you can pick whatever OS you want to face client machines.
Once your data grows past a certain level redundancy becomes a must. For about 3 years I have been running an unRAID server & I don't know how I survived before it. It allowed me to start with 3 drives (approx 250MB each) to my current configuration of 14 hard drives (mostly 1TB but also a couple smaller drives and three 2TB drives). After you have the system setup you don't need a monitor. I have it in my basement which helps with noise issues that result from having 12 drives spinning 24/7. Because this is a SOFTWARE-based raid-like system I can mix/match different types of drives to get the most storage for the money. I HAVE had a drive fail and the rebuild was easy. Another plus is the data is NOT stripped so if the motherboard ever fails the data can still be accessed (any computer that can access data on a "reiserfs" (I think) filesystem). One recommendation... Wire for Gigabit Ethernet! Once you start transferring HD Video (terabyte-size files) you'll find it helpful. Another recommendation... Find a smaller (100GB-200GB) drive to use as a "cache drive." This will speed up the transfers to your unRaid box :)
Good luck!
PS1: http://lime-technology.com/
PS2: I have been running version 5.0-beta14 without any issues
I wrote about the latest storage server I built back in 2008, and a lot of my thoughts at the time are written up in http://www.tummy.com/Community/Articles/ultimatestorage2008/
However, to answer a few of your questions...
External disc enclosures? Avoid them like the plague. My initial experience with the 5 bay eSATA enclosures was pretty good -- sometimes it wouldn't pick up the external drives, but usually I could get it to find them after some tweaking, rebooting, etc... I ended up getting 3 of them, the AMS DS-2350S, which at the time were well reviewed, etc... I have since pulled all 3 of them out of active use and have them just sitting around. I don't know exactly the mode of the failures, but eventually after replacing some with others, I finally put them in internal SATA enclosures, which have been very reliable (I used these Supermicro CSE-M35T-1.
Also note that eSATA connectors don't really hold on that well. If anything, they're not as robust as internal SATA connectors, despite being outside the case where they can get banged around.
If I were to do it over again, I'd probably stick with the case I started with, with 5 internal 3.5" bays, and 3 front 5.25" bays, and put the Supermicro in there. I'd also probably go with fewer big drives rather than more smaller drives like I did previously (even though at the time the drives were free, I had them from another project).
As far as running it in the garage, don't even think it, unless your garage is not where you store your cars. I have some computers that I've run in the garage for the last 9 months, and they are filthy, I've had a lot of fan failures, lots of dust, insects, and random other crap. I put mine in our furnace room, which has enough extra space.
As far as using a server case? Hard to see the payback there unless you have a cabinet. Most server cases are HUGE, heavy, and expensive. A 3U case with 12 drive bays likely costs $500, plus you usually have to deal with special form-factor power supplies, expect to spend another $200 on one of those. I wouldn't do it, and I have a 3U 12-bay Chenbro case just sitting at my office that I could re-purpose.
As far as the file-system, I selected ZFS (via zfs-fuse under Linux) and I've been VERY happy with it. The primary benefit is that it checksums *ALL* data and can recover from some types of corruption or at least alert about corruption if it can't correct it. So, if you are storing photos or home videos that you may not be accessing very often, that's good peace of mind to have, I know in 10 years I won't go to look at some photographs I've taken and find they were silently corrupted. Of course, you could get similar benefits by saving off a database of file checksums and checking and alerting if they are bad. Really the only downside of ZFS that I've seen is that if you need to do a RAID rebuild it is a seek-heavy task rather than just streaming. I have a 8x2TB drive array that I'm currently rebuilding (drive failure, at work), and it's 33% done after 31 hours. A normal RAID-5 array would have rebuilt that in what, 10? The system is idle except for the rebuild.
If you care about the data going into it, make sure you checksum and verify the files regularly.
The 8 port PCI SATA card I got is fantastic, it's a Supermicro with the Marvel chipset and is very well supported (even supported by Nexenta).
Finally, all this data is encrypted, so if someone were to burgle us I only have to worry about them getting the hardware, I don't have to worry about them now having scanned bills and other documents and other personal and private data, etc... This is why I'm running ZFS in Linux, it gave me encryption plus ZFS (not available otherwise in 2008), as well as being an OS I'm very familiar with.
As far as OS, I am personally running CentOS on my system because that means I can install and set it up and then forget about it for quite a few years, except for regularly running "yum update". Debian should be fine, but you will get/have to track upstream changes more frequently.
Seriously? I've been ripping DVDs, several per week, for years, and I am not even near 8TB.
I have probably 300 movies at 1-2GB each (High quality AVC/AAC, with all original audio tracks and closed captioning saved), which makes about 400GB.
I have another 3TB drive that saves the original full size DVD rips, but that's hardly necessary.
With an 8TB drive, you could old over 4000 movies at a reasonable encoding - that seems a bit excessive unless you are opening your own iTunes store.
I guess if you are an illegal downloading fiend with BitTorrent running 24/7, you might fill up that amount of space, but then you would also end up with 27 different file formats, various quality encodings, etc. Buying that many movies on DVD, or on iTunes would cost a fortune. Either way, I wonder who would find time to watch 8TB of movies. Just properly tagging the metadata would take you forever.
I think the first issue you need to address is separating the use cases.
Get a separate server or NAS for storage. (And make people delete stuff they don't reasonably need - the average person has no problem fitting everything important in 80GB or so - if your family needs terabytes of storage, they are either storing raw video, VMWare images, or are junk collectors).
At any rate, the NAS could easily have 4 drives of 3TB each, making 12TB.
The TV connected thing can be separate, and probably doesn't *really* need more than 1TB, but depending what kind of machine you use, you could put 1 or 2 internal 3TB drives. Also note that drives are still increasing in capacity and decreasing in price, so it doesn't make sense to reserve space for 10 drives, especially when something like SATA3 may come out in a few years and turn all your investment into waste.
(I use a Mac Mini with 1 external drive because it's low power and can also run iTunes without Windows).
As for encoding, OGG Vorbis quality is excellent, but quality is low. There is a theoretical patent issue, but for practical purposes, AAC will run in everything, and sounds better than MP3. Likewise, AVC/AAC in an MP4 container will run on iPad, etc., so I don't see a lot of advantage to using MKV, even though it might be a fine format.
I see everyone suggesting expensive server setups, drive chassis, even racks! For a simple home media server you dont need much. I currently have a simple big tower chassis (11x5.25" and 3x3.5" bays) with a generic motherboard (1xPATA, 4xSATA) that holds 10 hard drives. How? I stuffed it with a couple non-raid controllers and 5.25" to 3.5" bay converters. Theoretically, I can expand for up to 18 drives before even considering a second chassis. Just make sure you have a beefy power supply to take the load when you turn it on. Ive also applied software raid to protect myself from failing drives, which is hardly taxing the CPU. Software raid has an added bonus that you can mix drives of different sizes by smart partitioning.
So - and feel free to replace this with your OS of choice - I went with OSX and Time Machine. The main drive stores all of my audio/video/picture files, and I do incremental backups to a second drive. If a file is corrupted, I can roll back a week and restore. If the whole drive dies, I can do a full restore from the backup.
As for other levels of RAID - the biggest bottleneck in your system is probably going to be your network, not your hard drive read speed... Though we'd all love to have RAID 5+1 systems, there's really no need if it's a media server... Realistically, you're only serving one stream of data at a time, maybe two, but that's it.
http://www.coraid.com/products/san_storage
It's a plug computer with 2 or more USB ports. Ethernet ... all the usual stuff.
$99 last time I looked. Then hang a USB 2.0 hub or two of it, add drives as needed.
The documentation online is a bit sparse, but I saw has a hdmi port (probably just a
text console with the limited memory).
So hook to a cheap monitor, usb keyboard and mouse, set it up, disable the F1 interrupt
on boot if no monitor present stuff, plug in a closet with an ethernet cable to the hub/switch, drives and
your off and running.
Thinking about it myself.
I can't tell you what is best, I can only tell you what I use.
Iomega Iconnect NAS server, Ethernet to DSL wireless router;
4 4 terabyte USB drives (total 16 GB with growth capability with USB hub);
Avermedia 0272 Media player for my TV and Stereo.
MKV may be "the best" if you're looking at a list of features, but if you had looked at the actual spec for the file format you would know that it is more complex and convoluted than anything imaginable. Seriously. The MKV spec makes a human DNA sequence look like a hello world program.
I bought a QNAP NAS. It runs Linux, has media server stuff pre-installed and runs Linux. You can even install extra software if you like or just trow out all the software and install a "real OS" (Their words) like Debian.
http://www.qnap.com/pro_detail_feature.asp?p_id=134 shows a list. Connecting my Linux machines goes over NFS. If I had a MAC, I could use AFP and for Windows there is Samba.
The standard possibilities are almost endless and as you can install extra software, they really are limited to your imagination and knowledge.
Don't fight for your country, if your country does not fight for you.
UNRAID. For media like videos, and ease of expanding, nothing beats it.
Using a full tower and 4 in 3 cages, you can easily fit up to 16 drives for a total of 30TB if using 2TB drives or 45TB if using 3TB drives.
Using a Norco case, you can fit a total of 24 drives. For a total of 46TB to 69TB depending on 2TB or 3TB drives.
As many others have already stated, a NAS definitely is the way to go here. There are 2 good manufacturers that accomodate any need and have vibrant communities providing excellent support on top of what the manufacturers themselves offer: QNAP and Synology.
Both of them basically use custom Linux builds on their otherwise very PC-like hardware that is open to all sorts of tweaking and readily allows for adding all sorts of extra software.
So,
The system is fine as it sits. MKV isn't my favorite container format due to lack of player support, I use mp4 myself. I do however appreciate all you MKV users. MKV is a great container and i like all the open source options.
Expansions should be done with iSCSI across your local network;
1. Small boxes with 4x2TB in RAID5 with Openfiler
a. use and fusion itx or atom itx main boards.
b. avoid sata3/branded data add-on channels
2. Expand via iSCSI for SAN Devices
a. RAID5 for redundancy
Openfiler supports other things, but iSCSI is pretty decent. If you need ideas on IP spoofing for iSCSI to attach iSCSI outside your subnet google search and you'll find my article.
You seemed unsure about encoding. I suggest h.264 video and AAC audio, since it's the only thing supported by Flash, Silverlight, iOS, Android.
How many more years will slashdot have an off-by-one error on your Score in your profile?
Except with unRAID, sorry I don't need enterprise RAID at home but the hardware you chose is solid and the 5n1 adapters rock! I can stream 1080P video with DTS on a 100meg NIC, I sure don't need RAID 5 or 6 spinning my drives all day, let them spin down :)
Build it, Drive it, Improve it! Hybridz.org
Build it into the sofa you probably spend too much time sat on! That space below the cushion under your bottom is probably empty (unless you have installed a toilet a-la- Idiocracy. Any waste heat can help warm your ass, and if you ever have to plug any additional devices in, or load any new media, you never have to get up!!!
Is your current solution working for you? If so, just add storage. Problem solved. No need for a post.
Is your current solution failing you? If so, how? Make a post about that.
You do know, any ROM flash is just software raid right? Even SAS controllers don't have hardware RAID unless you buy a real raid card for $$$. Real raid cards have write back memory and a BBU.
That being the case you're better off using something like linux software RAID so if your SAS controller happens to die, you can still recover your array by simply plugging it into another machine
Normal people worry me!
a) i am running out of hd space
b) i feel (=movies dont play without interrupting) that the processor is a little slow
c) i am bored over the christmas holidays
d) i am worried the thing explodes or falls apart
if only a): attach a NAS and make an archiving system
if a) and b) or d): there are enough shopping guides for off-the shelf pc's out there. You priority should be energy consumption, reliablility and space for more hds. Condiser external sata boxes
c) play around with something differnt.
An easy way to add more disks to your setup without adding more controllers is to use SATA port multipliers. I've been running a home file server with up to 20 SATA disks plugged on a single PCI slot (4-slot host and 4x 5-port port multiplier). The total bandwidth is limited, but it's been enough for my personnal HD video streaming needs.
There are not a lot of manufacturers though. The chips themselves are often designed for external enclosures, but some boards for PCs exist. I took mine from Addonics.
My tips:
Hardware
- Get a tower with a lot of 5,25 inch slots (there are midi towers with 9 slots available)
- Get passive harddisk coolers that you screw on the drive and then need a 5,25 inch slot such as: http://www.akasa.com.tw/update.php?tpl=product/product.detail.tpl&no=181&type=Cooling%20solutions&type_sub=HDD%20Cooler&model=AK-HD-03BK
- Get a highly efficient PSU (I got good results with Enermax 87+ series)
- Get 1 or 2 silent and high quality 12cm fans
- Get a CPU cooler that is mostly cooling block with on top a 12cm FAN
I did this and have a system so silent I need the leds to see that is on. Also allows for massive amounts of storage.
For software, you may want to take a look at http://www.nexentastor.org/projects/site/wiki/CommunityEdition
I don't yet have personal experience with this, but it is often used now in professional hosting.
And then put it in the basement and use something like a popcorn hour to connect to it over NFS to use the content :-)
---
There are plenty of good, quiet PC tower cases with 10 disk slots nowdays, for example the Fractal Design Define XL. Noise should not be a problem this way, if it isn't with your current solution. Migrating your old board into such a spacious case should not be an issue.
Personally, I would try to avoid more than 10 disks for home use because it'll become a hassle replacing the defective ones at some point. With 3TB SATA disks available at the moment, you can get around 24TB with enough redundancy (RAID-5 with 1 spare or RAID-6; "enough" meaning that you don't have to switch it off when 1 disk dies until you can replace it). No redundancy i.e. RAID-0 should be out of the question if you value your data.
To connect and handle the disks, you can look for a SATA RAID controller like the 3ware 9650SE-12ML. It's not cheap - noticeably more expensive than 2-3 additional plain SATA controllers, but easier to handle than software-RAID and bootable (Linux still needs an ugly workaround to boot from software RAID-5). On the other hand, I found it easier to migrate to bigger disks one-by-one using software-RAID than with various (expensive) RAID controllers, but YMMV.
"I love my job, but I hate talking to people like you" (Freddie Mercury)
Perhaps its not the greatest solution... but I suggest that adding esata drives is easy. That is what I did when I ran out of drive space on my server. Install an esata card and buy one esata drive at a time. That way u get maximum space at minimum price as you buy new drives as required. It does not require any changes to ur existing setup. And esata is just as fast as an internal hard drive. This saved me a lot of time, because the software is setup like a Tivo to auto archive all my favourite shows... and some I dont watch, but keep for others. This means reconfiguring the system is much more time consuming then just reinstalling Linux on a new box. So I just renamed the existing archive directory name, and symlinked that name to point to a directory on the new drive, copied all the subfolders where all the shows reside add configured the tv software to access the old shows through their new directory name. This was fast, painless and not too expensive. Aside: To the person who suggests u run compression manual on each show... well they are not archiving 30 shows per day and have no concept of what a computer is meant to do... ie: automate beyond anything u could possibly do by hand.
In the context of Music, I love google music.
I upload my songs, I clean up the metadata on line, I upload the album art work and it just works.
My android phone instantly gets the updates and correction. If I loose the phone, my next one has the whole library before I leave the store.
I guess Google TV has the same effect, for the desktop. I hope a desktop client comes out.
It is not quite what you are asking, but it may be part of what you are asking.
For the FS format, definitively go for ext4. It shall save you a huge amount of time when fsck, it's easier to undelete from. For a media server usage you don't even need to understand the old delayed sync controversy, it's not relevant. For films, you're certainly right with Matroska. For the rest I wont comment (I use x264 myself).
What about the energy efficiency. With 10 or 20 hard drives for playing one or two movies at the same time you waste a lot of energy doesn't? Is there a solution that turns hard drives off and optimize power consumption?
my front-end is a fanless asus atom (they only make 1 or 2 of those; get one with an ION video system on it). this works VERY well with (sigh) win7 and win media player. its glitch free. it replaced my popcorn hour since it bettered it (I really hate saying that but its true). also, the linux driver is about 80% as good as the win version but its sufficient for myth-frontend use! I dualboot this asus ion fanless system and go into linux when I want to watch mythtv (works well for live and recorded). it auto powers itself off and even an rf wireless dongle keyboard can wake-up this sleeping system (both lin and win7). its a winner and fully fanless.
the back end can be an i3 (my choice) or even another fanless box (just bought the asus fanless AMD e350 mobo. very nice and good price!) i3 is a good performer and low heat. the amd cheapie cpu is fanless but nowhere near as strong and its borderline for a server. its current linux driver is not impressive for video use so this is still mostly a business-level workstation, not a front-end. but ok for music (slimserver) stuff.
a back-end can be non-silent, so the i3 is my choice. I have a mini-itx i3 system that is tiny and fast enough for most things. and being an i3, its no POS and can do rebuilds very quickly. I like that; and times when I underspec a server, I hate it when I have to do source level builds or updates on it!
--
"It is now safe to switch off your computer."
Just flipped thorugh the comments. *NO ONE* mentioned backup or failover. Any RAID set you build is vulnerable to drive failures, and vulnerable to catastrophic failures of the RAID controller toolkit or simple "rm -rf /" deleting vital material. And this happens too often ins "built-it-myself!" environments, where the factors that the "high priests of IT" worry about tend to occur in their worst combinations. From people who like to do everything as root "because they know what they're doing", to people who slap dumpster found components together "because it's free!" to people who blithely ignore basic system and security updates "because they trust the people they're working with" or "they have a firewall!", I've seen about every combination of hardware blown, disk drive scrambled, irreplaceable software screwed up by badly written rootkit kind of failure.
If you don't have backups or a thought out failover plan, expect Murphy to camp out and plant a little flag on your virginal backside saying "for sale, no money down on labor day weekend" for every problem that wants to take a ride.
http://www.newegg.com/Product/Product.aspx?Item=N82E16811129097
I'm not so sure I agree with the summary that "an externally powered enclosure, but that doesn't feel very elegant." There are lots of fantastic external enclosure systems now. A few posts here talk about how external enclosures and RAID never spin down. This is wrong. I have an 8TB (5x2TB) Raid 5 tower (SansDigital) that spins down after 60 mins of inactivity, and takes about 5 seconds to spin back up when someone wants a file. I use an intel dual core atom box (nvidia ion gpu, plays HD just great!) that is smaller than my cable modem with Ubuntu and XBMC. It sits on top of the RAID tower and you barely notice it. With the speed at which my family gathers data I will need to add another enclosure in about 14 months. The next one will be 10x3TB drives (assuming another better box doesn't hit the market) and should last a few years. When I get this one I plan on purchasing another Atom based box and moving it and the enclosures to the closet / leave one atom box hooked to the TV. Ubuntu / XBMC will mount the FS across the network. From my experience most of my family is using wireless (me being the one exception) and the RAID array can read at ~100mb/s and neither the network nor the RAID is ever maxed out even with 3-4 users streaming HD. I am the only one that ever comes close to saturating the network, but my desktop HD's are slower than the gigabyte connection (~60mb/s). I could spend more money on faster hard drives but when I can copy a couple gig file in a minute or two its not worth the cost.
neorush
There is a broad selection of "tower" cases that accommodate at least six 2.5" to 3.5" hard drives. I recommend location of "Home Server" in closet or non-intrusive location via Ethernet with Cat6 cabling that is better for media streaming than Cat5e. One of the best kept secrets of storage in regards to software and formats is the ZFS file system found on Oracle Solaris and better yet the Free/Open Source Software (FOSS) FreeBSD Operating System (OS). Look closely at FreeNAS (FreeBSD stripped and configured specifically for storage), an enterprise class Network Attached Storage software that can also serve media and other files in their "native" format whether Apple HFS+, Microsoft NTFS, Linux ext3/4 or media formats.
I am currently doing something similar. I decided to go with a sas controller. http://www.servethehome.com/intel-sasuc8i-lsi-lsi-sas3081er-lsi-1068e-based-raid-controller-review/ this will get me 8 drives now, plus ability to add in the sas expander and easily go to 24 drives and more. Im in a case that can do 8 internal drives (plus a 4 in 3 if i choose) for now, http://www.newegg.com/Product/Product.aspx?Item=N82E16811146075 and will probably move to a norco case when i need to expand. something like http://www.newegg.com/Product/Product.aspx?Item=N82E16811219038 as far as fileformats, i say go with what works for you. handbrake and mkv do well for me. server software, i am currently trying to decide between ubuntu/centos or freenas. freenas will let me run from a flashdrive, the others will be easy to do bittorrent, LAMP stack, and run GUI and use file server to actually play movies to the tv. went with a gigabyte mobo and an i3, so it can decode even a 10gb movie and keep up on the bitrate just fine. it mostly just comes down to personal choice at this point, both would work well. just please consider staying away from the windows home server stuff, to many quirks for me. mobo/cpu ram. is a matter of choice. a 6 core phenom in a server chassis in the garage with proper ventilation should do just fine. or an i3/i5. although a friend of mine has windows 7 on computer near his tv, and he says handbrake refuses to work with the i3. but it worked fine when i had it with ubuntu ymmv. at that point it is just a matter how much do you want to spend, how long to wait for the recodes. unles you wanted to spend with abandon, then maybe a supermicro mobo with ipmi or something like a dell and a DRAC card "might" be worth it, since it might live in a closet or garage.
Why limit yourself to a case that can physically accomodate all the drives you will ever need from now until the end of time? There is an easier way. Buy yourself a small form factor PC such as a Mac Mini or roll your own miniITX system. Boot from flash and access storage via iSCSI. In an enterprise setting you may say it's not fast enough, but for home usage it's more then enough. There are lots of manufacturers building iSCSI connectivity in these days, so you could get somethink like a Drobo, etc, or you could roll your own.
I've been mostly skimming this thread but I don't think anybody has pointed to Amahi: seems like at least software-wise it would cover all the requirements for media storage and add/removal of HDDs. I should mention my favorite forum merely recommends Amahi as a FOSS alternate to WHS but that I have not actually used Amahi.
Also, I thought XFS was supposed to be a good/possibly best file system for large files?
"UNIX is very simple, it just needs a genius to understand its simplicity." -Dennis Ritchie
Waiting for some decent raspberry pi box.. actually, just someone packaging that nice little board into a nice case.. after that it's all linux+xbmc (again) :)
http://www.raspberrypi.org/
check out avs forums htpc section http://www.avsforum.com/avs-vb/forumdisplay.php?f=26/ You will get the best advice there.
Check out norco products. They are the cheapest on the market for server chassis'. Also check out flexraid to provide some redundency.
Since I'm constantly looking for something in this department of late, let me offer some input.
* I'd go with an i3 system with a small amount of ram (4GB would do the trick). Make sure the board has at least two PCIe slots which will be suitable
* Intel Ethernet is crucial for network performance, though there are some cards which are similar to the desktop stuff. If network perf isn't an issue for you now I'd not worry too much about it.
* Rack systems are nice, but unless you've got a rack and other rack equipment, in an area you can close off, they're a pain. The fans are often loud due to being small and high RPM, and if you need to power things off and move them around, it means taking whatever is on top (monitor, books, other systems) off (whereas taking the side panel off a tower is fairly straightforward).
* See if you can find a tower with many external 5.25 bays. You can then use something like this to adapt it as hotswap, if you want: link to product. The alternative
* You'll need SATA expansion above and beyond what the board has if you're going to fill the chassis. (The next-generation Sandybridge-E boards may offer this soon, reportedly having up to 10 SATA ports - but that doesn't exist now, and it's sure to demand a premium.) Don't use the Supermicro AOC cards, they've got shit Marvell controllers. Look at picking up some older LSI-based Intel or IBM SAS cards with SFF8087 breakouts for about the same price ($100-125/ea) supporting up to 8 disks/ea.
* Filesystems: I like to have an independent root and keep my storage on something else. Eg. two disks in a mirror and the others in arrays.
* I am a big fan of mdraid on Linux, and hate most hardware RAID implementations. MDRAID works well and is easily managed, enabling you to reassemble the arrays on any other hardware you've got available. ext4 still has its problems, as I understand it, but that's why we have backups. I've had good success with xfs and have been personally using it since around 2000 with good success. Some people like lvm, but I'm personally not a fan due to performance and management headache ( as well as seeing it break entirely too many times and how it encourages poor planning).
* H.264 with MP3 audio sounds like a good bet to me. Alternative to the MKV container is the MP4 container, which has lower CPU overhead for playback and is considered more compatible (eg. you can use it on Apple crap), but there's generally not a necessary reason for MP4. MKV can be repackaged into an MP4 fairly quickly (a minute or two for a full movie), though the reverse is not true (MKV has more b-frame data, amongst other things).
~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
If I may ask, how did you get the Marvell-based Supermicro SAS cards to work well? I couldn't get them from crashing the system after very short use. This was also with fused ZFS on Debian stable.
~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
As the "Anonymous Coward" above has suggested, you can:
Get a full tower case, something like a Lian-Li PC 80 with 12 5.25" bays
Then get 4 5-in-3 hot-swap bays
And as many SATA cards as you need to populate the bays (With 6 SATA connectors on your motherboard, you'd probably need another 2 4-port SATA cards to fill the box)
Top the lot off with a 750W+ power supply, and you're all set. Throw it in the basement, or out in the garage if it's temperature controlled (Would have problems with that up here in Canada; -40 makes for very unhappy PCs without a lot of sealing against condensation).
That'll get you (using 3TB hard-drive) 60TB of storage in a single case. You'll also have 2 free SATA ports, so you could have a separate SSD as your boot drive.
If you're going to be upgrading, you might want to switch to Serviio for your uPNP hosting, as it also handles on-the-fly transcoding into supported formats for uPNP/DLNA hosts using FFMpeg, and upgrading the CPU to enable real-time HD transcoding. Then you can store your media in the best format you can (Native from source, or x264/DTS if the source is raw), and not have to worry about having multiple copies around to deal with client compatibility.
This can all be done incrementally, too, especially if you don't have the funds for it on-hand at the moment (who does?).
The argument for using RAID6 (2 parity drives instead of 1) is that with the larger drives (1TB and up) if you have a hardware failure in one of your large drives (probably all from the same lot, possibly with sequential serial numbers and all with an effectively identical environmental history), your odds of having a second failure during a very long rebuild are not negligible. Your example of effectively 1% per hour on the rebuild should scare the crap out of many people - particularly if they've also been sloppy about backing up that 12+TB of data which is pretty likely.
Basically, if you have a pretty full RAID5, replace it with a RAID6 of significantly larger drives - get the extra redundancy, get some growth space, and take that RAID5 somewhere else - preferably preserved as a snapshot or used as a seed for offsite backup if you don't already have a good backup routine.
fencepost
just a little off
Norco 4224 is 4U with 24 drives. You'll probably want to use SATA port expanders rather than give each drive it's own SATA port. HighPoint 640's are cheap-ish 4x SATA3 cards, two of those each with three 4x expanders will fit. Buy drives and controllers as you go, as you need: find drive raiding that A) has checksumming and B) allows you to add storage ad-hoc. ZFS, Btrfs and Hammer all fit the bill.
For anyone wanting more or who plans on running multiple units of storage, start investigating Backblaze storage pods. You'll need to be willing to put the elbow great in to build your own fault tolerant networked systems from that unreliable hardware. :)
the several months old Sony Blu-Ray player I have plays them just fine. Sorry, don't feel like pulling it out to check the model.
damaged by dogma
The cards I had just worked. Maybe you're talking different cards, I'm pretty sure mine are SATA not SAS (check the part number for more details). I got them originally because they were one of the few chipsets supported by OpenSolaris, and they were apparently the chipsets used in the Sun "Thumper" boxes, but I moved away from the Solaris kernel and found they worked great under Linux as well. Perhaps you have a defective card? I've got maybe 6 of these cards and have been really, really happy with them.
I also played with the Silicon Image cards, and they worked great as well. They're a lot less expensive, but only supported PCI, not PCI-X, and I wanted the extra bandwidth. During RAID rebuilds or verifies, I'm getting 250MB/sec or so, so the extra bandwidth is nice.
Sorry I couldn't offer more help.
Openfiler + zfs + more low end boxes + iscsi target + Nfs = poor mans San. Each box roughly comparable to a shelf of disk. Trying to fit too much in 1 box is going to hurt resiliency and add noise to the single machine to extract all the heat.
I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
I would make best with what you got and wait to buy hard drives. Drives will probably be half the current price next summer. The upside is now is a good time to off load drives. I Ebay-ed a bunch of 4 year old 500 GB drives for about 2 1/2 times what I could have got a few months ago. I was amazed how much I cleaned out of my media collection when I decided to keep stuff I would actually want to watch or listen to again.
Or as an alternate approach, removable hard-drive caddies. I came to the conclusion that I could afford to spend 2 minutes locating the film/TV show/web video I wanted, and mount the physical disk myself. If you want redundancy, use two disks. As someone above has pointed out, the power-saving on an allways-spinning disk will go most of the way towards paying for an extra disk over 12 months.
In terms of locating the particular file/show/etc I want I went with GCStar, which had the added advantage of cataloging audio, software etc. In the end I found that overkill, and these days rely on sensible taxonomy and test-based manifests (find is your friend) and grep.
Face it, you don't need to keep everything you ever thought about watching again - you are not going to do it anyway. Just delete some files ;)
If Google really cared they would fix Android Chrome to reflow text, instead of discriminating
These are AOC SASLP-MV8 cards. They've got 2 SAS ports with which you can use SATA mini-SAS breakout cables (SFF-8087 - pretty standard faire) to get 8 SATA ports.
I've historically had bad experiences with SI cards, so I've steered clear.
I later picked up some LSI 1068e cards - actually, IBM BR10i cards, which are labeled SAS3082E-R. They work with everything. After some initial problems using the installed firmware, I flashed them with the IT (initiator) firmware, removing the "-R" functionality, so I can now use them with ZFS and md without issue. They're PCIe x4, and only cost around $120-$150 each. (They'll also give out some pretty good performance, FWIW.)
Which SI cards are you using, specifically? It'd be curious to have some ultra-cheap controllers for ZFS... not that $150 isn't already pretty damn lean.
~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
SnapRAID is an interesting opensource project that might hold a solution for this users RAID needs. Its kinda like unRAID, it's not RAID as we know it, but does have good recovery on data loss and is rather 'simple' to use. I think it's worth a look if you had a bad experiences with RAID5 in the past :( 'me'
Cheap box running an Atom or as wimpy a Sempron as you can get, a stack of 5.4k "green" (aka, slow, silent and not power hungry) drives, and FreeNAS. This hooks into a D-Link Boxxee Box.
FreeNAS allows you to use ZFS, which savagely rapes all other filesystems, leaving them curled up in the shower, whining about the water not being hot enough. It also allows you to export to everything(tm) (NFS, AFS, SMB, and a bunch of other acronyms I can't remember, even). And provides storage to everything, media or otherwise. And just kicks ass all around.
Building your own box here makes sense, because have you seen the outrageous prices of NAS appliances? Especially the consumer-home-lol-friendly ones. Ridiculous.
The Boxxee Box, however, means you don't have to dick around with what gets hooked up to your TV. Thing's played everything I've thrown at it without any issue whatsoever.
"Ogg Vorbis."
LMAO
Your server sounds nice but geez, how can you recommend that board in good conscience? Look at "Key Feature" #1 and , and I quote:
Not that I really believe the mobo comes with a surface-mounted i7 but even if that's a "suggested" processor, it's stupid, since this is a job for an i3 or better yet, Celeron (or Sempron or Athlon II).
Then there's all the SAS ports, which is theoretically very cool until he goes to buy drives and .. well, just check the low capacities and the prices. So he's left with a really really awesome motherboard costing I-don't-wanna-guess-how-much whose only good feature is that it has 6 SATA ports like most other much cheaper boards.
Ooh, and it can take 24GB of RAM, as if you need more than the minimum you can buy these days. 2GB will be overkill.
FFS, submitter, don't listen to this guy. He's going to have you build a really bitchin' machine but that's not what you want [to pay for]. DO NOT buy a "server" board. Most servers don't need "server" boards. Server boards are for high-end workstations, or in some rare situations, Internet web servers which run lots of requests processed by scripting languages. They're not for NFS or DLNA. A machine that costs 20% the price will be 99.9% as good.
I used to run Ubuntu Server with with one mdadm RAID5 array and one ZFS array using ZFS Native pool in RAIDZ1 as my file server. But I started running out of space in the RAID5 array, and was having massive problems with the ZFS pool under high IO (complete system lockups, deadlocks while flushing the write cache which killed SMB and NFS); 5Kb/sec writes and at most 5MB/sec reads after an initial 5-60 second _normal_ performance period.
I moved to OpenIndiana because I really like the long term and extensible benefits that ZFS offers, and the problems I was having seemed to only be happening to Linux users.
ZFS's built in, block-level data de-duplication means significant savings on episodic content. I'm currently running at 4% de-duplicated data. While 4% savings may not sound like much, I've got 4.5TB of TV shows that I'm storing in x264, and that yields a savings of around 100GB. I know that until recently, storage was dirt cheap, but even still, 100GB is nothing to scoff at. I've debated enabling the built-in compression, but I don't think I want to take the resource hit as my wife has recently started streaming things to her laptop while myself or our roommate are watching things on our respective computers.
Additionally, the ease of expanding and repairing my ZFS pool has made replacing hardware less time consuming, and has significantly lowered the performance hit while repairing the 'array'. Replacing a hard drive was dead simple with ZFS, and not nearly as nerve racking as the times I had to do so with my MDADM array. Additionally, I was still able to pull ~30MB/sec off the drives over SMB shares while the array was rebuilding. Writes also were similar over the network. Raw internal performance saw a significant hit, but moving things between ZFS file systems isn't something that needs to be done while rebuilding; using the media content is for my household.
Everything is running over Gigabit on cat5e with one Linksys 610N running DDWRT acting as a gigabit switch in my 'server room' (an uninsulated sunroom that's too hot to use in the summer and too cold to use in the winter), one crappy D-Link 5 port Gb switch , one Linksys e4200 acting as an AP and main switch, and an old Linksys WRT54GL running DD-WRT as my router and firewall. Recabling to Cat6 is extra expense for no practical gain. You're going to need it when you upgrade to 10GigE, but that's a few years away. By the time you start using 10GigE, Cat6 will be as cheap as 5E is now, and you still may not even see significant need to move to it.
Hardware wise, I'm running a system based on this motherboard, with 8GB RAM, this NIC, and this SATA controller, with a 80+Platinum certified power supply that I can't find a link to right now.
Solaris is installed on a Intel 320 80GB SSD, with 8GB dedicated as log space for my ZFS pool, and 40GB dedicated for cache space. I have one ZFS pool made up of two RAIDZ1 arrays. The first array is made up of 4 2TB WD Caviar Black (WD2001FASS) drives, and is attached to the SATA ports on my motherboard. The second array is made of 4 1TB WD Green drives attached to the LSI card.
Internal file moves average out at around 250MB sec for anything under 2GB, 800MB/sec for files larger than between 2GB and 7GB, and about 400MB/sec for anything over 7GB. Network writes are about 80MB/sec between servers, and about 40 max from elsewhere. which I attribute to the D-Link. Reads are also around 80MB/sec. I've been able to run 4 simultaneous 1080P streams without anyone complaining about stuttering, or excessive buffering at the start.
The system idles at around 40Watts, and under load pulls about 100. These numbers may be way off, because I honestly have no idea about how electricity
Keep on knockin'
https://robbiecrash.me
My home server is a machine which I've been running for the past 20 years in one form or another. It's never been completely rebuilt, though sometimes I have come close as I've replaced everything but the case itself. But I like to think of it as the ever evolving server.
Currently, it is an entirely passively cooled system and with the exception of the drives making clicking sounds on occasion is utterly silent.
1) Big roomy case. I'm using an I&S 4U rack mount case which has room for 8 vertically mounted 5.25" hard drives. I have a homegrown rack made out of kitchen counter top material and rack rails and a few screws mounted on rubber coated wheels as well. This makes it even quieter.
2) I lied about the 100% passively cooled. The power supply is not passively cooled, but by using a 1000w power supply for a system which uses about 100watts at peak load, the fan on the power supply serves as the CPU fan as well. I have to put my head up to the machine to hear it though. Search and you will find one... they're easy to come by.
3) 8x 2TB Seagate 5900RPM drives. They're cheap (or were before the "shortage") though I'd use 3TB or hold off for 4TB drives now.
4) Highpoint Rocket RAID 2720. It has 8 ports on it and has proven its worth already (I'm using the previous model, but this one is better) since I run RAID 5 and have survived two hard drive failures in the past year. The 2720 is worth its weight in gold because it has full support for SAS expanders, so this controller is actually useful for hooking up 24 drives without fans by using the EJ240 SAS expander in another case.
5) Using super cheap $1 each 3.5" to 5.25" brackets, I mount the 8 hard drives vertically in the chassis. This leaves A LOT of room to keep them cool passively. Perfect!
These are the easy parts... the trickier part is getting the right motherboard for the software. I personally run Windows Home Server 2011 which is perfect for my needs. I bought a copy from an online vendor for $35. It has DLNA, has something like Time Machine for Windows computers and with some other downloads, I have NFS and AFS+ support. I added a licensed copy of Alcohol 120% which allows me to mount CD/DVD images on other computers as iSCSI and it even emulates the copy protection schemes, so when I buy a game DVD, I can use it from any computer in the house without having to use NO-DVD cracks. I also run Air Video Server which allows me to play pretty much any file from the server to iDevices without reencoding.
So that's the point.. being able to encode multiple streams for streaming in real time and still being passively cooled. At the moment, I'm using a power hogging Core 2 Quad Q8400 CPU.... I'm not pleased with the power consumption and I have been running a few trial runs to see if a 45W Core i5 2500T would work for my needs. Using Intel QuickSync, it is proving to be a perfect solution as the CPU, even when re-encoding videos uses almost no power. Also, but moving the video card into the CPU, it eliminates most of the remaining power foot print of the system.
Then the last remaining item was purchasing memory which is low power as well. I tried 10 different sets of DIMMS and eventually found that power usage on RAM could vary as much as 10 watts for 8gigs.
I log power consumption of the machine 24/7 and find that the machine uses 25 watts when it is idling and peaks at 100 watts in bursts. Overall, the average power consumption of the machine is 37 watts.... less than the cable set top box provided to me by Altibox in Norway. (with the core i5... it's closer to 65watts with the Q8400 and the graphics in the chipset).
Oh... ONE LAST THING... the boot drive. I don't boot from the RAID. I boot from an SSD. I bought a cheap 60GB SSD for $60 from a "fire sale" which is slow... only 120MB/sec.
I'm sure that using Myth server or something else on Linux, this configuration would work well for you too. It's a little pricey... but it gives me 14TB of formatted space. If low power 4TB drives come out sometime soon... I may replace the 8 drives with 4 of those and then just add one as needed... I can afford losing the last 2TB since I'm not using all 14TB just yet.
Nono, the cards I'm using have 8 discrete SATA ports on them. See the photo on the URL that I pasted in my original comment.
The cards I'm using are all fairly old at this point, they weren't exactly the latest stuff in 2008 when I put together my storage server. They had a really good reputation then though. The SIlicon Image controllers I really don't remember, but the model number 3114 sticks in my head, they were 4 port PCI cards.
Backblaze, an online storage company has posted the specs for their rack mounted box. http://techcrunch.com/2011/07/20/backblaze-presents-their-bare-bones-7348-135tb-storage-pod-for-backup-on-the-cheap/
One thing that pisses me off is the latest video drivers don't work with fullscreen overlays on TVs. NVIDIA and pulled this useful fullscreen video feature from their latest video drivers and Windows. They say it is for copy protection/DRM (lame!). ATI can do it but for me, I have to use DVI and CRT (no VGA since I use an old KVM from Y2K) only. :(
Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
Check out linux based Qnap NAS devices. They have big model range from home to corp. Very power friendly and nice GUI.
I just picked up a pogoplug v3 last week for 25 bucks. Installed archlinux, minidlna and samba and bam i have all of my files available to my tv.
You do know, any ROM flash is just software raid right? Even SAS controllers don't have hardware RAID unless you buy a real raid card for $$$. Real raid cards have write back memory and a BBU.
I never claimed the motherboard had hardware RAID...I just said it had 8 ports of SAS on-board. As an add-in card, that will set you back around $100, so I was trying to show how a true server motherboard is a better deal than a cheap motherboard that you have to add everything to. Also, the SAS controller has 8x PCIe lanes dedicated to it, so that you can even use SSDs and get their full speed.
I do use Linux software RAID, with 5 drives on the on-board SAS, and 5 on my add-in card (which is full battery-backed hardware RAID, but I'm using it in JBOD mode, 'cause it was handy). The RAID-10 splits each mirror set across the two controllers. I tried RAID-5, but it only gave me about 200MB/sec write speeds, and I get nearly 350MB/sec with RAID-10.
Not that I really believe the mobo comes with a surface-mounted i7 but even if that's a "suggested" processor, it's stupid, since this is a job for an i3 or better yet, Celeron (or Sempron or Athlon II).
For a server, you want lots of threads, ECC memory and lots of PCIe connectivity, which this has. I use a W3520 processsor, but disable hyperthreading so I have 4 cores.
Then there's all the SAS ports, which is theoretically very cool until he goes to buy drives and .. well, just check the low capacities and the prices.
So, buy SATA, which every SAS controller supports.
Ooh, and it can take 24GB of RAM, as if you need more than the minimum you can buy these days. 2GB will be overkill.
With 8GB of RAM, Linux is using nearly all of it as disk cache. This gives me in the neighborhood of 900MB/sec reads for cached data for the VMs (over 10Gbps Ethernet). Since I don't cache the media (movies, music, etc.), but only the OS and other small data, this gives huge performance benefits for stuff that matters.
He's going to have you build a really bitchin' machine but that's not what you want [to pay for]. DO NOT buy a "server" board. Most servers don't need "server" boards.
If you want to run something 24/7, you need to pay for quality. Since the OP also wants lots of connectivity, he's better off paying $200-300 for a better motherboard instead of paying $100 for a cheap one that needs $100-200 in extra cards. Also, if his needs grow, he won't need to replace the motherboard...he can just add a card or three.
I use one of the Norco 20 or 24 bay Server Cases ($300-400 on Newegg) for the server. It's a rackmountable case but works just fine sitting on a table or a sturdy closet shelf. After swapping out the Delta fans it comes with, it's fairly quiet. I have mine sitting on a small table in my home office and it doesn't bother me at all.
The hardware inside can be whatever you want and can be added to and upgraded over time. I started with a Supermicro 8 port SATA card and 6 1TB HDs in a JBOD setup on a Core 2 server mobo (for a couple PCI-X slots) I picked up on Ebay. Over the course of 3 or 4 years it's now on an Intel I5 system with 20 2TB in Raid 5 using a fairly cheap Areca hardware raid card and an HP SAS Expander Card. I added the HDs over time, buying one every month or so at first and then buying 2 or 3 at a time once they started getting cheap. Thankfully I finished and have plenty of warranty left in case of a failure now that they're not.
I also tried a bunch of NAS OSes, Linux distros, and WHS but they all had something that annoyed me when I tried to use them as a media server OS. For something as simple as serving media files for the home, a simple OS like Windows is perfect. I just threw on a copy of Windows Server 2k8 from my Technet sub (Win 7 would be fine as well. 2k8 is just a bit easier to run headless) and added Sickbeard, Coach Potato and some ripping and conversion tools.
To play media, I use XBMC. It'll play anything, including ISOs so I don't have to rip and convert my movies and it's very easy to manage.
I used to use old computers and build HTPCs out of them but now I use things like Acer Revo, Zotac Zbox or Apple TVs. Whatever's cheapest that's small and can play HD video. I load XBMC on them and attach them to the back of the TV with Velcro, run an IR receiver (if the mini-PC doesn't have one, I buy a cheap one on Ebay) and I'm good to go.
The hardest part of my setup was that house wasn't wired with Ethernet and I don't have the skills or confidence to start drilling holes to run it myself. I had an electrician come out and run conduit to each room in the house where I'd ever want video and then ran Cat 6 through that. With everything being wired through a GB switch, everyone in the house (up to 4 TVs going at once) can be watching something off the server and we rarely have any stuttering and I spend very little time administrating it.
you can buy a 20 or 24 bay case for around $300-$400 US, e.g. Norco RPC-4020 or RPC-4224. Takes up to a full size EEB 12"x13" motherboard and 20 or 24 3.5" hot-swap SAS/SATA drives. Can take a standard power supply or there are redundant dual power supplies available.
http://www.norcotek.com/item_detail.php?categoryid=1&modelno=RPC-4020
http://www.norcotek.com/item_detail.php?categoryid=1&modelno=RPC-4224
The 24 port version has a nice option to replace the internal fan bracket (which supports 4 x 80mm fans) with a bracket that supports 3 x 120mm fans. Much quieter for a home environment. Dunno if the RPC-4020 has a similar option. You *WILL* want to replace all of the supplied fans with third-party silent fans. http://www.silentpcreview.com/ is a good place to start researching this.
Even if you're only planning to have 10 or less drives right now, the extra bays are useful if/when you need to replace or upgrade existing drives. You won't have to juggle drives in and out of bays just to replace them. or have a drive hanging outside the case for a few hours while the data is copied.
For extra SATA ports, there are several models of LSI 9211 and similar HBA adaptors providing SAS/SATA 6Gpbs, PCI-e 8x slot. RRP is around $350 for 8 port models but you can find them cheaper on ebay, and several manufacturers (e.g. the IBM M1015) have significantly cheaper rebadged models. A SAS card allows you to use either or both SAS and SATA drives, and also allows you to use SAS expanders (to attach more drives to the one card - SATA has something similar called "port multipliers" but it's a crappy substitute only good for destroying your data). Unless you don't have enough PCI-e 8x slots in your m/b, though, you're better off just buying more 8 port cards.
They're just "dumb" HBAs offering only RAID-0, RAID-1, and JBOD....but that's exactly what you want for software raid or btrfs or ZFS so why pay extra for RAID-5 in the card that you're never going to use.
The LSI 1068 based cards are even cheaper, but they only support SAS/SATA 3Gbps. Doesn't matter much for current hard disks, but you'll need a few 6Gbps ports on the motherboard if you want to use SSD drives (e.g. for caching.)
here's a good starting point: http://blog.zorinaq.com/?e=10
see also http://forums.servethehome.com/showthread.php?19-LSI-RAID-Controller-HBA-Equivalency-Mapping
For the file system, I very strongly recommend ZFS On Linux (the native kernel implementation, not the ZFS-Fuse module). http://zfsonlinux.org/ - gives you raid-like features, disk/volume management, compression, de-duping, snapshots, ssd caching and more. all data is checksummed too so it can detect errors (and automatically repair them from redundant info on the RAID1/5-like volumes).
The Ubuntu PPA compiles easily on debian (you only have to change one dependancy from zfs-grub to grub in the debian/control file) - it's about 10 minutes work, and most of that is waiting for the packages to compile.
ZFS will give you software-raid like capabilities - superior equivs to RAID-0, RAID-1, and RAID-5/6 and combinations of them, plus multiple optional hot and cold spares. "superior" because the redundancy is on the file/data level, not at the block level, and each block of each file is checksummed. Plus you can use one or more fast devices like an SSD for automatic read caching of frequently access data (ZFS cache or L2ARC), and for a write-intent log (ZFS ZIL) for buffering random-writes to an SSD before writing them to the main drives. This ZIL eliminates the final advantage that hardware raid cards had
Many ways to go with a media server. One bit of advice to you Geeky McGeeksters, stop being so angry. You are smart but you have no emotional stability. Sign up for my charm school if you want to control your own destiny, like the Jedi Masters of Yore! May the force be with you!
There are several ways that you could increase the storage on your system. One would be to increase the size of each of your physical disks and keep your existing setup. Another would be to add SATA cards with eSATA external plugs and add additional drives to an external eSATA enclosure. My concern with external enclosures, however, is heat dissipation. Heat is often a destroyer of drives, but there are external enclosures available that address that problem. You could replace the case where you could add additional drives, but eventually you would be back in the same situation that you are in now. However, a combination of these options would not only allow you to currently increase the size of your storage but also allow for you to have room to grow in the future. That would not be the most cost-effective approach for short term growth but would be most effective for long term growth. Replace the case with a case that has more expansion bays for HDDs, add eSATA cards, upgrade some of your drives, and put the old drives in external eSATA enclosures. If you wanted to go to a rack system, then you would have substantially more room for growth, a specatucular setup, but would not be near as cost-effective. As for your HTPC software, I currently use XBMC in a HTPC case using an old PC with a core2 duo CPU and several gigs of RAM booting from a 4GB usb drive. XBMC covers everything that I need and streams my movies(h.264)/music(mp3)/pictures without an issue. I even bought some fancy remote to work with it, although my family prefer a wireless mouse over the air-mouse. My server uses an Antec 180 case with a AMS SATA Backplane Module modded to fit into the 5.25" bays. I still have room for a Blue Ray burner and I can fit 11 drives in the case, for a current total of 31 GB inside of one case. I use five 120mm and one 80mm SilenX fans in the case for quiet/reliability/performance. My two cents. Hope it helps.