It must be about time I show my build.
I tried to build a energy efficient nas with enough disks to hold all our data. It should replace our existing QNAP TS409pro which has served us well for more than 7 years.
The primary goals of the new nas is to serve files through SMB to our laptops, NFS shares to the mythtv backend server, the mailserver and the ownCloud server. It should also service mediafiles to the different media apliances ind the household.
I'm more comfortable with raid 6 than with raid 5 so at least hold 6 disk in a raid 6 configuration was mandatory.
Budget was a bit tight so it had to be fairly cheap. Last but not least it had to be small and quiet..
I ended up with:
Mobo: Asus E35M1-i with 6 x Sata III ports
Ram: 2 x 4Mbyte Kingston
Disks: 6 x WDRED 3TB (initial Seagate ST31500346AS)
Chassis: Fractal design Node 304
Power: BeQuiet 350W
Pci card for 2 x Sata III ports and 4 x USB 3
The Fractal design chassis is smart with rubber grommets damping vibrations from the big disks. Two fans in front of the disks and a big fan in the back. Standard configurtion only has room for 6 x 3.5" disks. So where to mount the system SSD. To begin with I had the system SSD just glued to the bottom of the chassis. Later I discovered some intrusions on the top railings that could hold a piece af aluminium above the mobo. So I made a small ekstra mount piece for the system SSD. There is room for three 2.5" disks next to each other.
With the new homemade disk "tray" I have room for 6 x 3.5” and 3 x 2.5”.
I installed Squeeze headless with backports, Tuned it for performance (swappiness low, elevator deadline and transparent hugepages etc). Then installed OMV.
Parallel to building the new main OMV nas, I build a intermediate nas. The purpose was to hold all data from the old QNAP because I had to reuse the disks from the QNAP in the new nas. The intermediate nas was build from a Via C7 mini pc with two 1TB sata disks – OMV and no raid.
I rsync'ed all data from the QNAP to intermediate nas, moved the disks from the QNAP to the newly build main nas – rsync'ed from intermediate to the new main nas. Everything worked as expected thanks to OMV.
Besides basic nas functionallity i'm running Subsonic, Solarpower monitor and a minecraft server on the main nas.
After the initial build the project evolved. Why not try to run iRedMail and ownCloud servers on Wheezy as a KVM guest on the main nas? So I did, and made a Howto: http://forums.openmediavault.org/viewtopic.php?f=13&t=2417
During the first month after build one of my disks (Seagate ST31500346AS) failed. SMART data told me that three of the disks had rising number of reallocations. The Seagates was 5 years old so they where at the end of their operating life. I had to buy new disks – farewell initial budget.
After reading in this forum I decided on buying 6 x WDRED's 3TB. I bought from 3 different dealers in the hope to get them from different batches so they won't fail at the same time.
As they arrived I changed them one by one syncing the raid – hoping that the Seagates would survive the extra strain syncing raid up with new disks 5 times. Making daily rsync's to the intermediate nas at the same time. Fortunately everything work ok – no data was lost even though i had another disk failing during the process – glad I was running raid 6 and not raid 5.
The new Nas performs like (with KVM guests running):
root@LHJ-OMV:/media/8b8dba5d-6565-48d6-9544-6fcf6a0c7800/jk# dd if=/dev/zero of=speedtest bs=512k count=30720
30720+0 blokke ind
30720+0 blokke ud
16106127360 byte (16 GB) kopieret, 74,2848 s, 217 MB/s
root@LHJ-OMV:/media/8b8dba5d-6565-48d6-9544-6fcf6a0c7800/jk# dd of=/dev/zero if=speedtest bs=512k count=30720
30720+0 blokke ind
30720+0 blokke ud
16106127360 byte (16 GB) kopieret, 36,8988 s, 436 MB/s
Iperf meassures throughput of 996Mb/sec through the onboard Realtek 8111E Gbit nic.
The intermediate nas now has the role as a weekly backup unit. It has rsync jobs defined that every night does a rsync pull on every change of the important parts of the main nas. Once every week I turn it on just before going to sleep. Next morning it is turned of.
Besides this I run a quarterly backup to external usb disks stored off site.
Next step is to make the main nas more energy efficient. This involves turning of the GPU parts of the AMD E350. To this I need to install AMDs native Catalyst drivers. Unfortunately I installed the main nas as a headless unit. I have tried to install a minimal X environment from backports but can't seem to get it to work. I might wait til OMV 0.6 so I can reinstall on Wheezy with X.
I read about undervolting thus saving energy. I'm not experienced in this and I'm hesitating a bit. Do I undervolt in the BIOS or in software? How about the stability of the nas when undervolting the CPU? Any feedback on this would be nice.
In the meantime I guess I must live with an extra costs on the electricity bill.