Good setup, but way too expensive for what adds up to a highly-advanced NAS.
I don't at all disagree with the OpenSolaris/ZFS assessment, but the hardware is a bit on the heavy side. You really don't need that server motherboard (knock 100 dollars off the price). The CPU is also overkill, and ECC RAM isn't necessary though at that price it's not exactly a bad idea either.
The remaining cost is just HDs - you can knock one off the list if you use RAID-Z instead of RAID-Z2 and remember to replace a drive as soon as it goes bad.
OpenSolaris itself doesn't need a full 320GBs for the OS and its software: an 80GB hard drive will suffice and then some.
I think ECC memory is a good idea if you can get it; turning memory errors from "random data corruption and crashes" into "harmless fmd/syslog messages" is pretty nice, and last time I looked, would add about £5 to a 4GB DDR2 system.
Of course the problem then is that Intel don't support ECC on anything but Xeons; AMD are rather better, all you need is a supporting motherboard (which includes some cheap and cheerful integrated ones), any AMD CPU in the past few years will do.
Now, if only Intel would get off their arses and release the W3xxx Xeons so I can build an ECC protected i7 system. 12GB without ECC is getting a bit ridiculous.
I'd also go for a pair of dynamically striped mirrors instead of RAID-Z2; modern disks can already pretty much saturate GigE individually, so I'd rather go for increased overall IOPS rather than increased sequential throughput at the cost of making every drive take part in each IO.
Yup, pretty much; if you have more than one vdev in a pool (mirror, RAIDZ, whatever), ZFS will stripe over them, varying what goes where depending on how fast it thinks they are.
I've heard reports of ZFS doing things like putting more data on one vdev because the disks underlying it had 16MB of cache and those in the other vdev only had 8MB; bit fancier than what you normally associate with RAID10.
For the really cheap solution, you can just get a mini-itx atom board, mini-itx case, and a few external usb enclosures for the hard drives. It's what I have at home, running opensolaris on Xen. I mapped the usb drives natively to opensolaris so I'm not creating disk images on each. It's still fast enough to stream movies on. Not counting the external hard drives, it'll probably cost you around $200 for the PC, and about $125 per terabyte (usually around $25 per usb enclosure).
One of the reasons I used Xen is because OpenSolaris still lacks proper network drivers for just about all the network cards I own. It also had issues with my external usb drives, so it was just easier getting linux to handle the hardware interfaces to opensolaris.
I use it as timemachine backups for my macs & media storage... but on a cheap budget.
I see... but unfortunately Xen dom0 has becoming unavailable in the latest Linux distributions, e.g. Fedora and Ubuntu. Also Red Hat seems that it will go with KVM in its next version.
I love ZFS. I was on the mailing list for a year just to watch it develop. It is amazing. I love Solaris. When I deploy applications on it I get warm and fuzzies.
I've used ZFS + Solaris at home and with Sun hardware in several companies for 'appliance' servers that we deployed on-site in remote locations. We were able to achieve reliable storage on a 1U server without paying for a RAID card. It was great. ZFS is great for the budget. Now I want it at home.
But where's the simple appliance to do this? For a home fileserver I just want a small box large enough to hold 4 disks, and I want it to set me up a RAID-Z or mirrored ZFS when I pop them in, and serve them via all the common methods I pick via a simple web interface.
Why has nobody done this? I've looked, and the only ZFS 'storage appliances' are software packages.
At present I have a RAID-1 mirror on cheap external drives on a mac mini, and I KNOW the array will degrade within a couple years. Has always happened to me with software RAID. ZFS would be great, but there is no such appliance. (And yes, I tried the patch to make OS X write to ZFS... so slow it virtually locked the system).
Please, someone: build this. It will be a great product. You can offer much better storage reliability than can cheap RAID with ZFS.
FreeNAS has some ZFS support, I believe: "ZFS integration has been done in 0.7, so it is possible to create pools and datasets via WebGUI.", from an old entry at http://freenas.blogspot.com/
Unfortunately ZFS depends on the Solaris fault management daemon (fmd) to handle failing disks by itself, something FreeBSD doesn't yet have a replacement for.
I can't remember the name, but there is an opensolaris NAS software package. I really want a hardware appliance based on ZFS, though. I'd rather not spend time setting it up.
It sounds like what you are looking for is a Drobo (www.drobo.com). It has some shortcomings, but it is great for dead-simple backups that protect against hard drive failure.
I am looking for something like this instead of tape backups. I looked at some NAS devices that hold five drives and seem pretty robust. One of the devices can mirror itself to another NAS over the network so you can have two separate places to store your data and not have a hardware failure of one device kill the other.(one exception would be the case where the master device gets degraded to the point where bad data is being written to it and then propagates the changes to the other device. I don't know how likely this failure situation is though.)
I've build something similar for home/small-office use. My experiences are at http://johnandkaren.com/blog/file-server. Daz at http://sigtar.com/ has done similar things as well, and I've found his site to be invaluable as I have built my file server.
Yeah, if I were Oracle I'd definitely throw away a native Linux filesystem in the late stages of development and start porting some goofy jock-ware from an alien kernel. But I'm not Oracle and so they're foolishly carrying on with their insane scheme: http://article.gmane.org/gmane.comp.file-systems.btrfs/2880
"""Theodore Ts'o, developer of ext3 and ext4 filesystems, said that Btrfs “has a number of the same design ideas that Reiser4 had” and that “the filesystem format has support for some advanced features that are designed to leapfrog ZFS.”""
I don't at all disagree with the OpenSolaris/ZFS assessment, but the hardware is a bit on the heavy side. You really don't need that server motherboard (knock 100 dollars off the price). The CPU is also overkill, and ECC RAM isn't necessary though at that price it's not exactly a bad idea either.
The remaining cost is just HDs - you can knock one off the list if you use RAID-Z instead of RAID-Z2 and remember to replace a drive as soon as it goes bad.
OpenSolaris itself doesn't need a full 320GBs for the OS and its software: an 80GB hard drive will suffice and then some.