Small DIY NAS

by koff1979 in Circuits > USB

60750 Views, 86 Favorites, 0 Comments

Small DIY NAS

6012271122_a7e357b780.jpg
6011289041_83b3bf2e25.jpg
5984475468_2a15229e8e.jpg
5983913563_b2ffe7e4a8.jpg
6005439077_3816d88247.jpg
6012276238_08070ca880.jpg
6012276574_1068df5d62.jpg
The Idea behind this instrucatbale was to create a quiet cheap low powered NAS box using some 2.5 inch hard drives.


What you need to build you own NAS BOX

4 2.5 inch sata to hardrive connector
1 26pix box 
1 powered usb hub
1 eeepc (I'm using a 1st gen eeepc running at 800 mhz)
DVD/CD/USB pen drive for installing freenas
PC Fan
USB Lead
USB Power Lead

Drill
Screws
Computer & Printer
Camera 
Dremel or other tool for cutting thin aluminium case
Wire
A network cable or a wireless network

Some hard drives to put in to the NAS

Here is Video of the NAS Box Being put togthere.
 

Place & Cut

6006761348_efcf019bed.jpg
6006762286_bb26704317.jpg
6006762720_427ee9632b.jpg
6006217825_9806a81222.jpg
The first job is to take apart the eepc. It is easy here is a link to a take apart guide

You need to Remove the feet from the eeepc case do this by pulling them off using some pliers see picture

Turn the board upside down and attach the the feet to the board with some screw 

Draw around the network point so you can see where to cut a hole

Do the same for the power supply 

Cut the holes out of the case

Hot glue the feet and attach it to the case

Cooling

6005443259_28e0de8454.jpg
6005985756_4415bcb8b7.jpg
6005444941_3c51a98f46.jpg
The case needs a little bit of cooling one fan running off the usb port should provide a enough cooling.

You need to cut a hole in the case so the fan can be fitted to the case

You need to make a USB Fan, here is the link to the instrucatable I used to make my fan.

Once you've made the fan it needs attaching to the case I've used some unibond no more nails tape

Cable It Up & Installed the Hard Disk

6011846026_5102ab41c7.jpg
6011294095_544c5baf4e.jpg
6011844466_bf110847ea.jpg
6011295411_a1a05f508f.jpg
Next the Hard Disk needs putting in to place and connecting to the board

Place the USB hub in place and stick it in place with some no-more nails tape.

Stick 2 of the hard disk caddies to the bottom of the case with some more tape

Stick 2 of the Hard Disk caddies to the top of the case.

Cable up the caddies to the USB Hub and the USB powered to the device

The devices are powered as list below

Two of the Hard Disk's are powered from the USB power Plug
One of the Hard disk's is powered from the USB hub
One of the Hard disk's is powered from the USB Port.


Install the Software

6011290149_d73af82d69.jpg
6011289869_acd959be0c.jpg
6011292059_1e634bc331.jpg
6011843552_5723852120.jpg
6011294443_9393a9d46c.jpg
6011839382_b8a6631e75.jpg
Freenas

In the bios before install the software you'll need to disable the on the board CF Card read and enable wake on lan

Download freenas from Here.

Burn the image to a cd (if you don't have a cd drive you can use http://unetbootin.sourceforge.net/ to burn the ISO to USB drive)

Boot the computer up using the CD.

After the computer has booted press 7 to install freenas on to the hard disk. 

Follow the on screen instructions to install.

After the system has rebooted you need to connect to the NAS box you do this by typing in the ip address of your NAS box in to your internet browser ( the ip address is listed on loading screen).




Setting Up the Share

6012521318_b4558cea4f.jpg
6012521986_01c74478d8.jpg
6012522288_eb7c6fa9ef.jpg
6012522572_5c772d0b13.jpg
6012522812_5520d3ef9e.jpg
6011976247_31f328a912.jpg
6011976795_642838a81c.jpg
6011976795_642838a81c.jpg
6011977079_d57440c5f0.jpg
6011977383_ff2619e5e7.jpg
6012524494_d5169c8675.jpg
Setting up Freenas below I've listed out to add the disks and share them on your network if you like to know more or get the most out of your NAS box Try this FreeNas Guide

Now you need to setup & format the Disk and the share.
  1. Login in to the system User name: admin Password freenas
  2. Go to Disk management
  3. Click the + symbol to add a disk
  4. Select the Disk from the drop down
  5. Give the Hard disk a name
  6. Click Save
  7. Click apply Change
  8. Go to Disks > Format
  9. Select the disk
  10. Select the disk format UFS
  11. Go to Disks > Mount
  12. Select the disk which needs mounting from the drop down
  13. Name the disk's
  14. Click apply Changes
  15. Got to services > CFIS/SMB
  16. Click on enable
  17. Click shares
  18. Click on the + symbol
  19. Select the directory than you want share
  20. Give it a Name
  21. Apply the changes 
You should now be able to connect to network share by connecting the freenas ip address

Conclusion & Speed Test

6011289041_83b3bf2e25.jpg
A Few notes about the build

The performance isn't fast but more than enough for one user and I think the slightly slow performance is worth it for the quietness of the box which you can't hardly here. 

To test the speed I ran 3 tests the first was to a copied a 1GB file to the NAS box 5 times the average time was 160 seconds, which gives a speed of about 6.25 mb per seconds

The 2nd Test I tried was copying 3 files each one about 400 MB the time where as follows

Write

1.23 GB 135 Sec'
1.22 GB 133 Sec
1.23 GB 140 Sec
1.22 GB 155 Sec
1.22 GB 155 Sec

Average write speed 8.77 MB per second

The 3rd Test I tried was copying the files off the NAS box

Read

1.23 GB 160
1.21 GB 165
1.23 GB 167
1.22 GB 167
1.12 GB 155

Average Read speed 7.56 MB per second
 

All the tests where ran over a cabled network. The CPU Load didn't peak at over 59% and the temperature of the CPU didn't go above 59oc

The Case needs a little tidying and a paint job but is functional at the moment