AudioCircle

Community => Non-audio hobbies and interests => The IT Crowd => Topic started by: JohnR on 7 Sep 2017, 12:40 pm

Title: $49 NAS
Post by: JohnR on 7 Sep 2017, 12:40 pm
Check this out:

https://www.hardkernel.com/shop/odroid-hc1-home-cloud-one/

(http://www.hardkernel.com/main/_Files/prdt/2017/201708/201708170409236550.jpg)

[Updated link]
Title: Re: $49 NAS
Post by: randytsuch on 7 Sep 2017, 02:42 pm
Looks nice John
Thanks for the tip
Title: Re: $49 NAS
Post by: jmc207 on 7 Sep 2017, 04:09 pm
Looks quite interesting. A coworker's first thought was "It's like a RasPi met a diskless NAS."

 Thx!
Title: Re: $49 NAS
Post by: srb on 7 Sep 2017, 04:21 pm
I don't see any type of cover available for it?
Title: Re: $49 NAS
Post by: JohnR on 7 Sep 2017, 05:09 pm
I guess you could just turn it upside down :)

Processor is much faster than RPi. (Whole chassis is the heatsink for the CPU)

There's a prebuilt OMV (open media vault) image if you wanted a web-based configuration interface - https://sourceforge.net/projects/openmediavault/files/Odroid%20images/

However, it only took me a few minutes to do a command line setup of Samba on an XU4, so for many uses the OMV solution is overkill.

I'm thinking next year's Pi Peregrination will include a media server as well as a player...
Title: Re: $49 NAS
Post by: JDUBS on 7 Sep 2017, 05:15 pm
Awesome find, John!!  Odroid makes great stuff!

-Jim
Title: Re: $49 NAS
Post by: Odal3 on 7 Sep 2017, 08:11 pm
...and then get one of the WD 8TB external drives when on sale for $160-170 which reportedly has WD red 5400 rpm NAS drives. It should be fairly easy to pry out the drive and use with the ODROID board John recommends (but you may void the warranty). This would create a hard to beat price of $210 for a 8TB NAS!

See for example here (this deal expired but I just got one the other night for $170 at a US based Best Buy). I believe there were some instructions in the comment of how to open it up.
https://slickdeals.net/f/10387908-8tb-wd-easystore-usb-3-0-external-hard-drive-160-free-shipping?src=SiteSearchV2_SearchBarV2Algo1

BTW: If you are not comfortable with command line, the OpenMediaVault solution mentioned is easy to use with the webinterface. Highly recommended. I have used it on a tower server for a few years. See here for more info: https://www.openmediavault.org/ It also has a very helpful user-forum.
Title: Re: $49 NAS
Post by: randytsuch on 7 Sep 2017, 08:49 pm
Just remember the case is made for a 2.5 inch (laptop size) drive, not a 3.5 inch drive that is more available in larger capacities.
Title: Re: $49 NAS
Post by: Odal3 on 7 Sep 2017, 09:23 pm
Good point. Completely missed that. Make sure to get a drive that fits. The one I linked is a 3.5 inch drive.
Title: Re: $49 NAS
Post by: jpm on 7 Sep 2017, 09:32 pm
Looks as if it could be a nice light weight, compact, low power, vibration immune (SSD) solution for mobile installations (RV, Semi, camping ...)
Title: Re: $49 NAS
Post by: srb on 7 Sep 2017, 10:24 pm
WD's 2.5" drives top out at 2TB (1TB for Red NAS 2.5" drive) but Seagate has 3TB, 4TB and 5TB 2.5" standard laptop drives.
Title: Re: $49 NAS
Post by: JohnR on 8 Sep 2017, 03:37 am
BTW available in the US from ameridroid - https://ameridroid.com/products/odroid-hc1

5TB crikey - https://www.newegg.com/Product/Product.aspx?Item=N82E16822179104

(Wonder how  much power it needs?)

BTW2 I read somewhere that a 3.5" version is in the works.
Title: Re: $49 NAS
Post by: JohnR on 8 Sep 2017, 04:02 am
Wonder how  much power it needs?

To answer my own question, Seagate specs are 1.2A startup current and 1.9/2.1 W read/write. Pretty low...

If one were seriously going to use these for storage I suppose a UPS might be a good idea... like the "$35 computer" costs mount up quickly  :P
Title: Re: $49 NAS
Post by: srb on 8 Sep 2017, 04:09 am
(Wonder how  much power it needs?)

Per the Seagate BarraCuda 2.5" Data Sheet:
http://www.seagate.com/www-content/product-content/barracuda-fam/barracuda-new/files/barracuda-2-5-ds1907-1-1609us.pdf (http://www.seagate.com/www-content/product-content/barracuda-fam/barracuda-new/files/barracuda-2-5-ds1907-1-1609us.pdf)

The 3TB, 4TB and 5TB have the same power specs:

Startup Current (@ +5V):  1.2A
Read/Write Power, Average:  1.9W/2.1W
Idle Power, Average:  1.1W

The 500GB, 1TB and 2TB drives only have ~ 200mA less startup current (1A), the read/write power W a bit less and the idle power W ~ 50%.

Steve
Title: Re: $49 NAS
Post by: lowtech on 8 Sep 2017, 07:19 am
You could just plug in any USB3 hard drive into your Synology Router (https://www.synology.com/en-us/products/RT2600ac) and be done with it.
Title: Re: $49 NAS
Post by: JDUBS on 8 Sep 2017, 12:31 pm
You could just plug in any USB3 hard drive into your Synology Router (https://www.synology.com/en-us/products/RT2600ac) and be done with it.

I think most routers have USB3 inputs these days.  What's your point?

-Jim
Title: Re: $49 NAS
Post by: JohnR on 17 Sep 2017, 06:44 am
The drive-into-router solution works OK with the Synology and so far has been reliable (unlike earlier routers). For someone who just wants a network share it might be a reasonable solution.

Back on the HC1, Armbian seems to be considered a good distro if building from scratch :

https://www.armbian.com/odroid-hc1/
Title: Re: $49 NAS
Post by: JohnR on 17 Sep 2017, 06:47 am
With regard to power usage, odroid have measured it with a 5TB drive:

(http://com.odroid.com/sigong/_Files/comm/2017/201708/201708220059557515.jpg)

http://com.odroid.com/sigong/blog/blog_list.php?bid=189
Title: Re: $49 NAS
Post by: JohnR on 27 Oct 2017, 05:32 am
I don't see any type of cover available for it?

They have one now:

https://www.hardkernel.com/shop/odroid-hc1-case-clear/
Title: Re: $49 NAS
Post by: nature boy on 27 Oct 2017, 11:58 am
So, how difficult for a computer newbie to configure?  Would a completed unit require operating software, if so what would you recommend?  I would plan to use this in close proximity with a new music streamer/DAC to store my CD FLAC music collection.


NB
Title: Re: $49 NAS
Post by: JohnR on 27 Oct 2017, 02:50 pm
So, how difficult for a computer newbie to configure?

Hi NB, might not be the best choice in that case? Perhaps have a look at e.g. https://www.newegg.com/Product/Product.aspx?Item=N82E16822108181
Title: Re: $49 NAS
Post by: JohnR on 27 Jan 2018, 02:19 pm
Just remember the case is made for a 2.5 inch (laptop size) drive, not a 3.5 inch drive that is more available in larger capacities.

There's a 3.5" version now:

https://www.hardkernel.com/shop/odroid-hc2-home-cloud-two/

(http://www.hardkernel.com/main/_Files/prdt/2018/201801/201801041642348573.jpg)
Title: Re: $49 NAS
Post by: JohnR on 27 Jan 2018, 03:31 pm
Network throughput seems good (I'm using the 2.5" version):

Code: [Select]
bash-3.2# iperf3 -c odroidxu4 -i 1 -t 10
Connecting to host odroidxu4, port 5201
[  7] local 192.168.1.67 port 54573 connected to 192.168.1.61 port 5201
[ ID] Interval           Transfer     Bitrate
[  7]   0.00-1.00   sec  83.6 MBytes   701 Mbits/sec                 
[  7]   1.00-2.00   sec  80.1 MBytes   672 Mbits/sec                 
[  7]   2.00-3.00   sec  83.9 MBytes   704 Mbits/sec                 
[  7]   3.00-4.00   sec  82.2 MBytes   689 Mbits/sec                 
[  7]   4.00-5.00   sec  85.7 MBytes   719 Mbits/sec                 
[  7]   5.00-6.00   sec   112 MBytes   940 Mbits/sec                 
[  7]   6.00-7.00   sec   112 MBytes   939 Mbits/sec                 
[  7]   7.00-8.00   sec   111 MBytes   932 Mbits/sec                 
[  7]   8.00-9.00   sec   111 MBytes   932 Mbits/sec                 
[  7]   9.00-10.00  sec   111 MBytes   932 Mbits/sec                 
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  7]   0.00-10.00  sec   973 MBytes   816 Mbits/sec                  sender
[  7]   0.00-10.00  sec   972 MBytes   816 Mbits/sec                  receiver

iperf Done.
bash-3.2#
Title: Re: $49 NAS
Post by: JohnR on 27 Jan 2018, 03:47 pm
Drive speed (SSD - old Apple drive):

Code: [Select]
root@odroidxu4:~# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   2154 MB in  2.00 seconds = 1078.47 MB/sec
 Timing buffered disk reads: 1012 MB in  3.00 seconds = 337.16 MB/sec
root@odroidxu4:~# dd if=/dev/zero of=/root/testfile bs=1M count=100 oflag=direct
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.356716 s, 294 MB/s
root@odroidxu4:~#
Title: Re: $49 NAS
Post by: JohnR on 27 Jan 2018, 04:01 pm
Actual file transfer speed over the network (using Samba):

Code: [Select]
fire:Downloads johnr$ time cp 305-MB-file.aif /Volumes/droidisk/

real 0m8.295s
user 0m0.002s
sys 0m0.497s
fire:Downloads johnr$ time cp /Volumes/droidisk/305-MB-file.aif deleteme.aif

real 0m8.362s
user 0m0.002s
sys 0m1.241s
fire:Downloads johnr$


That works out about 37 MBytes/sec read or write. A very basic test but seems slower than expected.
Title: Re: $49 NAS
Post by: JohnR on 5 Feb 2018, 01:26 pm
So setting up my "Droid Stack" is under way!

(http://www.audiocircle.com/image.php?id=175689)

These are the best thing since the Raspberry Pi  :thumb:   (IMO, YMMV, etc)

The one on top has a 4TB drive which I'm now setting up as a music server. The other three have SSDs.

(The one over on the right is an XU4, which is the same but different I/O.)
Title: Re: $49 NAS
Post by: JDUBS on 22 May 2018, 03:44 am
JohnR, how are you liking it so far?  Very tempted to try one out.

-Jim
Title: Re: $49 NAS
Post by: JohnR on 22 May 2018, 06:39 am
Hi Jim, they're working well. One's been running as a music server (minimserver+bubbleupnp+samba) for a while now, a couple others I've set up as web servers for testing. They are slower than online VPS though. I haven't tried OMV - intending to use one with borgbackup although it's taking a while to get around to it.... Armbian is based on Ubuntu 16.04 and I think pretty much everything I've needed to apt-get has been there.
Title: Re: $49 NAS
Post by: JDUBS on 4 Jun 2018, 03:02 am
Hi Jim, they're working well. One's been running as a music server (minimserver+bubbleupnp+samba) for a while now, a couple others I've set up as web servers for testing. They are slower than online VPS though. I haven't tried OMV - intending to use one with borgbackup although it's taking a while to get around to it.... Armbian is based on Ubuntu 16.04 and I think pretty much everything I've needed to apt-get has been there.

Thank you!

-Jim
Title: Re: $49 NAS
Post by: JohnR on 25 Feb 2019, 04:04 am
I tried OMV on one of these and it seems to work fine. I'm not convinced overall by OMV, it's a little... fiddly, and it seems that in spite of the GUI you're expected to drop back into the command line at times anyway. I ran into this when I set up the logical volume manager and was unable to delete a snapshot volume from within the GUI. I think I'm going to stick with just a basic OS and Samba. Will update with results.

[PS fixed all the broken links above...]
Title: Re: $49 NAS
Post by: JohnR on 26 Feb 2019, 11:37 am
Well, since I mostly run a Mac "shop", I've installed AFP, which makes it easy to run Time Machine to the NAS. Carbon Copy Cloner does encrypted images of other drives. Basically followed these instructions here to install on Armbian: http://netatalk.sourceforge.net/wiki/index.php/Install_Netatalk_3.1.11_on_Ubuntu_18.04_Bionic