If you’re like me, you have multiple computers at home, multiple laptops in the family, and at least one video game console with Video/Music playback capability connected to your TV and sound system.
Synching music and picture databases is a pain, and having central storage that can be accessed by all of these would definitely make things easier, as all the devices would either
* Read directly from that device (if it’s a “Stay at home†computer or data considered “Stay at homeâ€)
* Synchronize only with the central storage (i.e.: Laptop1 to NAS, NAS to Laptop2, never Laptop 1 to Laptop2).
Requirements
1. Storage: At least 500gigs usable storage
2. Redundancy: At least a mirror
3. Power: As low as possible (No full blown PC!)
4. Speed: No hard numbers, but “fast enough to be able to stream HD Xvid rips and bluray ripsâ€, which should be using 6000 to 8000kbps. (Kilobits per second)
5. Protocols:
1. It absolutely has to support CIFS for Windows and Mac OS X Access to shares.
2. Obviously, FTP access, to enable any device to transfer to it and from it, especially over the VPN when you forgot to sync something and CIFS is too unstable at low bandwidth.
3. DLNA ( Digital Living Network Alliance ) support would be great, simply because I intend to use my ps3 to play movies on the TV. My XBMC powered Xbox can mount SMB/CIFS shares but the ps3 can’t. Also, the Xbox supports many more codecs, hopefully, DLNA with transcoding will help the ps3 (though I am not expecting to end up with a machine able to transcode, since it won’t be powerful enough. Oh well, I’ll make sure to download supported media).
4. Some kind of “Sync†protocol needs to be supported, such as rsync, Unison, etc.
6. Noise: Not too noisy please !
7. Encryption: Ability to encrypt the drives would be great, as this device will also store unencrypted backups of laptops. I use full drive encryption on my hard drives, and I want to be able to easily back them up and restore single files. But at the same time, I don’t want someone stealing my NAS and having my complete computers available.
8. Fun option: Torrent client. If I’m going to leave it on all the time, it might as well handle the torrents by itself too.
Option #1: DNS-323
After researching SOHO hardware, the only one that was cheap enough and looked “hackable†enough, with a decent reputation to go, was the
2-Bay Network Storage Enclosure - DNS-323 by D-Link . It costs 150 to 200$ depending on your retailer, without drives.
Let’s see how it scores against my requirements..
1. Storage: It has two available SATA slots, and according to this page , it has been tested with drives up to 1TB .
2. Redundancy: It supports RAID 1 .
3. Power: According to TechDigs.net , the device uses 24 to 26 watts when in use, and 14 to 16 watts when drives are parked. Other anecdotal data suggests that it uses around to 25 watts when in use, too. We will average this to 20 watts.
4. Speed: The same TechDigs review has tested the DNS-323 with speeds of 14.5 to 16 MB/s.
5. Protocols
1. It does support SMB/CIFS.
2. It does support FTP.
3. It does not seem to support DLNA out of the box. However, a software called TwonkyMedia could be purchased and added to it.
4. It could be synched relatively easily with rsync on client computers by mounting it as a smb or nfs share. NFS not included, but can be added.
6. Noise: According to the same article, the machine generates approximately 40decibles at 2 feet, and 50decibels at 2 feet under maximum usage. Maximum usage is less of a concern as it won’t be in the room where I watch movies, but the minimum noise is important as I will often work near the machine. Sounds like it’s pretty quiet. We will average this to 45decibels.
7. Encryption: The DNS-323 doesn’t seem to support full drive encryption. I could probably manage to recompile the Linux kernel for it, or I could use something such as duplicity to encrypt the actual backups. Meh.
8. Fun option: Torrent client. Multiple torrent clients seem available for the DNS-323, plus command line ones could probably easily be compiled and used along with ssh and screen.
Option #2: FreeNas on a MSI Wind Desktop
After finding that FreeNas looked like a really promising distribution, the MSI Wind PC was the machine I decided was the best hardware fit for my project.
It is available on NewEgg for approximately 170$, so there is not much price difference with the DNS-323. This could be a bit more expensive since a bit of RAM will need to be added to it. (It looks like it comes with no RAM).
Let’s see how it scores against my requirements..
1. Storage: It has two available SATA slots. I did not find much about the biggest type of drive supported but it shouldn’t have any type of hard limit (especially not under 1TB!)
2. Redundancy: The board has no RAID support, however, FreeNas supports multiple types of raid, including 1 and 5.
3. Power: The unit comes with a 65watt power supply, and anecdotal evidence seems to point at a 20watt “idle†power usage, and 30 to 35 watt peak usage. I do not know if this includes two hard drives, so let’s go with 35 to be safe. 35 and 20 average to 27.5 (even though it will be idle more often,I use this very simple average for the chart below. It’s not scientific at all.)
4. Speed: I have no idea. Quite simply, I haven’t seen benchmarks of people running FreeNas on that machine, as it is pretty new. It does have a Gigabit Ethernet port, so the bottleneck will definitely not be the network adapter, and I do own a MSI Wind netbook which performs rather well overall.
5. Protocols: According to the FreeNas manual ..
1. It does support SMB/CIFS.
2. It does support FTP.
3. DLNA support is not fully documented yet, but is available. It uses uShare
4. It includes Rsync, Unison, NFS, AFP… synching to it as an rsync server or a mapped share should be easy.
6. Noise: Anecdotal data suggests a 30decibel volume rating, so with two drives, it should be similar to the DNS-323. We will average this to 40decibels.
7. Encryption: The manual explains encryption support for plain and RAID volumes. It supports multiple algorithms, including AES.
8. Fun option: Torrent client. There is a built-in t
orrent client, and since it runs on FreeBSD, installing any command line client should be straightforward.
Source :
Home NAS Project: Part 1 | binaryfactory.ca
Very good article, i just might go this way to setup my nas. Only hurdle is i want to know if 2 X 3.5 inch drives can be had in the wind desktop or not.