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
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.
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'm sorry, did you read the summary? Do you honestly think a Mac mini is a step up from that or solves the problems presented?
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
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.
He wants a media server not a HTPC.
I had a sig once. It was lost in the great storm of '09.
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.
I was going to suggest Apple as a joke, but rereading it his main issue is storage and he does ask about OS as part of his issue. I don't consider storage and front end coupled so the Mac mini and iTunes is a legitimate interface suggestion as long as he understands the implications to the content.
A mac mini is a perfectly valid (if expensive) media solution. I personally use 2 synology NASs feeding a Mac Mini which is a dedicated iTunes server feeding 4 apple TVs (When I win the lotto I might try out a promise pegasus but until then the synology NASs are growing the library nicely). It's a bit of a pain to remux mkvs to mp4s but it works and it's a really nice solution once you've gone through the headaches of setting it up (yes better than a boxee box -- tried it, now gathering dust, better than every DLNA solution I've tried). The Apple TVs are just really, really nice media end-points and iTunes is a perfectly good management system.
But yea iCloud has no place in any video solution (your purchased shows can be streamed -- movies can not, and this solution will introduce you to your ISP's bandwidth caps very quickly).
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.
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.
> "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,
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.
If he just wants to go cheap and its gonna be stuck in some garage anyway i'd say white trash it like we did at my last shop. Me and the boss took a couple of the biggest cheapo ATX cases we could get our hands on, took out the motherboard mount and cut the frame on one, and finally a couple of small weld stuck them together. We ended up with something like 16 SCSI drives in that sucker for a total of 2Tb when most folks were still getting 80Gb drives. with those babies loaded with every single driver for just about every piece of hardware up to that point it was quick work to reload a PC.
:As for the board I'd go with something like a cheap AMD board with a nice cheap Phenom low power quad. you can get a Phenom I quad for $55 at Starmicro and add a couple of Gb of DDR 2 for maybe $25, board for around $40 and finally a decent HSF for around $15.
So when you figure in the cases which with no PSU can be had for less than $20 a piece from many places like Geeks you are looking at a final total of around $185 for a quad with 2Gb of RAM with an add on card for adding more SATA slots. Sure it won't be the prettiest thing around but if its just gonna be serving files from a corner somewhere who cares? I'd add a little more and get a full size board with lots of SATA slots and 3 PCI slots for adding more SATA cards and you'd have a thing you could load to the brim and with the low power Phenom quad you'll have plenty of power for controlling the whole deal and maybe even it doing some of the transcoding work via scripts at night when its not serving files.
ACs don't waste your time replying, your posts are never seen by me.
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.
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.
Just because you don't understand the request doesn't mean it's gobbledegooke, it means your knowledge is limited.
Personally, I don't trust any auto-encoding solutions as they easily go haywire. I'd suggest doing that all by hand.
Ext3 is fine, & a rack mount is a necessity. If you want smooth operation of the system, at least 2 network cards are a must (I run 3, 2 bonded for media/SMB, 1 for management & VPN). I'd suggest having a decent 16 port switch in the house & running the 2 (or more) cables to the box.
For DLNA I just run miniDLNA & for torrents I've just set up uTorrent with a web interface. There's very little my desktop actually does.
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.
Ummmm, why two nic? The HDD and it's bus are the bottleneck - I cannot max out a gig-E nic now on my server but can play 1080P via x.264 with surround sound DTS encoded on a 100meg connection. No stuttering, no issues, no muss no fuss. It's wired for gig-E but sadly this nic refuses to synch at it.
I WOULD run some sort of redundant storage. However I wouldn't go traditional RAID. Striping data across disks along with parity makes for lots of speed, also means the disks never shut down. No thanks! I happen to use unRAID from Lime Technology. Parity isn't striped, it's held on a single disk. Each disk uses a standard format - ResierFS (ick). But's journaled and standard enough that recovery is easier. On top of that I can pull a disk and get data from it on another machine - one disk removed I still see all my data. Last but not least - if I lose multiple disks at once I only lose the data on THOSE disks and not the entire thing. Losing one disk I lose nothing. In 6+ years or so I've never lost more than one disk. Since parity isn't striped and neither is data one of my servers has ALL drives spun down and quiet, the other has just 2. Between them I have a bit over 22TB worth of disk BTW and not all are 2TB disks but as I fill smaller ones I swap in 2TB disks, the system migrates the data fine. Other programs can be run on this system, it's Linux based, but it's trickier than a full OS install - which has been done by some too.
Honestly to me it sounds like his current setup is working save for disk space. Why not just upgrade to 2TB disks? Surely he has more than 4 ports? If add-on cards are needed they are plentiful. I would also suggest using 4n1 cages for easy swapping. A low speed CPU is fine, underclock it maybe too - HDD bus is the bottleneck!
Build it, Drive it, Improve it! Hybridz.org
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.
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.
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?
He wants a media server not a HTPC.
then pretty much any old PC with a bunch of 3.5" drives would work.
I googled "build a media server" and found several guides. Here's one for $300 with six 3.5" bays and here's a 4U rackmount server case with twenty 3.5" drive bays for roughly $1,000
my karma will be here long after I'm gone
XBMC however on the old hardware it's not going to do high bitrate HD. Better to go ION hardware or an aTV with XBMC, it's been ported to Linux, Windows, and OSX - Plex is based on it.
Build it, Drive it, Improve it! Hybridz.org
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
Atom based boards are pretty good. Make sure you get one of the 5xx series, the dual core hyperthreaded ones. Earlier versions have terrible performance but the 5xx cores are actually pretty good. Won't win any benchmarks for computationally intensive tasks but for responsive file serving and some background downloading they are ideal. I have an Intel mobo with the CPU soldered one and it draws about 11W including the HDD and 2GB of RAM most of the time, just be sure to get a low power DC PSU rather than the usual generic ATX.
Mine runs Windows Server 2008 Free Edition (by extending the trial period repeatedly using scripts you can get about 9 months per install for nothing, and then you only need a quick re-install and some more scripts to start fresh and restore your apps/data).
const int one = 65536; (Silvermoon, Texture.cs)
SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
I've never used Openfiler but I agree with expanding the storage with iSCSI, though iSCSI traffic should not be in his local network.
Each disk node should have dedicated 1Gbit connection without switches between the master server and the disk node.
If direct links are not possible and switches are needed, those should be manageable and configured with iSCSI in its own vlan.
Also important, unbind all other services from the NIC dedicated to iSCSI.
The disk node can be connected to the local network using 10/100mbit card for management via ssh etc.
There are no atheists when recovering from tape backup.
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.
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.
i disagree that itunes is valid for managing media. I have triedon numerous occassions to let it catalog my media library and it just chokes horribly. admittedly, not everyone has 65,000+ music files, but iTunes can't handle very large collections without barfing horribly.
I reject your reality
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).
unraid sounds just like what I was *designing* for myself (doh!).
the idea of lots of disks always spinning is just moronic for home-users! we are NOT a data center! the game is different, here; and it has taken the industry a while to learn this.
I had a gazillion disks spinning in big-time home raid. for years. blech! lots of noise, heat, failure modes and like you said, you lose too much, you lose it all! the idea of being able to take a single spinner out, mount it on a 'dumb' system and read it, that's super powerful! don't discount that, folks! its worth its weight in gold.
my approach is to just be an idiot human (I do that part well) and save lots of copies of the files to lots of places. I do that anyway. then run a database job that will traverse your filesystem, get every file's size, date, md5 hash and any other tag info you want to peek inside, for. and run a smart differ on it. keep 'n' copies; report partial copies; trim the ones that are beyond what you need (if you want 3 copies, kill any 4,5,etc version you see). use ANY format you want for the disks, ntfs, ext3, jfs, whatever. each disk has a disk-id ('blkid' on linux shows this easily) and so each file has a disk-id to show where its located.
the final part of this is to keep all disks spun down and have the database know which disk the file is on (the one you want to watch/play) and have it do power-mgmt (as I call it) and spin the drive UP. either have it auto-spin down or spin down via mgmt when your 'session' is over.
spinning the disks is easy if they are all external esata/usb/fw. even simple x10 powerline relays can do this (my first proto will use this style of distrib tech). for internal drives, you power their molex's on/off via relays, via software control.
noise is stupid! power/heat wastage is stupid! raid is stupid for most of us. lets get beyond the gazillion spinners and be smarter about our large disk collections.
(oblig: I'm using arduinos and linux as the controller on all this)
--
"It is now safe to switch off your computer."
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."
This is what I did, I built a tiny HTPC house in an old NES case, the only moving parts are in the slot-in dvd burner. :)
It's an Asus ION3 Deluxe motherboard with 4gb ram. I added a 60GB SSD and installed Ubuntu/XBMC on it, it works perfectly in full HD.
There is no active cooling, but the temperature doesn't get high at all. The deluxe version of the motherboard had an USB IR receiver and remote control which work just fine in XBMC
I keep my media on a nice NAS with 4x2TB Drives in it, if that is full, I will add another NAS.
I posted my project for a bit here: http://forum.fok.nl/topic/1470800 :)
The pic with me and the glasses was after I got a molten piece of plastic in my eye, the site is in dutch.
Enjoy
This is the sig that says NI (again)
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.
PCI SATA cards are a really, REALLY bad idea if you have any care about IO performance, and especially if those drives are part of a RAID. Use PCIe SATA cards.
http://plexapp.com/ - Plex can run as a media server on your Mac Mini, can serve other Mac's with media. Can also serve to iPads and you can serve to an iPhone or use it as a remote control. It handles MKV and just about all other formats. It's like Boxee in some ways but much much better. It also works with AppleTV's although you might need to jailbreak them if you won't want to use AirPlay. But since you are using AirPlay now, it's no different with Plex. Once Jailbroken, the AppleTV2's have a Plex menu added to browse the media server library and make choices. There's a lot more to it. Plex is free except for the iOS / Android apps.
iTunes for Windows? Because iTunes for Mac is quite a bit different. i.e. it works much better. The Windows port is a bit of a hack in my opinion and doesn't work very well.
Curious, just how do you use NAS to feed an iTunes library? I haven't figured out how to elegantly and reliably do this. I've considered using an AFP share and a symbolic link from the local drive to point to the AFP share, but that doesn't seem totally reliable across reboots. I've also considered setting up an iSCSI initiator on the Mini and then mount iSCSI volumes from a NAS server but that also doesn't seem terribly reliable. This has to be reliable enough that when I'm traveling my wife has no problem getting to videos for the 3 year old :-). Please share your setup. Thanks!
In my best times I had >80,000 mp3 on my library, that worked perfectly on amarok, some 7 years ago
I'm positive, don't belive me look at my karma
I bought an Atom board from Asus - the On-board fan is driving me mad, and apparently every harddrive I connect to it reports SATA Link Error (or: Linux* reports it for every harddrive).
At this junction, I'm contacting the vendor to see what alternatives they have, but Atom is pretty far down my list. Wouldn't mind something based on ARM or similar, since it really is just a file-server with a mirror.
*: Ubuntu Server LTS 10.4 incl backport kernel
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
Another option could be to use 2.5" disks as they suck many times less power. Before the floods the Samsung 1TB one was on sale for 90€. I recall there being mounts which allow you to put two of them into a 3.5" slot, too.
A mac mini is a perfectly valid (if expensive) media solution. I personally use 2 synology NASs feeding a Mac Mini which is a dedicated iTunes server feeding 4 apple TVs (When I win the lotto I might try out a promise pegasus but until then the synology NASs are growing the library nicely). It's a bit of a pain to remux mkvs to mp4s but it works and it's a really nice solution once you've gone through the headaches of setting it up (yes better than a boxee box -- tried it, now gathering dust, better than every DLNA solution I've tried). The Apple TVs are just really, really nice media end-points and iTunes is a perfectly good management system.
But yea iCloud has no place in any video solution (your purchased shows can be streamed -- movies can not, and this solution will introduce you to your ISP's bandwidth caps very quickly).
I will agree that a Mac mini makes a wonderfully stable, no-fuss media server. I set up a combo media-server/htpc system for a friend, based on a HDMI-capable Mac mini, Boxee (went through SEVERAL media servers, first on Windows and then OS X, before deciding on Boxee and the Mac mini), with an IRTrans IR Transceiver and the most-excellent iRed "virtual remote" software. Oh, and all of this is supported by a 6TB Buffalo NAS (already purchased. I would have spec'ed something different).
With this setup, I haven't had to transcode ANYTHING, and this guy had a mixture of every audio and video format the bittorrent world has to offer; so, not having to transcode 50% of his collection just to use iTunes (which I would have preferred to use) was a definite "plus". He also had a requirement that he be able to browse his media by his already-established directory structure (rather than by genre, artist, etc.), which of course is not really an option with iTunes (and getting harder to find in most media servers in general), so Boxee was the best (and most stable!) bet.
However, this system is able to stream audio/video to anywhere in his house, as well as control his legacy A/V gear (which (audio) is already distributed to several places inside and outside) through the IR scripts I have created. iRed has a wonderful built-in webserver that can publish any "remote" you create as a web page; so "anywhere" control becomes as simple as any device that can pull up a web page.
This system has been up and running in one form or another for two years with no major issues, and in its current form for nearly a year. The only remaining issue seems to be finding a good web front-end for Boxee. All the ones I have found have had one fatal flaw or another; but I haven't seriously looked for nearly a year. Currently, there is not really a need for supporting Apple TVs; but if that becomes interesting, we may have to switch to an iTunes-based system, or hope that someone figures out how to install a Boxee-compatible (DLNA?) client on the ATV2.
Since this guy travels a bit, the Mac mini also provides a very secure and robust "gateway" for his to access his files (and media) while on-the-go using SSH/SFTP. He also runs his mail through the mini, and I set up an experimental WebDAV server on the machine as well. Administration of the 'mini is done through Apple Remote Desktop, or through SSH, or, if you're "local", using his TV and his MacBook Pro or a wireless keyboard/trackpad combo.
Curious, just how do you use NAS to feed an iTunes library? I haven't figured out how to elegantly and reliably do this. I've considered using an AFP share and a symbolic link from the local drive to point to the AFP share, but that doesn't seem totally reliable across reboots. I've also considered setting up an iSCSI initiator on the Mini and then mount iSCSI volumes from a NAS server but that also doesn't seem terribly reliable. This has to be reliable enough that when I'm traveling my wife has no problem getting to videos for the 3 year old :-). Please share your setup. Thanks!
Using a NAS with a AFP share that is defined in the account's Login Items seems to be quite stable across reboots, at least with Snow Leopard. You can add a mounted volume to Login Items, even though the dialog text makes it seem like you can only add "Applications".
Heh, sounds like lot of work. Working as a reasonably well paid consultant, I don't really want to do much hacking on my free time, but I wanted a quiet setup as well.
My approach: Mac Mini + SSD main machine.
Secondary storage: FreeBSD ZFS + RAIDZ2 (SSD cache drive + couple of spinning disks) NAS for video + backups of Mini.
As I don't deal with video much, NAS is mostly turned off, and all I need is one WOL packet to fire it up and mount on the Mini as needed. Win-win.
(Ok, other hardware in the house like gaming PC, laptop, etc also can access NAS as needed ..)
-- pending
You won't regret it. Mine works great as a media server and HTPC using Plex. It's attractive, small, silent and easy to setup and maintain. I added a 1TB 2.5" USB drive for media storage. I ended up getting a bluetooth keyboard and magic pad for the coffee table, though between the iPad remote app and a harmony universal remote that isn't really necessary. As an added bonus, I purchased the G-Force and Aeon visualizers for iTunes which look great on the TV while playing music. Everything is backed up automatically via Time Machine to a remote 3TB drive.
I am totally satisfied and am still amazed at how far we've come from the old days of manually perusing through a collection of optical media to select something to listen to or watch.
Yes, I do that today. Though for iTunes use it's a good idea to put a delay in the auto start of iTunes to make sure the share is completely ready. What I meant about reliable, and didn't explain very well, is that iTunes over NAS seems to be slow and klunky according to what I've read on the net. Ripping and importing a CD, for example, can take FOREVER. And syncing content to say an iPhone from iTunes running off a NAS can be verrrrrry slow too. So I was curious how the OP got around this or if he even saw any of it.
Thanks!
> I don't really want to do much hacking
The frontend decoder box is not the "hard" part.
Troll harder next time.
Once you get beyond what you can store on a couple of disks, things become a little more interesting. Your suggestion does NOTHING to address that.
And here I was foolishly expecting to be presented some useful alternatives in terms of larger RAID and NAS devices. Silly me.
A Pirate and a Puritan look the same on a balance sheet.
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.
Apple TVs are weak and limited. Chances are that if you already have 8TB of stuff then you have lots of stuff that's not playable on the Apple TVs. You don't need to go with an Apple product to enforce the same interface. You can do that with anything.
That 8TB of legacy data also makes any "cloud" solution problematic.
Probably the wrong approach for this kind of user. Might work for someone starting completely from scratch though.
A Pirate and a Puritan look the same on a balance sheet.
This is probably a lot to ask of Slashdot, but maybe you should only reply to "Ask Slashdot" questions if you actually understand the question?
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.
When I was using iTunes, it as only for media player things. Ripping was done from linux. I didn't own am iPhone/iPod/etc then.
Anyways, drop the apple gear and it will work.
All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
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/
Ditto. I have a dual core Atom setup on my mediacenter ( http://www.newegg.com/Product/Product.aspx?Item=N82E16813500036 ), which also doubles as a server for files, backups, HTTP, FTP and Deluge. I can run XBMC on top of that and never had any performance issue whatsoever.
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
Both QNAP and Synology make good NAS units with multimedia capabilities. That said, if you need transcoding for video, don't count on either one having the horsepower to transcode video. They have enough power to saturate GigE for simple file sharing, but you'll need another device with more power to transcode video: (ie: convert a 720p mkv to an iPad friendly format) Out of the box, they're stripped down Linux boxes with Busybox based userland tools. But they have good community based support for extensions from Optware - you can add gcc compilers, perl, ruby and all kinds of goodies to hack your NAS into whatever frankenstein setup you like. The best part ... they're low power consumption.
This is a boring sig
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?).
I have a Zotac Atom/nVidia mobo which works just fine with passive cooling. In fact, that's exactly why i chose it: ttp://www.newegg.com/Product/Product.aspx?Item=N82E16813500036 . Highly recommended.
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
We are talking bulk storage, the guy never said anything about RAID. If it were a RAID sitch i'd agree 100% but I've used PCI SATA for bulk storage and it'll stream movie speed just fine. But considering there are Asrock boards with 3 PCIe slots for like $50 it isn't like you can't go AMD quad and have lots of PCIe if you want, and those include 6 SATA native. So add that in with the $55 quad i linked to you are still right at or under $200 depending on where you get the rest of the parts, for a quad server that's really damned cheap.
ACs don't waste your time replying, your posts are never seen by me.
the idea of lots of disks always spinning is just moronic for home-users! we are NOT a data center!
I agree, and I used to have my media server under XP and the disks would sleep unless accessed. But for the last few years I'm Linux all the way (work/home/laptop/media server). And no matter what I try, the disks won't ever spin down. If I send a low-level SLEEP command with smartctl, it spins down and then right back up within 10 seconds. I've researched this problem without solution. Maybe someone here is brighter than me.
Non-Linux Penguins ?
Honestly what you're doing sounds like a ton of redundancy and work. I'm also not sure how well HDD will respond to having their power snapped on and off via relays or what that might do to a PC power supply having that sort of loads removed and added. I'd at least look to do something solid state for the switching or better yet use a pure software solution which unRAID is. Having multiple copies of files to preserve them is just as bad as pure RAID or worse from an efficiency prospective with the exception of the fact that you won't lose it as easily.
unRAID isn't perfect but mine have been running almost like an appliance for YEARS with the only changes being software updates, hardware updates, and an occasional lengthy power failure that's drained my UPS. I just checked, last power cycle on one of them was 135 days ago. Sadly I'm also noticing that it's time to upgrade a disk, darn thing is nearly full! :-(
Build it, Drive it, Improve it! Hybridz.org
Very nicely done! Chrome had no issue translating :-) That's a pretty good idea and if it doesn't overheat that's even better! I like the little USB controllers, those would have been perfect to integrate. I wish that emulators were a little more easily integrated into XBMC, then you'd be able to play real Nintendo games on the box too!
Very nice project, thanks for sharing it :-)
Build it, Drive it, Improve it! Hybridz.org
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
Honestly to me it sounds like his current setup is working save for disk space. Why not just upgrade to 2TB disks?
Perhaps you missed the stories this past week about HD warranties scaling back 80% (down to a single measly year), prices being suboptimal until this week, and worldwide supplies all coming from the same compromised source. The heightened risk of expected dampness, environmental dust, and buggy/salvaged/new-but-untested factory equipment at the reconditioned factory makes it better to wait until the re-started post-flood production works out the bugs with some guinea pig other than US geeks.
What is 2, 4, or 1000000TB worth when the disk completely fails? It's more reliable to endure risk of his own equipment's current failure rates for a few more months than to switch to disks of unknown trustworthiness tomorrow. Especially if you're going to christen it with a huge stress on the first night in by transferring the full 2TB collection in one go.
Sorry, /. posted under you instead of the GP.
Ugh.
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.
Yes, I do that today. Though for iTunes use it's a good idea to put a delay in the auto start of iTunes to make sure the share is completely ready. What I meant about reliable, and didn't explain very well, is that iTunes over NAS seems to be slow and klunky according to what I've read on the net. Ripping and importing a CD, for example, can take FOREVER. And syncing content to say an iPhone from iTunes running off a NAS can be verrrrrry slow too. So I was curious how the OP got around this or if he even saw any of it.
Thanks!
Good idea on the startup delay for iTunes, especially if iTunes is also a Login Item. Although most of this guy's stuff comes "pre-ripped" (he is a bittorrent addict), I have had the occasion to Import some stuff into his library, and I didn't notice any discernible "delay" or "slowness", in importing up to the NAS. Perhaps the people who have been having problems are running NASs (NASes? NASties?) with a "iTunes Server" built in (many do!), and have the "reindexing" interval set so low that reindexing operations are happening during the import/rip process. Just a guess, though...
When I was using iTunes, it as only for media player things. Ripping was done from linux. I didn't own am iPhone/iPod/etc then.
Anyways, drop the apple gear and it will work.
I guess you didn't notice my statement that the Mac mini-based system I put together has been working in some fashion for over two years, and with all the current software (hardware hasn't changed) for over a year and a half.
So, you actually got it backwards. Use iTunes to rip to ALAC or 256k AAC, but use either Plex (buggy and unstable) or Boxee (less buggy and much more stable) as your Media Center/Server.
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.
can i stream blu-ray rips off that? how about to 2-3 clients at once?
We will just not even address trying to use it for /home or / on thin clients. for storing pictures and music for your single laptop sure...
All of the above was encrypted with a Quad ROT-13 method. Unauthorized decryption is in violation of the DMCA.
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
You can simply use NFS.
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'
Just to comment on iSCSI a hair.
I have a client for which I set up an openFIler iSCSI box. The box connects to an unmanaged dumb GigE switch. Four iMacs connect to the same switch. Client uses FinalCut to access video assets on two MicroNet 4TB external storage enclosures. Each of the four iMacs accesses two drives in the enclosures configured as a 1.8TB volume.
Been running fine for, I dunno, two years? Box blew a power supply this past month, I grabbed a second box of similar make and model, reinstalled openFiler, attached the enclosures, ran a script someone on the Net created to reload the volumes, and reconfigured the iSCSI. Back in business in a couple hours..
openFiler is great, utterly reliable, In this case, running over the client's regular network has been no problem, since the path is box->switch->clients all on the same switch and his network doesn't really move that much stuff around in normal use since the twenty machines are mostly production machines.
I'm thinking of setting up an openFiler based backup server for the video department - in that case, I'll use a separate GigE network based on separate NICs and a separate GigE switch - although I'm not sure what I'll do about the iMacs (GigE USB, I guess, if there are drivers - someone on the Net has done it). The rest of the department is tower Windows PCs.
Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
can i stream blu-ray rips off that? how about to 2-3 clients at once?
We will just not even address trying to use it for /home or / on thin clients. for storing pictures and music for your single laptop sure...</p></quote>
thats kinda crazy to be streaming 3 blu-ray videos 18GB? to clients in ~1.3hours in a home media centre.. but with a 1gbps lan you should be fine? perhaps the extra overhead is more then i would expect? Please fill me in. (18 GB) / (1.3 hours) = 31.5076923 Mbps... extra overhead... ?
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.
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.
Glad you liked it :D
This is the sig that says NI (again)
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.
I had same issue. Disable smart in Bios and kill or tweak smartd in linux.
If you disable SMART in BIOS, can you still use SMART in the OS ?
Non-Linux Penguins ?
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
It's a bit of a pain to remux mkvs to mp4s but it works
What software do you use to remux?
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.