PINE64
NAS / OpenMediaVault - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: General Discussion on ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=86)
+--- Thread: NAS / OpenMediaVault (/showthread.php?tid=4760)

Pages: 1 2 3 4 5


NAS / OpenMediaVault - pfeerick - 07-14-2017

Note: If you came across this thread because you wanted to find the great OpenMediaVault images for the rock64 that ayufan has slaved over, jump over to https://github.com/ayufan-rock64/linux-build/releases/latest and look for the jessie-openmediavault-rock64 images. But please do come back and read this topic at some point soon, to ensure you get the best possible performance from your setup!  Big Grin

Due to the rather attractive feature set of the rock64 for it's price point (USB3 port, dedicated USB2 ports, Gigabit Ethernet, up to 4GB of RAM, up to 1.5Ghz quad core 64bit processor ), one of the expected uses for it is as a Network Attached Storage device, either running your own custom setup, or perhaps OpenMediaVault (I'd recommend the latter... you can't beat a pre-configured web-gui driven setup that's ready to go out of the box! Wink ). And talking of performance, I can't resist not posting this excerpt from tkaiser as to just how good the rock64 can be when configured right:

tkaiser Wrote:We're talking about +380MB/s on average with UAS. This is close to the maximum what we can get with USB3 SuperSpeed anyway (400MB/s or to quote the specs: "At a 5 Gbps signaling rate with 8b/10b encoding, the raw throughput is 500 MBps. When link flow control, packet framing, and protocol overhead are considered, it is realistic for 400 MBps or more to be delivered to an application.")

But this doesn't mean the road won't be rocky... there are things that can go wrong... from unstable power supplies... to configurations that just won't work... to glitches in the software that result in unpleasant surprises. This post attempts to pull together all of the various bits of information about potential problems you might encounter, and also to link to some of the more interesting bits of info about using the Rock64 as a NAS/OMV device. 

Before you read the performance related stuff, it may be wise to read this thread about what does all this benchmark stuff really mean!

Performance data: Other useful stuff:
  • If you're thinking about NAS / OMV, you're probably thinking about external storage. The best chipsets to use are JMS567, JMS578 or ASM1153E (the latter is only an issue in Seagate disk enclosures due to branded/broken firmware). And the pine64 store stocks a pretty cheap JMS578 USB3 to SATA cable (which is suitable for 3.5" disks with additional 12V/2A PSU, and *possibly* 2.5" drives without a powered USB hub, although one would be strongly recommended). If you want other optoins, similar items under the YEYI and ORICO brands, with the latter also having a full 3.5" disk enclosure relying on the JMS578 chipset. They can be found for as little as US$4.99 on AliExpress at the time of writing, and you might even be able to get them cheaper with the odd coupon that goes around...
  • A lot of other people have used the Odroid XU4 as their NAS/OMV device. And when you consider the specs, it's no wonder why. However, specs are not everything in a NAS/OMV devices, real-world performance is. Configured correctly, and with the right hardware, the rock64 can probably outperform the Odroid XU4, whilst running cooler and consuming less energy. However, please make up your own mind on this... have a look at the threads on the Armbian Forum and the OMV Forum where tkaiser has collected a lot of benchmaking data, and stimulated discussion about real-world performance and usability. 

Potential Issues:
  • USB RAID: In a home use application, it is a plain joke, as it isn't true RAID to start with. Plus, you can get into funky situations where your RAID setup actually shuts itself down due to undervoltage, making it lose and corrupt things all by itself. Someone on the IRC chat put it like "USB RAID (with one USB hub in between -- let some disks do some work --> under-voltage --> hub disappears from bus --> all disks are gone at the same time --> RAID my *aunt*).
  • Undervoltage: This is very common issue in the SBC world, and is because mobile phone / USB chargers are simply not suited for powering SBCs. Save your self some unnecessary pain and suffering, and get the proper rock64 power supply. Its good, cheap, and will prevent random file system corruption, crashes and your rock64 suddenly powering off due to a undervoltage issue. And if you want to use external hard disk drives... you really should use a powered USB hub, as the rock64 will probably be able to power them if used with the correct power supply, but you are simply asking for undervoltage issues or for your external HDD to not power on properly. 
  • MicroSD fakes or poor performance: This issue crops up again, and again, and again. Regardless of if you buy a 'name brand' microSD from your electrical supply store, supermarket, or from a reputable online seller, fakes can be introduced anywhere in the supply chain without their knowledge, and regardless of that, the microSD could be faulty on arrival, or just not a suitable one for SBC applications. My personal recommendation is that you should get yourself a Samsung EVO(+) MicroSD. They have been tested numerous times, and provide excellent performance at a good price. And after you get one, still use something like h2testw (on windows), or F3 for linux and Mac, to check that your microSD is really the size it claims it is, and doesn't have any faults right from day 1.
  • Error messages not quite meaning what you think: For example these logs might make you think that the uas_eh_abort_handler errors are an indication there is is something wrong with the UAS drivers or support on your system. However, in this particular case, the issue was actually an underpower issue for the cradle, and was occurring during some random write tests, as as that is when a disk drive is the most power demanding.

More will be added to this post as time goes on. Please feel free to make suggestions for more links and information to be added.


RE: NAS / OpenMediaVault - KryPtAlIvIaN - 07-14-2017

Looking forward to checking this out :-)


RE: NAS / OpenMediaVault - Luke - 07-14-2017

Very well put together and important thread, many thanks pfeerick! I feel confident that application of the R64 as a NAS will be only second to that of a media player.


RE: NAS / OpenMediaVault - ayufan - 07-20-2017

Here you can find OpenMediaVault build: https://github.com/ayufan-rock64/linux-build/releases.


RE: NAS / OpenMediaVault - tllim - 07-20-2017

(07-20-2017, 03:07 AM)ayufan Wrote: Here you can find OpenMediaVault build: https://github.com/ayufan-rock64/linux-build/releases.

I have posted ayufan's OMV build info on ROCK64 wiki page.


RE: NAS / OpenMediaVault - Brainy142 - 07-28-2017

Is there any way where I can reliably use a rock64 as a 2 bay NAS? I know there are usb enclosures for drives, however, I wonder if they are reliable....

I currently have a qnap 212p that I would love to replace with something a lot faster....


RE: NAS / OpenMediaVault - stuartiannaylor - 08-07-2017

(07-28-2017, 10:55 PM)Brainy142 Wrote: Is there any way where I can reliably use a rock64 as a 2 bay NAS? I know there are usb enclosures for drives, however, I wonder if they are reliable....

I currently have a qnap 212p that I would love to replace with something a lot faster....

Prob something like this.

https://www.aliexpress.com/item/SATA-II-2-Port-sata2-0-Multiplier-PM-Bracket-Mounting-RAID-0-1-JBOD-Dual-Channel/32574744282.html?spm=2114.search0104.3.2.LexuKe&ws_ab_test=searchweb0_0,searchweb201602_3_10152_10065_10151_10130_10068_10209_10192_10190_5430020_5410020_10307_10301_10137_10303_10060_10155_10154_5370011_10056_10055_10054_10059_100031_10099_5400020_10103_10102_10052_10053_10142_10107_10050_10051_5380020_5390020_10084_10083_10119_10080_10082_10081_10110_10111_5420020_10112_10113_10114_10179_10312_10313_10314_10184_10315_10078_10079_10210_10073_10120,searchweb201603_1,ppcSwitch_5&btsid=07c4fcda-6169-48f5-9d83-470cb480bb9e&algo_expid=6e7842f1-18f7-446b-ab5f-e84d355f8a4c-0&algo_pvid=6e7842f1-18f7-446b-ab5f-e84d355f8a4c

wow thats a url and a half!

Then a usb3 to sata adaptor.


RE: NAS / OpenMediaVault - xalius - 08-08-2017

If using more than one drive you dont really want to use UAS over USB2/3 on a single host controller. Recommended USB to SATA bridges are for example JMS567/578 or any other that are know to support USB UAS well. If you need more than one drive, it is probably better to look for a board that has multiple USB3 host controllers (rare) or native SATA (Helios4 for example).


RE: NAS / OpenMediaVault - Metalazzo - 08-14-2017

Hello there, I am currently trying OMV on the Rock64.
I'm using last (0.4.16) build with a SSD on an USB3 to sata adapter (ugreen, supposedly with UASP).
When transfering 2GB *.img file, the speed is limited to 25MB/s... like it was limited to USB2 speed.
I'm wondering why the speed is so low (tkaiser posted screenshot up to 70MB+/s)... since I can't log using SSH (neither rock64/rock64 or root/openmediavault work), I can't try anything...
If someone has an idea to why the speed is so slow... thanks for your help Smile
PS: I tested the adapter with Win10 and speed is actually pretty good during copy (100MB+/s with my old sandisk 120GB SSD).

edit: I saw on http://linux-sunxi.org/USB/UAS that the ASMEDIA chip inside my adapter (identifier USB\VID_174C&PID_55AA in windows so according to https://www.hdsentinel.com/compatibility_usbharddisks.php it is a ASM1051 chip) is blacklisted so no "UASP kinf of speed" for me Sad


RE: NAS / OpenMediaVault - ayufan - 08-15-2017

Go to Web and enable root login for ssh. It is disabled because of security.