OpenMediaVault for XU3 and XU4

ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Wed Jul 15, 2015 5:02 am

Images available here.

Login to the OMV web interface at http ://ip-address/

For any OpenMediaVault questions, ask on the OMV forum.

User avatar
odroid
Site Admin
Posts: 29330
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by odroid » Wed Jul 15, 2015 10:47 am

I am so happy to see the OMV OS image for the XU3 & XU4. :)

Hrabosky
Posts: 5
Joined: Thu Jul 23, 2015 8:40 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Hrabosky » Fri Jul 24, 2015 9:05 pm

I don't have my XU4 at the moment; but has anyone attempted to do

echo "deb http://packages.omv-extras.org/debian/ kralizec main" | sudo tee -a /etc/apt/sources.list.d/omv-extras-org-kralizec.list
sudo apt-get update
sudo apt-get install openmediavault-omvextrasorg -y --force-yes

for CouchPotato, Sabnzb and Sonarr?

ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Fri Jul 24, 2015 9:17 pm

My image already has omv-extras installed. There is a plugin for all three of those packages are in the omv-extras repos (CouchPotato and Sabnzb are in the download managers repo and Sonarr is in the mono repo). I would use stoneburner instead of kralizec as well.

Hrabosky
Posts: 5
Joined: Thu Jul 23, 2015 8:40 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Hrabosky » Fri Jul 24, 2015 9:54 pm

ryecoaaron wrote:My image already has omv-extras installed. There is a plugin for all three of those packages are in the omv-extras repos (CouchPotato and Sabnzb are in the download managers repo and Sonarr is in the mono repo). I would use stoneburner instead of kralizec as well.
Awesome good to know! I bought a XU4 for the purpose of playing around with that specific software. Would you be able to create some tutorial for installing? Having Step one be how to flash your eMMC card with your image?

ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Fri Jul 24, 2015 10:00 pm

I'm assuming you are using Windows:

1 - Use 7-zip to extract the image from download.
2 - Use win32diskimager to write the image to the emmc card (using microsd adapter).
3 - Boot image (might take a few minutes because the data partition is resized on first boot to fill the rest of your media).
4 - Login to the web interface (IP address to use will show on screen).
5 - In the OMV-extras tab, enable the download managers and mono repo. Save and apply.
6 - Find plugins you want in the Plugin tab and install.

Hrabosky
Posts: 5
Joined: Thu Jul 23, 2015 8:40 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Hrabosky » Wed Jul 29, 2015 8:30 pm

ryecoaaron wrote:I'm assuming you are using Windows:

1 - Use 7-zip to extract the image from download.
2 - Use win32diskimager to write the image to the emmc card (using microsd adapter).
3 - Boot image (might take a few minutes because the data partition is resized on first boot to fill the rest of your media).
4 - Login to the web interface (IP address to use will show on screen).
5 - In the OMV-extras tab, enable the download managers and mono repo. Save and apply.
6 - Find plugins you want in the Plugin tab and install.

Thank you! I will test it out as soon as it arrives!

Gaurav277
Posts: 18
Joined: Thu Jul 16, 2015 3:12 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Gaurav277 » Sat Aug 01, 2015 12:34 am

I have been using it for a week now . it is great image. Only issue I am facing when I shutdown XU4... It does not start with drive connected to USB... I have to remove it .. Start again and once it is fully ON then I can attach drive ... Anybody else facing this issue

ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Sat Aug 01, 2015 12:42 am

I haven't seen that issue. I have turned mine on and off many times and it has a drive connected in a CloudShell. What type of drive?

Koxx
Posts: 103
Joined: Tue Jun 16, 2015 6:04 am
languages_spoken: english, french
ODROIDs: C1
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Koxx » Sat Aug 01, 2015 1:30 am

Hi, what kind of R/W performances do you have on Samba with usb3 drive (ntfs ? ext4 ?) ?

ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Sat Aug 01, 2015 1:45 am

ntfs would be slower but there are some OMV charts here under Network Storage Performance.

Koxx
Posts: 103
Joined: Tue Jun 16, 2015 6:04 am
languages_spoken: english, french
ODROIDs: C1
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Koxx » Sat Aug 01, 2015 1:48 am

ryecoaaron wrote:ntfs would be slower but there are some OMV charts here under Network Storage Performance.
thanks. I expected a bit more, but it's nice :p

Gaurav277
Posts: 18
Joined: Thu Jul 16, 2015 3:12 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Gaurav277 » Sat Aug 01, 2015 3:43 am

ryecoaaron wrote:I haven't seen that issue. I have turned mine on and off many times and it has a drive connected in a CloudShell. What type of drive?
I am using 1TB USB 3.0 2.5" Western Digital Drive. It is weird but I always have to disconnect drive the start to bring it online and I have to connect drive and mount it again.

If I shutdown and restart without removing the drive then it will hang at boot.

Hrabosky
Posts: 5
Joined: Thu Jul 23, 2015 8:40 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Hrabosky » Mon Aug 03, 2015 3:09 am

I am encountering two issues.
The first is I cannot find sonarr or nbzdrone in the plugins - I have every "extra" enabled however it just doesn't want to show up. I settled with sickbeard, however when I go to enable sickbeard I don't get a choice of repositories or branches.
My google searches led me to find nothing but different ways to enter commands however I don't believe you can do that with OMV image?

ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Mon Aug 03, 2015 9:14 pm

sonarr is a mono app. Haven't had much testing of mono apps on armhf. So, it isn't in the repo. You can download and manually upload using the web interface. No idea about the status of the nzbdrone plugin.

Hrabosky
Posts: 5
Joined: Thu Jul 23, 2015 8:40 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Hrabosky » Tue Aug 11, 2015 10:42 pm

ryecoaaron wrote:sonarr is a mono app. Haven't had much testing of mono apps on armhf. So, it isn't in the repo. You can download and manually upload using the web interface. No idea about the status of the nzbdrone plugin.
This worked perfectly!!! Thank you again. Sonarr > sickbeard Imo.

mrqbet
Posts: 1
Joined: Mon Sep 07, 2015 3:12 am
languages_spoken: english
ODROIDs: XU4,Cloudshell
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by mrqbet » Mon Sep 07, 2015 3:47 am

I'm running XU4 wit Cloudshell.
I have a question: how the LCD is configured? Is there any script? I want to alter the message that is shown.

ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Mon Sep 07, 2015 9:32 am

My goal is to have a plugin for the LCD but I have been super busy with relocation for a new job. Here is a script though.

epierre
Posts: 65
Joined: Fri Jan 30, 2015 11:23 pm
languages_spoken: english, french
ODROIDs: U3, XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by epierre » Fri Sep 11, 2015 5:21 am

Hello,

is there a way to upgrade the kernel, meaning do odroid-tools can be installed ?

thanks,

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Sat Oct 10, 2015 10:45 am

Hello, i tried the available images and i am having issues in setting up gigabit ethernet with usb 3.0 the problems i am having is that even though i am having a usb 3.0 sata hard drive connected to the usb 3.0 and having a gigabit connection i am still having poor read and write speeds like of a usb 2.0

please help im setting up a home media nas

User avatar
odroid
Site Admin
Posts: 29330
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by odroid » Sat Oct 10, 2015 4:37 pm

What is result of "lsusb -t"?
Refer this thread.
http://forum.odroid.com/viewtopic.php?f ... 302#p99467

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Sat Oct 10, 2015 5:47 pm

The hard drives are getting mounted that's not a issue ... But in omv I've the hard drives shared and cifs and smb is enabled and when I'm doing a transfer between pc and odroid xu4 I'm getting 8-9 mbps speed..... And not the speed mentioned on the odroid xu4 main webpages of hK

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Sat Oct 10, 2015 5:52 pm

And another thing is there a version of open media vault which runs on the latest mainline kernel.

ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Tue Oct 13, 2015 2:14 am

You can upgrade the version of the kernel. OMV doesn't care what kernel you are using. On my phone otherwise I would write some instructions.

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Wed Oct 14, 2015 4:20 am

If you could just direct me where amd how I can upgrade jt because the whole purpose of purchase of xu4 was to be served as USB 3.0 NAS.... Hoping to hear from you

epierre
Posts: 65
Joined: Fri Jan 30, 2015 11:23 pm
languages_spoken: english, french
ODROIDs: U3, XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by epierre » Wed Oct 14, 2015 4:32 am


ryecoaaron
Posts: 98
Joined: Tue Dec 23, 2014 6:02 am
languages_spoken: english
ODROIDs: odroid-c1 x2, odroid-c2 x1, odroid-xu4 x3, cloudshell xu4
Location: Wisconsin
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ryecoaaron » Wed Oct 14, 2015 4:47 am

My OMV images uses kernels from deb.odroid.in. Here is the latest. Downlad with wget and install with dpkg -i

http://deb.odroid.in/5422/pool/main/l/l ... .10.82-57/

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Wed Oct 14, 2015 5:01 am

I've your tool but I need it to run it with the experimental kernel 4.2 as hard kernel states that USB 3.0 and gigabit ethernet is supported only in that particular images it's stated on the main Hk page for xu4

epierre
Posts: 65
Joined: Fri Jan 30, 2015 11:23 pm
languages_spoken: english, french
ODROIDs: U3, XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by epierre » Wed Oct 14, 2015 5:05 am

tayyab wrote:I've your tool but I need it to run it with the experimental kernel 4.2 as hard kernel states that USB 3.0 and gigabit ethernet is supported only in that particular images it's stated on the main Hk page for xu4
Hell no, I am 3.10.82-56 and have it all !

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Wed Oct 14, 2015 5:07 am

I tried with USB 3.0 hard disk and all I could get was 9.0 mbps read and 4-7 mbps write with samba and nas configured

epierre
Posts: 65
Joined: Fri Jan 30, 2015 11:23 pm
languages_spoken: english, french
ODROIDs: U3, XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by epierre » Wed Oct 14, 2015 5:12 am

root@cloud:~# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 1792 MB in 2.00 seconds = 897.22 MB/sec
root@cloud:~# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 218 MB in 3.01 seconds = 72.38 MB/sec

User avatar
Obihoernchen
Posts: 37
Joined: Tue Oct 13, 2015 5:23 am
languages_spoken: german, english
ODROIDs: XU4, XU4Q + CloudShell 2
Location: Germany
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Obihoernchen » Wed Oct 14, 2015 5:17 am

lsusb -t output?
hdparm -T output?
Filesystem used?

And btw set cpu scheduler to ondemand, interactive or performance (for performance simply disable the power management option).
The default conservative governor is way too slow.

I'm able to achieve ~100 read and ~75 write with samba, ext4, usb 3.0 HDD and default 3.10.82 kernel.
Which is even better than product page screenshots :)
Visit My Blog (Odroid guides)
Follow me on Twitter

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Wed Oct 14, 2015 5:19 am

Bummer!! :( Idk what the problem is

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Wed Oct 14, 2015 5:20 am

i tried with ntfs fat32 and ext3

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Wed Oct 14, 2015 5:23 am

Obihoernchen wrote:lsusb -t output?
hdparm -T output?
Filesystem used?

And btw set cpu scheduler to ondemand, interactive or performance (for performance simply disable the power management option).
The default conservative governor is way too slow.

I'm able to achieve ~100 read and ~75 write with samba, ext4, usb 3.0 HDD and default 3.10.82 kernel.
Which is even better than product page screenshots :)
i will try this and get back

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Wed Oct 14, 2015 5:42 am

Obihoernchen wrote:lsusb -t output?
hdparm -T output?
Filesystem used?

And btw set cpu scheduler to ondemand, interactive or performance (for performance simply disable the power management option).
The default conservative governor is way too slow.

I'm able to achieve ~100 read and ~75 write with samba, ext4, usb 3.0 HDD and default 3.10.82 kernel.
Which is even better than product page screenshots :)
root@odroid:~# hdparm -T /dev/sda

/dev/sda:
Timing cached reads: 760 MB in 2.00 seconds = 380.12 MB/sec

tayyab
Posts: 19
Joined: Wed Oct 07, 2015 5:42 am
languages_spoken: english
ODROIDs: C1 C1+
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by tayyab » Wed Oct 14, 2015 7:57 am

thanks everyone ...after following your methods and changing the cpu settings i have the perfect speed ...wooo-hoo
sorry for the dumb questions ...

thanks

ducati748sp
Posts: 4
Joined: Mon Jan 06, 2014 1:49 am
languages_spoken: german english spanish
ODROIDs: odroid u2 u3 xu4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by ducati748sp » Mon Oct 19, 2015 6:07 am

mrqbet wrote:I'm running XU4 wit Cloudshell.
I have a question: how the LCD is configured? Is there any script? I want to alter the message that is shown.
maybe it's possible to get the solution from dietpi running?
https://youtu.be/O-W8Z33as_U

Heinz
Posts: 2
Joined: Tue Oct 20, 2015 5:43 pm
languages_spoken: english
ODROIDs: XU3-Lite
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Heinz » Tue Oct 20, 2015 8:35 pm

Obihoernchen wrote: And btw set cpu scheduler to ondemand, interactive or performance (for performance simply disable the power management option).
The default conservative governor is way too slow.

I'm able to achieve ~100 read and ~75 write with samba, ext4, usb 3.0 HDD and default 3.10.82 kernel.
Which is even better than product page screenshots :)
tayyab wrote:I tried with USB 3.0 hard disk and all I could get was 9.0 mbps read and 4-7 mbps write with samba and nas configured

I have a similar problem, very low read and write speeds. 20-25 Megabytes/s read speed and 10-12 Megabytes/s write speed, with samba and NAS configured.

I saw that the solution is to change CPU settings. But I do not understand how it can be done. Please can you describe in detail (for a beginner) how to do it?


i use XU3-Lite with 1Gigabit usb3.0 network card based on chipset RTL8153 and usb3.0 HDD with NTFS filesystem

lsusb -t and hdparm -T output

root@odroid:~# lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=r8152, 5000M
|__ Port 2: Dev 4, If 0, Class=stor., Driver=usb-storage, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/4p, 480M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
root@odroid:~# hdparm -T /dev/sda

/dev/sda:
Timing cached reads: 1942 MB in 2.00 seconds = 972.33 MB/sec
root@odroid:~# hdparm -t /dev/sda

/dev/sda:
Timing buffered disk reads: 282 MB in 3.00 seconds = 93.91 MB/sec

User avatar
Obihoernchen
Posts: 37
Joined: Tue Oct 13, 2015 5:23 am
languages_spoken: german, english
ODROIDs: XU4, XU4Q + CloudShell 2
Location: Germany
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Obihoernchen » Wed Oct 21, 2015 2:50 am

Hehe just finished my blog answering all your questions :)
http://obihoernchen.net/1235/odroid-xu4 ... ediavault/

You have 2 problems:
1) NTFS is really slow on linux. But you can improve write speed a lot with big_writes (see my blog how to do it). But nevertheless a native linux fs like ext4 is way better and faster.
2) As I said default conservative governor is pretty bad especially with NTFS (see blog as well :D)

To change governor temporarily and tune settings a bit do the following:

vi /usr/local/bin/cpugov-tune

Code: Select all

#!/bin/bash

governor="ondemand"
io_is_busy=1
sampling_down_factor=20
up_threshold=80

for cpu in {0,4}; do
        cpufreq-set -c "$cpu" -g "$governor"
done

for cpupath in /sys/devices/system/cpu/cpu{0,4}/cpufreq/${governor}; do
        echo "$io_is_busy" > "${cpupath}/io_is_busy"
        echo "$sampling_down_factor" > "${cpupath}/sampling_down_factor"
        echo "$up_threshold" > "${cpupath}/up_threshold"
done
chmod +x /usr/local/bin/cpugov-tune
Visit My Blog (Odroid guides)
Follow me on Twitter

Heinz
Posts: 2
Joined: Tue Oct 20, 2015 5:43 pm
languages_spoken: english
ODROIDs: XU3-Lite
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Heinz » Wed Oct 21, 2015 4:21 am

Obihoernchen wrote:Hehe just finished my blog answering all your questions :)
http://obihoernchen.net/1235/odroid-xu4 ... ediavault/

You have 2 problems:
1) NTFS is really slow on linux. But you can improve write speed a lot with big_writes (see my blog how to do it). But nevertheless a native linux fs like ext4 is way better and faster.
2) As I said default conservative governor is pretty bad especially with NTFS (see blog as well :D)
oh, great! thank you very much! I'll try these settings

1) 2) I was just very surprised at first when I saw a very low speed even for ntfs. I know that ntfs is not the best file system for *nix systems, but just now I have only HDD marked in ntfs, a little later, I reformat them in ext4 and run tests again.

User avatar
Obihoernchen
Posts: 37
Joined: Tue Oct 13, 2015 5:23 am
languages_spoken: german, english
ODROIDs: XU4, XU4Q + CloudShell 2
Location: Germany
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Obihoernchen » Wed Oct 21, 2015 4:25 am

I did a few benchmarks and ext4 + samba is ~2 times faster than NTFS + samba.
Visit My Blog (Odroid guides)
Follow me on Twitter

User avatar
df5cl
Posts: 19
Joined: Mon Aug 25, 2014 10:35 pm
languages_spoken: english
ODROIDs: X, XU, U3, XU3, XU4, VU, SHOW, USB-IO, IO-SHIELD...buy them all! :D
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by df5cl » Wed Oct 28, 2015 8:33 pm

FYI: In case you intent to install the minidlna plug-in, there is an issue effecting ARMSOCs:

Trying to install the plugin via the administrator web interface, it will fail because of missing packages.
But you can help yourself logging into OMW as root and adding the following package:

Code: Select all

apt-get install minidlna=1.0.24+dfsg-1
[tested OK on XU4]

Now I hope this could safe some time for one or the other OMW afficionado. :D

giantpune
Posts: 7
Joined: Fri Nov 06, 2015 12:13 am
languages_spoken: english
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by giantpune » Fri Nov 13, 2015 12:52 am

I've built a NAS with the OMV image and a 4HDD usb3 bay. After running it for a week, I have to say that I'm very happy with the performance. I previously tried raspberry pi and banaNAS, and the XU4 as a base for the NAS performs insanely better. The very first day, the XU4 was rebooting on its own every hour or so. But after I updated all the packages, its rock solid.

Here's the average speed I could get with each board. Using OMV images, the same ftp settings, and the same ext4 drives. Even the same sd card and cat6 cable.
raspberry PI - 11MBs
banaNAS - 35MBs
Xu4 - 90MBs

So, the observed transfer speed with NAS increases with the cost of the board, but not at a 1:1 ratio. By spending ~2x as much money for an XU4, the NAS performance is ~8x improved.

Here's a link to my build http://forums.openmediavault.org/index. ... #post97161

lazydaze
Posts: 3
Joined: Sun Nov 15, 2015 2:15 am
languages_spoken: english
ODROIDs: Odroid XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by lazydaze » Sun Dec 06, 2015 1:01 am

I'm getting a weird error myself. Been trying to figure it out...

I'll get my OMV all set and ready to go. But, when I reboot it will hang at this:

Image

EDIT: Well, I've had to take the Odroid XU4 out of the Cloudshell for it to boot. I'm guessing it has something to do with the wrong driver loading for the Cloudshell screen?

Gornok
Posts: 6
Joined: Thu Dec 31, 2015 7:30 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Gornok » Sat Jan 02, 2016 8:59 am

Hi,

I love this project, I bought my XU4 especially for this purpose.

I've followed up Obihoernchen guide to set up the device. I'm just encountering one problem - transfer speeds are much slower my write is about 35-40 MB/s and read is about 25 MB/s.

I wonder if anyone could help me with getting it right ? Here's few outputs from my device. I've already tried running performance mode CPU but the rates didn't changed.

root@OMV:~# lsusb -t

Code: Select all

/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=vend., Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/2p, 5000M
        |__ Port 1: Dev 6, If 0, Class=stor., Driver=usb-storage, 5000M
        |__ Port 2: Dev 7, If 0, Class=stor., Driver=usb-storage, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=s5p-ehci/3p, 480M
root@OMV:~# hdparm -tT /dev/sda
root@OMV:~# hdparm -tT /dev/sdb

Code: Select all

/dev/sda:
 Timing cached reads:   1542 MB in  2.00 seconds = 772.27 MB/sec
 Timing buffered disk reads: 258 MB in  3.00 seconds =  85.99 MB/sec
/dev/sdb:
 Timing cached reads:   1532 MB in  2.00 seconds = 766.46 MB/sec
 Timing buffered disk reads: 260 MB in  3.01 seconds =  86.48 MB/sec
root@OMV:~# cpufreq-info

Code: Select all

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: exynos_cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 100.0 us.
  hardware limits: 200 MHz - 1.40 GHz
  available cpufreq governors: interactive, conservative, ondemand, powersave, performance
  current policy: frequency should be within 200 MHz and 1.40 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 500 MHz (asserted by call to hardware).
  cpufreq stats: 1.40 GHz:22.01%, 1.30 GHz:0.00%, 1.20 GHz:0.06%, 1.10 GHz:0.24%, 1000 MHz:0.29%, 900 MHz:0.48%, 800 MHz:0.66%, 700 MHz:1.26%, 600 MHz:2.16%, 500 MHz:3.54%, 400 MHz:5.59%, 300 MHz:7.18%, 200 MHz:56.53%  (351237)
analyzing CPU 1:
  driver: exynos_cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 100.0 us.
  hardware limits: 200 MHz - 1.40 GHz
  available cpufreq governors: interactive, conservative, ondemand, powersave, performance
  current policy: frequency should be within 200 MHz and 1.40 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 500 MHz (asserted by call to hardware).
  cpufreq stats: 1.40 GHz:22.01%, 1.30 GHz:0.00%, 1.20 GHz:0.06%, 1.10 GHz:0.24%, 1000 MHz:0.29%, 900 MHz:0.48%, 800 MHz:0.66%, 700 MHz:1.26%, 600 MHz:2.16%, 500 MHz:3.54%, 400 MHz:5.59%, 300 MHz:7.18%, 200 MHz:56.53%  (351237)
analyzing CPU 2:
  driver: exynos_cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 100.0 us.
  hardware limits: 200 MHz - 1.40 GHz
  available cpufreq governors: interactive, conservative, ondemand, powersave, performance
  current policy: frequency should be within 200 MHz and 1.40 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 500 MHz (asserted by call to hardware).
  cpufreq stats: 1.40 GHz:22.01%, 1.30 GHz:0.00%, 1.20 GHz:0.06%, 1.10 GHz:0.24%, 1000 MHz:0.29%, 900 MHz:0.48%, 800 MHz:0.66%, 700 MHz:1.26%, 600 MHz:2.16%, 500 MHz:3.54%, 400 MHz:5.59%, 300 MHz:7.18%, 200 MHz:56.53%  (351237)
analyzing CPU 3:
  driver: exynos_cpufreq
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 100.0 us.
  hardware limits: 200 MHz - 1.40 GHz
  available cpufreq governors: interactive, conservative, ondemand, powersave, performance
  current policy: frequency should be within 200 MHz and 1.40 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 500 MHz (asserted by call to hardware).
  cpufreq stats: 1.40 GHz:22.01%, 1.30 GHz:0.00%, 1.20 GHz:0.06%, 1.10 GHz:0.24%, 1000 MHz:0.29%, 900 MHz:0.48%, 800 MHz:0.66%, 700 MHz:1.26%, 600 MHz:2.16%, 500 MHz:3.54%, 400 MHz:5.59%, 300 MHz:7.18%, 200 MHz:56.53%  (351237)
analyzing CPU 4:
  driver: exynos_cpufreq
  CPUs which run at the same hardware frequency: 4 5 6 7
  CPUs which need to have their frequency coordinated by software: 4 5 6 7
  maximum transition latency: 100.0 us.
  hardware limits: 200 MHz - 2.00 GHz
  available cpufreq governors: interactive, conservative, ondemand, powersave, performance
  current policy: frequency should be within 200 MHz and 2.00 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 700 MHz (asserted by call to hardware).
  cpufreq stats: 2.00 GHz:5.16%, 1.90 GHz:0.43%, 1.80 GHz:4.55%, 1.70 GHz:4.54%, 1.60 GHz:2.58%, 1.50 GHz:2.17%, 1.40 GHz:1.51%, 1.30 GHz:1.21%, 1.20 GHz:1.46%, 1.10 GHz:2.01%, 1000 MHz:2.34%, 900 MHz:4.15%, 800 MHz:6.05%, 700 MHz:6.95%, 600 MHz:7.41%, 500 MHz:9.22%, 400 MHz:7.43%, 300 MHz:2.61%, 200 MHz:28.20%  (418809)
analyzing CPU 5:
  driver: exynos_cpufreq
  CPUs which run at the same hardware frequency: 4 5 6 7
  CPUs which need to have their frequency coordinated by software: 4 5 6 7
  maximum transition latency: 100.0 us.
  hardware limits: 200 MHz - 2.00 GHz
  available cpufreq governors: interactive, conservative, ondemand, powersave, performance
  current policy: frequency should be within 200 MHz and 2.00 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 700 MHz (asserted by call to hardware).
  cpufreq stats: 2.00 GHz:5.16%, 1.90 GHz:0.43%, 1.80 GHz:4.55%, 1.70 GHz:4.54%, 1.60 GHz:2.58%, 1.50 GHz:2.17%, 1.40 GHz:1.51%, 1.30 GHz:1.21%, 1.20 GHz:1.46%, 1.10 GHz:2.01%, 1000 MHz:2.34%, 900 MHz:4.15%, 800 MHz:6.05%, 700 MHz:6.95%, 600 MHz:7.41%, 500 MHz:9.22%, 400 MHz:7.43%, 300 MHz:2.61%, 200 MHz:28.20%  (418810)
analyzing CPU 6:
  driver: exynos_cpufreq
  CPUs which run at the same hardware frequency: 4 5 6 7
  CPUs which need to have their frequency coordinated by software: 4 5 6 7
  maximum transition latency: 100.0 us.
  hardware limits: 200 MHz - 2.00 GHz
  available cpufreq governors: interactive, conservative, ondemand, powersave, performance
  current policy: frequency should be within 200 MHz and 2.00 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 2.00 GHz:5.16%, 1.90 GHz:0.43%, 1.80 GHz:4.55%, 1.70 GHz:4.54%, 1.60 GHz:2.58%, 1.50 GHz:2.17%, 1.40 GHz:1.51%, 1.30 GHz:1.21%, 1.20 GHz:1.46%, 1.10 GHz:2.01%, 1000 MHz:2.34%, 900 MHz:4.15%, 800 MHz:6.05%, 700 MHz:6.95%, 600 MHz:7.41%, 500 MHz:9.22%, 400 MHz:7.43%, 300 MHz:2.61%, 200 MHz:28.20%  (418810)
analyzing CPU 7:
  driver: exynos_cpufreq
  CPUs which run at the same hardware frequency: 4 5 6 7
  CPUs which need to have their frequency coordinated by software: 4 5 6 7
  maximum transition latency: 100.0 us.
  hardware limits: 200 MHz - 2.00 GHz
  available cpufreq governors: interactive, conservative, ondemand, powersave, performance
  current policy: frequency should be within 200 MHz and 2.00 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 2.00 GHz:5.16%, 1.90 GHz:0.43%, 1.80 GHz:4.55%, 1.70 GHz:4.54%, 1.60 GHz:2.58%, 1.50 GHz:2.17%, 1.40 GHz:1.51%, 1.30 GHz:1.21%, 1.20 GHz:1.46%, 1.10 GHz:2.01%, 1000 MHz:2.34%, 900 MHz:4.15%, 800 MHz:6.05%, 700 MHz:6.95%, 600 MHz:7.41%, 500 MHz:9.22%, 400 MHz:7.43%, 300 MHz:2.61%, 200 MHz:28.20%  (418810)

User avatar
Obihoernchen
Posts: 37
Joined: Tue Oct 13, 2015 5:23 am
languages_spoken: german, english
ODROIDs: XU4, XU4Q + CloudShell 2
Location: Germany
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Obihoernchen » Sat Jan 02, 2016 10:42 am

Which filesystem do you use?

Please run some read/write benchmarks with dd as well.
Visit My Blog (Odroid guides)
Follow me on Twitter

Gornok
Posts: 6
Joined: Thu Dec 31, 2015 7:30 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Gornok » Sun Jan 03, 2016 5:08 am

Hi Obihoernchen,

Great work on your guide!

I use ext4 as a file system, here's my output from dd benchmark

root@OMV:~# dd if=/dev/zero of=/dev/sda bs=1M count=10k; rm -f /dev/sda

Code: Select all

10240+0 records in
10240+0 records out
10737418240 bytes (11 GB) copied, 85.3694 s, 126 MB/s
It's 126 MB/sec I'm right ? I'm getting only 35 MB/sec on SMB so is it the bottleneck ?

Thanks!

User avatar
odroid
Site Admin
Posts: 29330
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by odroid » Sun Jan 03, 2016 11:02 am

Try writing/reading storage test again.

Code: Select all

  dd if=/dev/zero of=test oflag=direct bs=8M count=64
  dd if=test of=/dev/null iflag=direct bs=8M  
And try the iperf network test. It will narrow down the root causes.

User avatar
Obihoernchen
Posts: 37
Joined: Tue Oct 13, 2015 5:23 am
languages_spoken: german, english
ODROIDs: XU4, XU4Q + CloudShell 2
Location: Germany
Contact:

Re: OpenMediaVault for XU3 and XU4

Unread post by Obihoernchen » Mon Jan 04, 2016 5:24 am

On top of that please post your /etc/smb.conf and have a look at:
htop and iostat -x 3
(before: apt-get install htop sysstat) while copying files.
Visit My Blog (Odroid guides)
Follow me on Twitter

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 3 guests