Oct 25, 2009

Build your own expandable NAS box !

One more step towards a networked home, I needed a NAS server where I could keep adding disks as necessary with no restrictions ! Every ready made NAS server in the merket has its own restrictions like huge cost, missing RAID capabilities, not expandable to more than four disks, missing NAS/Samba mixed usage and so on.

So build my own NAS box was the mantra. What I needed:


1. Cheap processor with low power consumption

I already had a dual core 330 Atom board at home, just had not found a use for it. This CPU would be perfect for the NAS.

http://www.newegg.com/Product/Product.aspx?Item=N82E16813121359
Cost Rs 3500.



2. Small cabinet that does not take up space or power and makes no noise.

This was the tough one, especially in India. After a lot of research, I zeroed in on the Panache T3300 as the cabinet. It is small, in fact really compact and runs off a DC power board. This means that there is no PSU in the case (hence no fan/noise) and it runs off a DC adapter like a laptop. Disadvantage is the lack of a DVD drive.



Note the Panache box kept next to a WD external hard disk and a encyclopedia to get a idea of its size ! :bleh:

http://panache.co.in/store/product_info.php?products_id=111
Cost Rs 3200.


3. Operating system for the NAS box

Lot of options here. Windows embedded, standard linux distros and more. But what caught my eye is the FreeNAS distribution. It is a embedded OS that runs off a 200mb image, configured completely from the web and works like a charm on the Atom. More importantly, very configurable and very expandable. Just perfect for my needs ! :hap2:

http://www.freenas.org/
Cost Rs 0 !


4. Install disk for the OS on the NAS box

An 3.5" disk is out of question on the small panache box. A 2.5" disk is acceptable, but still draws 4-8 watts of power for no reason. And the minimum size is 40gb when I just need one GB of space.

A little more research got me onto a fantastic solution. I found out that there are IDE adaptors for compact flash cards for about Rs 100. The bad news is that a compact flash card is expensive. But here also, I stumbled across a great solution. A CF adaptor that used cheap SD cards internally !!!



A 2GB disk for a grand total of Rs 1000 and uses 0.2 watts of power!!!

http://dealextreme.com/details.dx/sku.711
Cost Rs 100

http://dealextreme.com/details.dx/sku.22338
Cost Rs 700 + Rs 200 for a SD card (Be a little carefull when you buy a SD card. It has to support DMA access, otherwise the OS will not install on the disk)


5. Memory. Less is more in this case !!!

A 512 DDR2 stick would have been plenty, but I had a spare 1GB stick with me and used it. Can hardly see any difference in performance between this and a 2gb stick.


All set, I assembled the Atom box and made sure everything is working.




Now is the time to download the FreeNAS OS and boot off the OS with a external DVD drive. There is a nice option to install the embedded system to the disk. Choose this and install the embedded FreeNAS OS to the attached compact flash drive.

Attach the external USB drives that you want to share, assign a IP address and reboot the machine. When the machine is up, you can connect to the headless machine from a browser at http://myfreeNASipAddress and configure the machine, the attached drives, the network shares, the services and everything else from the web !!!

You are all set. The network access is extremely fast and you can add as many USB drives as you want and share them on the network either cvia NFS or Samba. You can even setup software raid for the drives that need protection.



The NAS box up and running, attached to a monitor. See the power being drawn on the side. Just 0.11 Amps, which translates to a grand total of 25watts for a fully running NAS box. :hap2:

Total cost of the setup was Rs 9k without the external hard disks. For a NAS server that is expandable to as many USB disks as you want with RAID and multiple share options, this is worth it !

14 comments:

Anonymous said...

I have an iPhone and want a blackberry because my iPhone is super messed up. But i can't break my contract. Well my parents wont want to. So does AT&T let me just change the internet iphone plan to the internet for the blackberry plan? Without breaking any contracts? Pleaseeee heeeelp. I really need to know if i'm going to stay with an iPhone or switch to Blackberry!



________________
[url=http://unlockiphone22.com]unlock iphone[/url]

Anonymous said...

interesting post. I would love to follow you on twitter. By the way, did you hear that some chinese hacker had busted twitter yesterday again.
[url=http://amazon.reviewazone.com/]Christina[/url]

Anonymous said...

Amiable fill someone in on and this mail helped me alot in my college assignement. Thank you on your information.

Anonymous said...

Wow, excellent hacks with indian context. I never came across any indian site so far where they hacks are good and clear.

Anonymous said...

What happened, don't see any new posts? Please publish more posts.

Anonymous said...

Your idea is now even more feasible today with advancement in technology right? Can I please have your email?

Anonymous said...

Рretty nicе pοѕt. I just
stumbled uρon your blog аnd wished to mеntion that I've truly enjoyed surfing around your weblog posts. After all I'll
be subѕcribing on yοur feed and I'm hoping you write again soon!

Here is my web site samsung galaxy s3 accessories

Anonymous said...

Hellо woulԁ you minԁ lеtting mе knoω which webhоst you're utilizing? I've loaded уouг blog in
3 different internеt browsers and I must ѕaу this blog loads a lοt quicker then most.
Сan you suggeѕt a good hosting proνіdeг at a геаsonable pricе?

Many thanks, I apprеcіate it!

Feel free to νisit my blog - samsung galaxy s3 best case

Anonymous said...

Hеllo woulԁ you mind letting me knоw whіch
wеbhost you're utilizing? I've loaded your blog іn
3 dіfferеnt internet browsегs and
I must ѕay thiѕ blog loаԁs a lot quicκer then moѕt.
Can you suggеst a gooԁ hoѕting ρroνider аt a reasonable priсe?
Mаny thanks, I appreciate it!

Feеl freе tο visit my blog - samsung galaxy s3 best case

Anonymous said...

Hey there! I simply wish to give you a big thumbs up for your great information you have right here on this post.
I'll be coming back to your site for more soon.

Feel free to surf to my page - best cases for samsung galaxy s3

Anonymous said...

ӏf yоu would lіke to grow your know-how simply κеeρ vіsiting
thiѕ web ѕite and be updatеԁ with thе most up-to-datе gοssip ροsted here.



Vіsit my web site: iphone cases instagram

Anonymous said...

Thаnk you for another magnificent article.
The place else coulԁ anyboԁy get that kinԁ οf info
іn such a pеrfeсt meanѕ of writіng?
I have a prеѕentation nехt ωeeκ, anԁ I'm at the look for such information.

Also visit my web blog iphone 4s accessories

Anonymous said...

Hеуa i'm for the first time here. I came across this board and I find It truly useful & it helped me out a lot. I hope to give something back and aid others like you aided me.

Look at my web site :: unusual iphone 4 cases

Anonymous said...

Τhаnks for oneѕ marvеlοus posting!
I ԁefinіtely еnjοyeԁ reading іt,
yοu aгe a great authoг. Ӏ ωill mаke suгe to bookmarκ youг blοg anԁ will
eventuаlly come bаcκ in the future. Ι ωаnt tо encourаge continue yοur great postѕ,
hаνе a nice mοrning!


Heгe is my wеb blog - lifeproof iphone 4s case