Home > AllWinner A1X, Hardware, Linux > DIY NAS Enclosure for The Cubieboard

DIY NAS Enclosure for The Cubieboard

The Cubieboard with a 1GHz processor, 1GB RAM, a SATA port and its low price ($49) is probably one the best available options if you want to make your own ARM based NAS. The hardware is easy to get, most of the software components (Linux, SAMBA/NFS server, Bittorrent client, etc…) are available, but there are no NAS enclosure available for the Cubieboard, so this part may be a little tricky. Cubieforums user Vustus has a pretty neat and cost- effective solution for an enclosure based on off-the-shelf parts.

Cubieboard NAS Enclosure and Power Supply

Cubieboard NAS Enclosure and Power Supply

If you want to try it yourself, you’ll need the following parts:

The total cost (including shipping) is about $52 without Cubieboard nor hard drive. I think you’ll have a hard time finding a cheaper 3.5″ dual HDD enclosure if you live in the US, but you may be able to find cheaper cables, and adapter.

You’ll also need an Ethernet cable, a soldering kit, a power drill, an RJ45 crimp tool, as well as some screws and plugs.

The hard drive is fitted in the adapter plate, and the Cubieboard attached on top as shown below.

Cubieboard_Hard_drive

The you’ll need to drill holes in the enclosure, as well as cut and solder a few cables to complete the design. You can check the pictures and a few words of explanation on imgur.com.

Vustus says he’s currently running Roman’s headless image (See Wheezy Debian images at http://linux-sunxi.org/More-images) with SAMBA and Transmission BT, but you could just add any software packages / solution  supporting the ARM architecture.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

  1. mongrol
    July 8th, 2013 at 11:40 | #1

    The Cubies sata goes through usb so you’ll be limited with usb2.0 speeds.

  2. July 8th, 2013 at 11:43 | #2

    @mongrol
    To be honest I haven’t checked the details, but I’m pretty sure the Cubieboard does not suffer from “Raspberry Pitis” because SATA support is built in A10 SoC..

  3. onebir
    July 8th, 2013 at 14:00 | #3

    Does the Cubieboard still have a ‘low price’? You can get A10/A13 tablets for a similar price (shipped), and they have more components and cost quite a bit more to ship…

  4. July 8th, 2013 at 15:32 | #4

    @onebir
    It depends what you want to do. If you just want something to connect a monitor and USB keyboard and mouse, it may not be the cheapest option. If you want to do a NAS as above, I think it still a pretty good deal as it has a native SATA interface. For projects requiring GPIOs it’s also interesting although it competes with cheaper Raspberry Pi and Beaglebone Black boards.

  5. ewosk
    July 8th, 2013 at 16:16 | #5

    and how it works in reality/everyday use? How it performs streaming hd videos? handling multiple users connected? anybody tested? Author maybe? 10q

  6. myfoolishgames
  7. johnals
    July 8th, 2013 at 18:19 | #7

    mongrol :
    The Cubies sata goes through usb so you’ll be limited with usb2.0 speeds.

    That is not correct.
    The Cubieboard (well, the A10 SoC) has a SATA Controller.

    Source:
    1. Kernel boot message of my Cubieboard says: [ 1.110000] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 56
    2. Allwinner A10 SoC design specs at cubieboard.org (Download section).

  8. July 8th, 2013 at 18:34 | #8

    @myfoolishgames
    Will the Cubietruck support SATA port multipliers?

  9. July 8th, 2013 at 18:57 | #9

    Cubieboard does NOT have SATA connected through USB, I did test with 80Gb Intel SSD and here are results:

    root@debian:~# hdparm -tT /dev/sda
    /dev/sda:
    Timing cached reads: 784 MB in 2.00 seconds = 392.08 MB/sec
    Timing buffered disk reads: 460 MB in 3.00 seconds = 153.32 MB/sec

    Having said all this, I should note that network was somewhat flaky while reading disk image from that SSD, so YMMV, but it’s definatly not USB speed.

  10. johnals
    July 8th, 2013 at 19:21 | #10

    cnxsoft :
    @myfoolishgames
    Will the Cubietruck support SATA port multipliers?

    There are no detailed info yet for the Allwinner A20 SoC to figure out whether it can support SATA port multipliers.
    If someone has a Cubieboard2, then can verify by looking at the dmesg messages.

  11. DesertF0x
    July 8th, 2013 at 21:16 | #11

    Better take a NSA-310 oder NSA-320. It is easy to install Debian and it has Gigabit!

  12. myfoolishgames
    July 9th, 2013 at 07:09 | #12

    myfoolishgames :
    I was looking for a solution for the upcoming cubietrack.
    http://www.addonics.com/products/ad5sarpm-e.php
    http://www.newegg.com/Product/Product.aspx?Item=N82E16816132029
    http://www.newegg.com/Product/Product.aspx?Item=N82E16816111177R

    Regarding port multiplier, I was looking at another model that from my limited knowledge should support any sata controller.
    Please correct me if I’m wrong.

    http://www.addonics.com/products/ad5hpmrxa-e.php
    http://www.addonics.com/products/ad5hpmreu.php

  13. JQPABC123
    July 9th, 2013 at 19:36 | #13

    ARM is a hot ticket thanks to mobile but it is not always the best or most cost effective solution. For only slightly more money ($120+shipping) and a lot less headache, you can get a compact, complete, real Intel Atom PC with Gigabit LAN and dual SATA ports that would probably be more reliable and efficient for NAS application.

    Of course, all the thrill of cobbling together a rickety, unstable, slow ARM based solution will sadly be missing.

    http://alturl.com/nr8qi

  14. July 11th, 2013 at 12:50 | #14

    mongrol :
    The Cubies sata goes through usb so you’ll be limited with usb2.0 speeds.

    This is just plain not true. The A10 SoC has native SATA and reaches 100+ MB/sec speeds.

  15. onebir
    July 12th, 2013 at 20:59 | #15

    How about getting 2x the Cubie “simple case”, & installing one sheet of the second one to make a “double-decker” case? Then the HDD could be go into a caddy screwed onto the second deck.

    (Assuming the simple case is slightly bigger than a 2.5″ HDD…)

  16. nocturne2011
    July 25th, 2013 at 13:42 | #16

    @JQPABC123

    “… slightly more money” …yes just a 100% more and a 5 times higher power consumption for the complete system you get an Atom PC with half the performance…

  17. Craig
    August 8th, 2013 at 21:06 | #17

    @mongrol

    Incorrect.

  18. Craig
    October 15th, 2013 at 10:31 | #18

    @mongrol

    No it doesn’t dipshit. Why don’t you do some cursory reading before you embarrass yourself again?

  19. January 17th, 2014 at 20:25 | #19

    I’m currently trying to implement a NAS using a cubieboard.

    http://navni-stuff.blogspot.be/2014/01/cubieboard-based-nas.html

  20. krypalkora
    February 21st, 2014 at 23:58 | #20

    @cnxsoft

    Cubieboard 2 and SATA 1 to 5 Port SATA2 Multiplier adapter riser card and A20-cubieboard Lubuntu Desktop Releases. Olny 1 hdd in linux. The rest of the disk is not visible to the system.
    Other operating system?

    Tested.
    http://www.aliexpress.com/item/Free-shipping-multi-SATA-1-to-5-Port-SATAII-SATA2-Multiplier-adapter-riser-card/715884490.html

  21. February 22nd, 2014 at 10:54 | #21

    @krypalkora
    Cubieboard (1) won’t support it
    http://linux-sunxi.org/Cubieboard/FAQ#Does_the_Cubieboard_support_SATA_port_multipliers_and_what_is_the_max_limit_of_a_SATA_hard_disk_drive.3F

    I can’t really find a definitive answer about Cubieboard 2, except the SoC itself supports multiplier (SATA v2.6), but it’s not clear if the drivers do.
    http://cubieboard.org/2013/09/14/cubietruck-is-put-into-trial-production/#comment-6062

  1. July 9th, 2013 at 11:50 | #1
  2. February 28th, 2014 at 14:50 | #2