Making a NAS with the Odroid HC2
This would be a big upgrade for me, because for the first time I would be able to connect my WD Red 3T via SATA and not via USB.
So I bought one and let’s see how it went…
Odroid C2 is a nice tiny board made specifically in order to serve as a NAS.
Some of its key features are:
- Samsung Exynos5422 Cortex-A15 2Ghz and Cortex-A7 Octa core CPUs
- 2Gbyte LPDDR3 RAM PoP stacked
- SATA-3 port for 3.5inch or 2.5inch HDD/SSD storage up to 27mm thickness
- Gigabit Ethernet port
- USB 2.0 Host
- UHS-1 capable micro-SD card slot for boot media
- Size : 197 x 115 x 42 mm approx.(Aluminium cooling frame size)
- Linux server OS images based on modern Kernel 4.14 LTS
When I received it, I plugged in my WD Red on the SATA-3 port and then I started thinking which OS I would use for my NAS.
If you read this blog you would have already understood that apart from being a geek, I am also a control freak. I need to know what exactly is happening with regards to the OS, processes etc..
I would usually install ArchlinuxARM, samba, etc, and create a 100% OS for my needs. This time I decided to choose a different route and to be the right choice..
So I downloaded the OMV image for HC2, wrote it on the SD card and booted for the first time.
Openmediavault, is the exact opposite when compared to my 100% custom CLI based installations. It has a really nice web interface where you can easily configure your NAS in minutes and it has a LOT of features that will cover most of the average (and advanced..) user’s needs:
My first task was to upgrade the OS. In this forum post you can read about some issues I had when trying to do so plus how I solved them.
Next, I created the needed samba shares and started testing the new NAS.
Performance wise, the HC2/Openmediavault combo proved to be more than enough for my needs:
dd if=/mnt/nas/music/testfile of=/dev/null bs=1M count=1024 iflag=direct 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.0303 s, 107 MB/s
dd if=/dev/zero of=/mnt/nas/music/testfile bs=1M count=1024 oflag=direct 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.9383 s, 98.2 MB/s
The HC2 as a Pi-hole box in parallel with OMV
In this post I explained how I used the Odroid C1+ in order to create a pihole box.
After finishing with the configuration of the NAS, I decided to make HC2 a Pi-hole box too so that I could get rid of C1+.
In order to access the web interface I had to modify the web port of lighttpd to 8080. The URL for the pi-hole admin interface became:
The HC2 is a huge upgrade when compared to my previous USB DIY NASes.
Openmediavault is a really nice piece of software.
If you are on a tight budget and you don’t care about RAID, the Odroid HC2/Openmediavault combo is a highly suggested solution!