Archive

Posts Tagged ‘openmediavault’

Popcorn Hour Transformer Media Computer / NAS Launched for $95.90 and Up

January 4th, 2018 11 comments

Last month, we wrote about Cloud Media’s Popcorn Hour Transformer, a platform based on Rockchip RK3328 processor that could be used a 2.5″ drive NAS, and/or a 4K HDR TV box, and looked like an interested alternative  to ODROID HC1 NAS system.

The company has now officially launch the device, and is taking orders for $95.90 or $115.90 for respectively the 2GB RAM/16GB flash, or 4GB/32GB versions.

Click to Enlarge

Popcorn Hour Transformer specifications:

  • SoC – Rockchip RK3328 quad core Cortex A53 processor with Mali-450MP GPU
  • System Memory – 2GB or 4GB LPDDR3
  • Storage
    • micro SD slot
    • 16 or 32GB eMMC flash (removable and upgradeable)
    • 128 Mbit SPI NOR flash
    • SATA interface via USB 3.0 to SATA bridge chipset for 2.5″ HDD/SSD
  • Network Connectivity – Gigabit Ethernet
  • Video Output – HDMI 2.0a up to 4K 60Hz with HDR (HDR10/HLG) support
  • Audio Output – Via HDMI, and 3.5mm audio jack (analog stereo or optical S/PDIF)
  • USB – 2x USB 2.0 type A ports including one OTG port
  • Misc – Power button, IR receiver, RTC
  • Power Supply – 5V/3A via power barrel jack
  • Dimensions & weight – TBD (aluminum casing with passive cooling fins)

The transformer ships with a 5V/3A power supply, and an IR remote control.

Two variants are offered with exactly the same hardware, but while the “Media Computer” version is pre-loaded with Android 7.1.2, the NAS version comes with OpenMediaVault instead. The company also mentions community supported images for the device, which should be (mostly) software compatible with Pine64 ROCK64 development board, including Lakka (RetroArch) for retro-gaming, open source Android TV and Xenial Mate Desktop both maintained by ayufan, LibreELEC maintained by Raybuntu, and others.

At first, I found the price gap to ODROID-HC1 (sold for $49) ludicrous, but Transformer does include 16GB storage, and a power supply, which needs to be purchased separately for the Hardkernel mini NAS, so while the gap is still there, it’s not as large as the advertised prices entail. Popcorn Hour Transformer also supports video output, and comes with a fully closed case.

More Low Cost ARM Linux NAS Platforms Coming Soon: Popcorn Hour Transformer (XL), ODROID-HC2

December 14th, 2017 21 comments

Last summer, Hardkernel launched ODROID-HC1 Home Cloud 1 taking a single 2.5″ hard drive, and based on a modified version of their popular Exynos 5422 powered ODROID-XU4 board where they removed HDMI, and added a SATA interface (via USB 3.0), but based on the initial announcement, we also knew the Korean company was working on ODROID-HC2 supporting 3.5″ drives instead.

The device is not available yet, but guys at Armbian got an early unit, so we should not be waiting too long. Hardkernel will also have some competition for their ODROID-HC1 NAS, as Cloud Media (and Pine64?) are working on Rockchip RK3328 based Popcorn Hour Transformer & Transformer XL with support for 2.5″ and 3.5″ drives respectively.

Hardkernel ODROID-HC2

ODROID-HC2 (Top) vs ODROID-HC1 (Bottom) – Click to Enlarge

ODROID-HC2 preliminary specifications:

  • SoC – Samsung Exynos 5422 octa-core processor with 4x ARM Cortex-A15 @ 2.0 GHz, 4x ARM Cortex-A7 @ 1.4GHz, and Mali-T628 MP6 GPU supporting OpenGL ES 3.0 / 2.0 / 1.1 and OpenCL 1.1 Full profile
  • System Memory – 2GB LPDDR3 RAM PoP @ 750 MHz
  • Storage
    • UHS-1 micro SD slot up to 128GB
    • SATA interface via JMicron JMS578 USB 3.0 to SATA bridge chipset
    • The case supports 3.5″ drives
  • Network Connectivity – 10/100/1000Mbps Ethernet (via USB 3.0)
  • USB – 1x USB 2.0 port
  • Debugging – Serial console header
  • Misc – Power, status, and SATA LEDs;
  • Power Supply
    • 12V/2A via 5.5/2.1mm power barrel (2.5A might covered most use case, e.g. adding another USB 2.0 drive)
    • Backup header for RTC battery
  • Dimensions & weight – TBD

Basically everything should be the same, as HC1, except the power supply (12V vs 5V) and of course the dimensions of the metal enclosure, which is still used for cooling.

Tkaiser ran some preliminary tests, and could confirm HC2 is indeed software compatible with HC1/ODROID-XU4 using Armbian OMV image. Power consumption will be higher than for 2.5″ drives with around 5.3W measured while idle with a mechanical drive, and spikes up to 24Watts when the drive is spinning up, but apparently the 12V/2A power supply provided by hardkernel can somehow handle up to 30 Watts. Power consumption drops to 4.3W with an SSD, and 3.9W with no drive at all.

Performance was good at 100+ MB/s sequential read/write performance over the network. The reported SoC temperature will be slightly higher than on ODROID-HC1 because the 12V to 5V converter circuit produce heat that increases the PCB temperature by 3 to 4°C, but it should not be an issue.

Popcorn Hour Transformer

Click to Enlarge

Popcorn Hour Transformer is quite similar to ODROID-HC1, but Cloud Media also left the HDMI 2.0 output, so it could be used as a Android TV box with hard drive too.

Preliminary specifications for Transformer based on photos, and OMV forums:

  • SoC – Rockchip RK3328 quad core Cortex A53 processor with Mali-450MP GPU
  • System Memory – 2GB or 4GB DRAM
  • Storage
    • micro SD slot
    • Support for eMMC flash modules used in ROCK64 board
    • SPI NOR flash
    • SATA interface via USB 3.0 to SATA bridge chipset
    • Support for 2.5″ drives
  • Network Connectivity – Gigabit Ethernet
  • Video Output – HDMI 2.0a up to 4K 60Hz with HDR support
  • Audio Output – Via HDMI, and 3.5mm audio jack
  • USB – 2x USB 2.0 ports
  • Misc – Power button, IR receiver
  • Power Supply – 5V/3A via power barrel jack
  • Dimensions & weight – TBD

Click to Enlarge

Transformer should be 100% compatible with ROCK64 development board, and based on latest info from #pine64 IRC channel, launch is planned for January, with Transformer XL coming a few months later. Cloud Media already listed Transformer for $95.90$115.90, but accessing further information requires a password. Since the product has not been launched, prices may just be placeholders while designing the website.

In somewhat related news, Pine64 is working on a Rockpro64 board powered by Rockchip RK3399 SoC which will be demo’ed at FOSDEM 2018, and this may eventually lead to a Transformer Pro media NAS if there’s demand for it.

Giveaway Week – NanoPi NEO NAS Kit with NEO 2 Board

October 30th, 2017 179 comments

Time has come to organize another giveaway week. I used to mainly give away TV boxes, but due to recent regulations that will not be possible anymore, and instead this giveaway week will include Linux and IoT development boards, and other accessories. I’ll start with NanoPi NEO NAS Kit v1.2.

NanoPi NEO NAS Kit v1.2 is a low cost kit NanoPi NEO or NEO 2 board that takes a 2.5″ hard drive. I’ve tested it with NanoPi NEO 2 board and OpenMediaVault, and found to perform optimally for this type of device (USB 2.0 to SATA), with SAMBA reads & writes achieving 40 MB/s.

Read and Write Speeds in MB/s

The hardware given away includes the NAS Kit v1.2 and a NanoPi NEO 2 board. You’ll just need to add a micro SD card with the OMV image, a hard drive, and a 12V/2A (or greater) power supply.

To enter the draw simply leave a comment below. Other rules are as follows:

  • Only one entry per contest. I will filter out entries with the same IP and/or email address.
  • Contests are open for 48 hours starting at 10am (Bangkok time) every day. Comments will be closed after 48 hours.
  • Winners will be selected with random.org, and announced in the comments section of each giveaway.
  • I’ll contact the winner by email, and I’ll expect an answer within 24 hours, or I’ll pick another winner.
  • Shipping
    • $14 for registered airmail small packet for oversea shipping payable via Paypal within 48 hours once the contest (for a given product) is complete.
    • If Paypal is not available in your country, you can still play, and I’ll cover the cost of sending the parcel by Sea and Land (SAL) without registration if you win.
  • I’ll post all 7 prizes at the same time, around the 8th of November
  • I’ll make sure we have 7 different winners, so if you have already won a device during this giveaway week, I’ll draw another person.

Good luck!

If you don’t end up winning, but are still interested in the solution, you can purchase the kit with NanoPi NEO 2 for $28.98 plus shipping on FriendlyARM website.

GNUBee Personal Cloud 2 is a DIY NAS Supporting up to Six 3.5″ SATA Drives (Crowdfunding)

October 11th, 2017 20 comments

GNUBee Personal Cloud 1 is a DIY NAS powered by Mediatek MT7621A MIPS processor that supports up to 2.5″ SATA drives, and runs free and open source software. It was first introduced in March of this year through a CrowdSupply campaign.

The developers are now back with GNUBee Personal Cloud 2 (GB-PC2) with pretty much the same features, but instead of being designed for 2.5″ drives, it supports up to six 3.5″ drive that should offer either more capacity, or a lower total price for an equivalent capacity.

GB-PC2 NAS specifications:

  • ProcessorMediaTek MT7621A dual core, quad thread MIPS processor @ 880 MHz, overclockable to 1.2 GHz
  • System Memory512 MB DDR3 (max supported by MT7621)
  • Storage – SD card slot tested up to 64 GB, 6x 3.5” SATA HDD or SSD (recommended RAID 0 or 1 under LVM, MD, or Linux MD RAID 10)
  • Connectivity – 3x Gigabit Ethernet
  • USB – 1x USB 3.0 port, 2x USB 2.0 ports
  • Serial port – 3-pin J1 connector or 3.5 mm audio-type jack
  • Misc – 2x mainboard fan
  • Power – 12 VDC @ 8A via 5.5 mm x 2.1 mm, center-positive barrel jack
  • Dimensions –  TBD
  • Weight – ~454 g (without drives)

They also added one extra Gigabit Ethernet port for a total of three, and the NAS is obviously larger and heavier than the previous model, as well as requires a beefier power supply. The device can currently run Debian, OpenMediaVault, LEDE, or libreCMC with all documentation, schematics, and source code to be released on Github.

The new GB-PC2 model has also been launched on CrowdSupply with a funding target of $45,000. GnuBee PC2 Starter Kit with two anodized aluminum side plates, six threaded brackets and bracket screws, and 24 drive mount screws requires a $249 pledge. However, you may want to spend $10 more to add the power supply, SD card with firmware image, and USB-to-UART adapter cable for the Delux Kit (Early Bird). Shipping is free to the US, but adds $20 to the rest of the world, with delivery planned for December 31, 2017. Further details may be found on GNUBee website.

Hardkernel ODROID-HC1 Home Cloud One Stackable NAS is now available for $49

August 21st, 2017 15 comments

Hardkernel has just launched their ODROID-HC1 stackable NAS system based on a cost-down version of ODROID-XU4 board powered by Samsung Exynos 5422 octa-core Cortex-A15/A7 processor, which as previously expect, you can purchase for $49 on Hardkernel website, or distributors like Ameridroid.

We now have the complete specifications for ODROID-HC1 (Home Cloud One) platform:

  • SoC – Samsung Exynos 5422 octa-core processor with 4x ARM Cortex-A15 @ 2.0 GHz, 4x ARM Cortex-A7 @ 1.4GHz, and Mali-T628 MP6 GPU supporting OpenGL ES 3.0 / 2.0 / 1.1 and OpenCL 1.1 Full profile
  • System Memory – 2GB LPDDR3 RAM PoP @ 750 MHz
  • Storage
    • UHS-1 micro SD slot up to 128GB
    • SATA interface via JMicron JMS578 USB 3.0 to SATA bridge chipset capable of achieving ~300 MB/s transfer rates
    • The case supports 2.5″ drives between 7mm and 15mm thick
  • Network Connectivity – 10/100/1000Mbps Ethernet (via USB 3.0)
  • USB – 1x USB 2.0 port
  • Debugging – Serial console header
  • Misc – Power, status, and SATA LEDs;
  • Power Supply
    • 5V via 5.5/2.1mm power barrel (5V/4A power supply recommended)
    • 12V unpopulated header  (currently unused)
    • Backup header for RTC battery
  • Dimensions – 147 x85 x 29 mm (Aluminum case also serving as heatsink)
  • weight – 229 grams

The company provides Ubuntu 16.04.2 with Linux 4.9, and OpenCL support for the board, the same image as ODROID-XU4, but there are also community supported Linux distributions including Debian, DietPi, Arch Liux ARM, OMV, Armbian, and others, which can all be found in the Wiki.

SAMBA File Copy To/From HC1 – Click to Enlarge

Based on Hardkernel’s own tests, you should be able to max out the Gigabit Ethernet bandwidth while transferring a files over SAMBA in either directions. tkaiser, an active member of Armbian, also got a sample, and reported that heat dissipation worked well, and that overall Hardkernel had a done a very good job.

While power consumption of the system is usually 5 to 10 Watts, it may jump to 20 Watts under heavy load with USB devices attached, so a 5V/4A power supply is recommended with the SATA drive only, and 5V/6A if you are also going to connect power hungry devices to the USB 2.0 port. The company plans to manufacture ODROID-HC1 for at least three years (until mid 2020), but expects to continue production long after, as long as parts are available.

$25 NanoPi NEO Plus2 Board Adds 8GB Flash, WiFi & Bluetooth, More RAM, and an extra USB Port

July 3rd, 2017 23 comments

NanoPi NEO 2 board has just got an update with NEO Plus2 board featuring the same Allwinner H5 processor and Gigabit Ethernet connectivity, but FriendlyELEC updated the RAM from 512MB to 1GB, added an 8GB eMMC flash, a WiFi & Bluetooth module, and an extra USB port.

NanoPi NEO Plus2 specifications:

  • SoC – Allwinner H5 quad core Cortex A53 processor with an ARM Mali-450MP GPU

    NanoPi NEO Plus2 vs Raspberry Pi 3

  • System Memory – 1 GB DDR3
  • Storage – 8GB eMMC flash (Samsung KLM8G1WEPD-B031) +  micro SD card slot
  • Connectivity – Gigabit Ethernet (via RTL8211E-VB-CG chip), 802.11 b/g/n WiFi and Bluetooth 4.0 (via Ampak AP6212A wireless module)
  • USB – 2x USB 2.0 host ports, 1x micro USB port (for power only), 2x USB via headers
  • Expansion headers
    • 24-pin header with I2C, 2x UART, SPI, and GPIOs
    • 12-pin header with 2x USB, IR pin, I2S, and GPIOs
    • 5-pin audio 2.0mm pitch header with microphone and LINE out signals
  • Debugging – 4-pin header for serial console
  • Misc – Power and status LEDs
  • Power Supply – 5V via micro USB port or VDD pin on headers.
  • Dimensions – 52 x 40 mm

The header pinout and spacing appear to be identical to the ones of other NanoPi NEO boards, so accessories like NanoHat Hub and BakeBit Starter Kit should work with the board, but with the extra features, they also had to make the board a little longer, so enclosures like NanoPi NAS Kit won’t be compatible. They’ve used the cheapest 8GB Samsung eMMC flash with 5K/0.6K R/W IOPS, so don’t expect the best performance from it, but it may or may not matter that much depending on your application.

 

The company has still released Ubuntu Core 16, Debian NAS (with OpenMediaVault), and Ubuntu OLED images based on Linux 4.x for the board, which you’ll find together with the rest of the documentation in the dedicated Wiki. eFlasher tool will allow you to install the image to the internal eMMC flash. An experimental Armbian image is also likely to be released soon enough.

NanoPi NEO Plus2 is sold for $24.99 plus shipping apparently with all 2.54mm pitch headers soldered by default, a WiFi antenna, and a user manual. You may however prefer to purchase the “basic kit” for $29.00, which adds a micro USB cable, a heatsink & thermal pad, an acrylic case, and – for the first 200 orders – a USB2UART board for debugging.

NanoPi NEO NAS Kit Review – Assembly, OpenMediaVault Installation & Setup, and Benchmarks

June 18th, 2017 70 comments

NAS Dock v1.2 for Nano Pi NEO / NEO 2 is, as the name implies, a complete mini NAS kit for 2.5″ drive for NanoPi NEO or NEO 2 board. The NEO 2 board is strongly recommended, since it’s not much more expensive, but should deliver much better results due to its Gigabit Ethernet interface. I’ve received two of those kits together with several other boards & accessories from FriendlyELEC, and today I’ll show how to assemble the kit, configure OpenMediaVault, and run some benchmarks.

NAS Kit V1.2 Assembly with NanoPi NEO 2 Board

The only extra tool you’ll need is a screwdriver, and potentially a soldering iron as we’ll see further below.
The metal box is stuff wih accessories so the first thing is to open one or two sides to take out the content. We have the mainboard, NanoPi NEO back plate, NanoPi NEO 2 back plater, a heatsink and thermal set, and a set of 5 screws to tighten the hard drive which mean there’s one extra screw. FriendlyELEC always adds extra screws, and I find it’s a nice touch, as it can be a real pain if you happen to lose one.

Click to Enlarge

Let’s have a closer look at the “1-bay NAS Dock v1.2 for NanoPi NEO/NEO2” board. We have a UAS capable USB 3.0 to SATA brige chip between the two header for NanoPi NEO board (note that the USB connection will be limited to USB 2.0 since the board only supports that), an LED, a USB 2.0 host port for a printer, WiFi dongle, or webcam, the power switch, the power jack, a 3-pin serial header, an I2C connector for Grove modules, and of course the SATA connector.

Click to Enlarge

There’s not much on the other side of the board, except a CR2032 battery slot for the RTC.

Before going further, you’ll need to go to the Wiki, and get the latest OpenMediaVault firmware, in my case nanopi-neo2_debian-nas-jessie_4.11.2_20170531.img.zip, which I then flashed with Ether program to a micro SD card..

Once this is done, install the heatsink and thermal to your NanoPi NEO 2 board, and insert the micro SD card into the board.

Notice that I also soldered the headers. While it would be obvious to people would have looked at the pinout diagram, I’ve read some people have justed connect the board using the (pre-soldered) 4-pin header, as they may have believed it was a USB header, but it’s just the serial console instead, and obviously the hard drive was not detected. If you don’t feel like soldering the headers to the board yourself, make sure you tick the option “with pin headers soldered” when ordering. It just costs $1 extra.

Now we can insert our board into the “1-bay NAS Dock” board, instead the hard drive, and optionally an I2C module. I connected an I2C OLED display i the picture below for illustrate, as using the display would require cutting out the case. Some people may want to connect an I2C temperature sensor instead.

Click to Enlarge

I used four screws to tighen the hard drive on the other side of the board, and install a CR2032 battery for the real-time clock.


Finally, you’ll need a 12V power supply with at least 1A, but I could not find any (safe) spare ones so I used Maxoak K2 power bank instead, since it can output 12V @ 2.5 A max.


OpenMediaVault Setup on NanoPi NEO 2 Board

So I connected everything, and applied power, but the board would not boot with the Ethernet Link LED blinking in a regular fashion, meaning something was very wrong. So I took out the board, and connected a serial debug board, connect to the console via minicom using 115200 8N1, and that’s what I got:

The boot was just stuck there. I re-inserted the micro SD in my PC, and I could see both boot and rootfs partitions, so everything looked good.
Then I powered the NanoPi NEO 2 board with a 5V/2A power supply only, and the boot succeeded:

Then I went back to the 12V power input on NAS Kit with the power bank and the boot succeeded. Very strange. It turns out the board would not boot most of the time, but the symptoms are not reproducible 100% of the time. This kind of random behavior is usually a timing or distorted signal issue. So I thought the micro SD card might not play well with the board, and the power bank signal might not be so clean. So I first flashed another micro SD card, but same results. I used another 12V/5A power supply, and it did not really help either. Finally, I used another NanoPi NEO 2 board and it appears to be stable.

You can find the board using FriendlyELEC.local if bonjour services are running in your computer:

Alternatively, you could check out the IP address in other ways. In my case, I just type friendlyelec.local in Firefox to access the web interface. The default username and password are admin and openmediavault.

Click to Enlarge

After login, you can access the dashboard showing system information, and which services are running. You may want to disable the services you don’t need.

Click to Enlarge

You can go to Storage->Physical Disks to check if your hard drive has been detected. No problem for me here with a 931.51 GiB drive detected.

Click to Enlarge

You may then want to setup a fix IP address. There are various ways to do this but I went to Network->Interfaces and set eth0 to a fixed IP address. You’ll be asked to apply the changes once it’s done.

Click to Enlarge

I also changed the hostname to CNX-NEO2-NAS in the General tab.

After that I decided to address some security issues. First by changing the administrator password in General Settings->Web Administrator Password.

I then went to Access Rights Management->User to find out there were two pre-configured users: pi and fa. I deleted fa user, changed pi’s user password, and added it to ssh group. It’s actually even probably better to just delete both user, and create your own.

The root user is not shown, but you’ll want to login as root through ssh first and change the password, as the default password is fa. Once it’s done, you’ll have better security, and your system should not be easily accessible via basic “hacks”. For more security, you’ll still want to install an RSA certificate. A self-signed one should do if you plan to use it only in the local network, but you may also consider a free Let’s Encrypt certificate instead.

We can now take care of the hard drive. I went to Storage->File Systems, and clicked on +Create file system which will let you choose between BTRFS, EXT3, EXT4, XFS, and JFS. I’ve gone with EXT4 first.

Click to Enlarge

After a few minutes you drive should be formatted, so we can configure network shares. I want to use SAMBA and SFTP to transfer files for the purpose of this review, so I went to Access Rights Management->Shared Folders to add a new share called HDD for the root of of hard drive. You may want to add multiple share if you plan to split videos, documents, music and so on.

Click to Enlarge

I clicked Save, and selected ACL to add permissions to pi and admin users. You can add whatever users you plan to use to access the share.

Click to Enlarge

That share3d folder can now be assigned to the services you plan to use. SFTP is enabled by default when SSH is running, so I create a SAMA/CIFS share by going to Services->SMB/CIFS->Shares to add the share.

Click to Enlarge

Browsing the Network with Nautilus would show both cnx-neo2-NAS – SMB.CIFS and cnx-neo2-nas – SSH (SFTP) shares.

Configuration is now complete. I have not find a clean way to power off the system, so I normally open a terminal session via ssh and run the shutdown now command. A software button to turn of the NAS would have been a nice features on the kit.

I also often encountered the error “Software Failure. Press left mouse button to continue. Session not authenticated.” before the session timeout is set to 5 minutes. If you prefer a longer timeout, you can change it in General Settings->Web Administration.

In case you want to use the RTC, you may first want to set the timezone:

Check the date is correct, and write it to the hardware clock:

before reading it back.

You can test it by rebooting the board without the Ethernet cable:

Perfect! You’d just have to make sure the “set” command is run automatically at boot time if the time in the RTC is set. It would be good if FriendlyELEC updated their image to do that automatically at boot time.

NAS Dock V1.2 + NanoPi NEO 2 Benchmarks

Since I can now copy files and folders over SAMBA and SFTP, we can start running some benchmarks to evaluate performance. I’ll use EXT-4, BTRFS, and XFS file systems on the hard drive, and run iozone to specicially test storage performance, following by copying large and small files over SAMBA or SFTP to test real-life NAS performance. For large file copy, I’ll use a folder with 7 large files totaling 6.5 GB, and for small files, I’ve done a fresh checkout of the Linux kernel in my computer:

and removed symlinks since they may cause issues during copy, as well as .git directory with a huge 1.8GB file:

The end result is a directory with 64,013 files totaling 748.6 MB.

Iozone results

EXT-4:

BTRFS:

XFS:

I’ve taken results with 16384kB reclen for read, write, random read and random write values to draw a chart, since most people are likely going to store large files in their NAS. The smaller reclen could be interesting if you plan to handle smaller files.

All three file systems have a very good read speed of around 40 MB/s, but BTRFS write appear to be the fastest among the three, with EXT-4 being the weakest at around 25 MB/s. But for some reasons, those results are useless in practice, as we’ll see below. Finding out the exact reason would possibly require studying and profiling iozone and the kernel source code which would be outside of the scope of this review.

File copy over SAMBA and SFTP

Results for large files in minutes and seconds.

File Copy  Large Files SMB SFTP
Write Read Write Read
EXT4 02:49.00 02:40.00 03:54.00 04:15.00
BTRFS 03:20.00 02:40.00 03:48.00 04:32.00
XFS 02:45.00 02:38.00 03:36.00 04:23.00

Chart converted to MB/s.

Read and Write Speeds in MB/s

First, we can see very good read performance from the NAS (NAS to my PC)  with 41 to 42 MB/s close to the theorethical limit of a USB 2.0 connection. Write speed is a a little different as the files were transferred more slowly with BTRS, and around 40MB/s with EXT-4 and XFS.  Since SFTP is encrypted the transfer speed is roughly the same for all three file systems. Overall the file system you choose does not really impact performance with large files.

Results for small files in minutes and seconds.

File Copy  Small Files SMB SFTP
Write Read Write Read
EXT4 15:26.00 18:34.00 09:02.00 12:48.00
BTRFS 18:48.00 18:02.00 10:30.00 11:30.00
XFS 17:33.00 18:22.00 09:18.00 12:35.00

Chart converted to MB/s.

Transferring a large number of small files over SAMBA is really slow, and barely faster over SFTP. Again,there aren’t any significant differences between file systems here.  If you are going to transfer a large number of small file over the network, you may want to either compress the files before transfer, or compress the files on the fly using the command line:

It took just 1 minute and 49 seconds to transfer all 64,013 files, or over five times faster than SFTP write to XFS, at around an effective 6.86 MB/s. So knowing your tools may matter as much as having the right hardware.

I was going to run a last part after enabling optimizations provided by tkaiser, but it turns out FriendELEC has already done that in their firmware image.

If you want to reproduce the setup above, you’ll need to purchase NAS Kit v1.2 for $12.99, and a NanoPi NEO 2 with soldered headers for $15.99. If you don’t have a 2.5″ hard drive, you’ll need to add this, as well as a 12V power supply which you could purchase locally, or on FriendlyELEC website for under $10. All in all that’s cheaper than a similar kit with a Raspberry Pi 3 board, and you’ll get close to four times the SAMBA performance for large files since RPi 3 will be limited to 10 to 12 MB/s due to the Fast Ethernet connection.

NAS Kit v1.2 Gets Support for NanoPi NEO 2, an UAS Capable USB to SATA Bridge, and an RTC Battery

May 12th, 2017 39 comments

Last month, FriendlyELEC launched a NAS Dock kit for NanoPi NEO board, but they’ll already removed it from their store. That’s because they have a new version NAS Dock v1.2 that also supports NanoPi NEO 2 with Gigabit Ethernet, replaces JMicron JM20329 by UAS capable JMicron JMS567 USB 3.0 to SATA bridge, and adds an RTC battery.

The rest of NAS Dock Kit v1.2 specifications remain the same:

  • 1-bay NAS Dock expansion board with
    • JMicron JMS567 USB 3.0 to SATA bridge
    • SATA connector for 2.5″ HDD drive
    • Extra USB host port
    • On/off switch, and dual color status LED
    • Header to connect NanoPi NEO / NEO 2 board
    • 12V DC power input
    • Dimensions – 151 x 89.7 mm
  • NS-120 aluminum enclosure (154 x 100 x 47.5 mm, 414 grams)
  • Heatsink set for NanoPi NEO / NEO 2
  • 4x M3 6mm screws, 8x M2.5 6 mm screws
  • Four rubber pads
  • Front and back covers

Since NEO 2 has a low profile Ethernet jack, the company provides both NEO and NEO 2 back covers in the kit. It’s probably less hassle than providing two kits.

Software has also improved, as while the company still provides an OpenMediaVault image, it’s now based on Linux 4.11 + Debian 8. You’ll find the download links and instructions in the Wiki. FriendlyELEC also added the better iozone benchmark to the quick hdparm test to compare the “SATA” performance to Raspberry Pi 3, NanoPi NEO, and NanoPi NEO 2 boards.

They should really have done a file copy test over Gigabit Ethernet, as NanoPi NEO 2 should be about 2 to 3 times faster while copying a large file. Raspberry Pi 3 shared Ethernet and USB bandwidth may also affect the performance badly in some specific use cases, while NanoPi NEO 2 won’t have this type of problem since Ethernet and USB are two separate interfaces in Allwinner H5 processor.

The other good news is that despite the improvements, FriendlyELEC NAS Dock Kit price has not changed, and it is still sold for $12.99 + shipping. You’ll also need a  $14.99 NanoPi NEO 2, a micro SD card, a 12V/2A power supply to complete the setup. In other news, the company has also introduced a kit with NanoPi NEO 2 board, and a cute metal case with OLED display going for $34 in total (board included).