OpenMediaVault for C1

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
Has thanked: 0
Been thanked: 0
Contact:

OpenMediaVault for C1

Unread post by ryecoaaron » Mon Dec 29, 2014 5:36 am

Images available here.

The first image is beta and may have issues. The image still has a basic openbox gui in case you need to login locally but the image should run headless. This will be changed once there is a working framebuffer console.

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

For any OpenMediaVault questions, ask on the OMV forum.
Last edited by ryecoaaron on Sun Jan 04, 2015 12:54 am, edited 1 time in total.

ARMTurkey.com
Posts: 8
Joined: Wed Dec 31, 2014 2:40 am
languages_spoken: english
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ARMTurkey.com » Thu Jan 01, 2015 7:14 am

Hi,
What is user name and pass. in LXDE Desktop ?

Thaknss.

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Thu Jan 01, 2015 7:31 am

There is no user other than root. The password is: openmediavault

ARMTurkey.com
Posts: 8
Joined: Wed Dec 31, 2014 2:40 am
languages_spoken: english
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ARMTurkey.com » Thu Jan 01, 2015 6:39 pm

Thanks. Im start .

woomg
Posts: 17
Joined: Thu Feb 27, 2014 3:42 pm
languages_spoken: english, korean
ODROIDs: ODROID U3/ODROID C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by woomg » Sat Jan 03, 2015 9:15 pm

ryecoaaron wrote:Images available here.

The first image is beta and may have issues. The image still has a basic openbox gui in case you need to login locally but the image should run headless. This will be changed once there is a working framebuffer console.

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

For any OpenMediaVault questions, ask on the OMV forum.
Hi,

I was wrote the image to 16GB of SD card, it works... However, I can not resize the partition. fdisk(or gparted) does not recognise the mmcblk0p2 partition correctly. How can I resolve this issue?

And, I can not found any physical disk from "Physical Disks" screen.
Also If I make the mmcblk0p3 partition for additional space, I can not mount that from "File Systems" screen. OMV invoke the error for failed mount.

Thanks,
MG

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Sun Jan 04, 2015 12:37 am

Maybe you need to run fsck on the second partition to resize it? I didn't have any problems resizing it from the initial image I used.

OMV has issues with mmc in the web interface. Everything works properly but it doesn't show in physical disks and the mounting doesn't work. OMV isn't designed to use the system disk for data. Try plugging a usb stick or usb hard drive into a port.

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Mon Jan 05, 2015 6:02 am

The mmc issue should be fixed in the next update of OMV. The changes are in svn.

On the performance side, I am disappointed with the read speed over the network (samba, nfs, rsync, ssh). I have a usb hard drive plugged in and am getting 25-35 MB/s using dd to the drive. When writing to the drive using samba or rsync, I am getting 25+ MB/s. When reading using samba or rsync, I get 14-16 MB/s. Network driver issue??

User avatar
odroid
Site Admin
Posts: 32508
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 181 times
Been thanked: 349 times
Contact:

Re: OpenMediaVault for C1

Unread post by odroid » Mon Jan 05, 2015 8:54 pm


RightClickHarder
Posts: 19
Joined: Thu Dec 11, 2014 9:37 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by RightClickHarder » Mon Jan 05, 2015 9:31 pm

ryecoaaron wrote:The mmc issue should be fixed in the next update of OMV. The changes are in svn.

On the performance side, I am disappointed with the read speed over the network (samba, nfs, rsync, ssh). I have a usb hard drive plugged in and am getting 25-35 MB/s using dd to the drive. When writing to the drive using samba or rsync, I am getting 25+ MB/s. When reading using samba or rsync, I get 14-16 MB/s. Network driver issue??
I had a similar problem with samba, and I found that if I use the following options in my smb.conf file, the speed would increase to around 30 MB/s for both read and write:

Code: Select all

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 SO_KEEPALIVE
strict sync = no
sync always = no
use sendfile = yes
You might be able to leave out strict sync and sync always, but no harm in having them there since they will only make it better.

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Mon Jan 05, 2015 9:40 pm

odroid wrote:Is this a related solution?
http://forum.odroid.com/viewtopic.php?f=117&t=8096
Thanks for the suggestion :) Unfortunately, that module isn't loaded and blacklisting it didn't change anything.

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Mon Jan 05, 2015 10:31 pm

RightClickHarder wrote: I had a similar problem with samba, and I found that if I use the following options in my smb.conf file, the speed would increase to around 30 MB/s for both read and write:

Code: Select all

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 SO_KEEPALIVE
strict sync = no
sync always = no
use sendfile = yes
You might be able to leave out strict sync and sync always, but no harm in having them there since they will only make it better.
Have to do more testing but that seems to have helped samba :) Thanks. Wonder why rsync is slow??

RightClickHarder
Posts: 19
Joined: Thu Dec 11, 2014 9:37 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by RightClickHarder » Tue Jan 06, 2015 12:42 am

ryecoaaron wrote:
RightClickHarder wrote: I had a similar problem with samba, and I found that if I use the following options in my smb.conf file, the speed would increase to around 30 MB/s for both read and write:

Code: Select all

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 SO_KEEPALIVE
strict sync = no
sync always = no
use sendfile = yes
You might be able to leave out strict sync and sync always, but no harm in having them there since they will only make it better.
Have to do more testing but that seems to have helped samba :) Thanks. Wonder why rsync is slow??
As for rsync, it could be a lot of things. It all depends on how many files you are syncing. I have experienced rsync to be slow on other ARM devices before, likely due to the SSH encryption. It is pretty weird that it is only when writing though.

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Tue Jan 06, 2015 1:08 am

The rsync tests are being done to/from rsyncd. So, it shouldn't be using ssh encryption. That is why it writes at 25+ MB/s. When I use scp to or from, it maxes out at 15 MB/s which tells me the ssh encryption is limiting it.

cremac
Posts: 3
Joined: Tue Jan 06, 2015 11:31 pm
languages_spoken: english
ODROIDs: C-1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by cremac » Wed Jan 07, 2015 1:13 am

Hi, I just installed the omv_odroid-c1-beta_1.7.img.gz image. Everything seems to be working fine except network interface. I have no eth0 interface available. I checked dmesg, but I didnt find anything related (however I not much experienced user). Can someone help pls?

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Wed Jan 07, 2015 1:19 am

Run omv-firstaid from command line as root.

cremac
Posts: 3
Joined: Tue Jan 06, 2015 11:31 pm
languages_spoken: english
ODROIDs: C-1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by cremac » Wed Jan 07, 2015 1:28 am

ryecoaaron wrote:Run omv-firstaid from command line as root.
Worked like a charm. Thank you!

boumacor
Posts: 7
Joined: Tue Jan 21, 2014 1:48 am
languages_spoken: english
ODROIDs: ODroid U3
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by boumacor » Sat Jan 10, 2015 7:08 am

I'd love to do some OMV with my C1, but at my end it does .... nothing. Don't understand, the red light comes on, then blue one comes on for 5 seconds. Then the blue led flashes 2 times 2 strokes and then it just stays on. Tryied couple of different images and they start and work fine, but this one doesn't. I'm doing something wrong but no idea. Using the same procedure over and over. With all the other images it works, but not with the OMV-c1 image. Downloaded the file from SF, used 7-zip to unpack, used the oidroid flash tool (Win32DiskImager v1.1). But no joy.

Any idea's ??

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Sat Jan 10, 2015 8:10 am

I've never tried writing the odroid image with win32diskimager. Can you try dd on a linux system? What size of sd card are you using?

boumacor
Posts: 7
Joined: Tue Jan 21, 2014 1:48 am
languages_spoken: english
ODROIDs: ODroid U3
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by boumacor » Sat Jan 10, 2015 6:53 pm

I'm useing 16GB Kingston MicroSD cards, I'll make a Linux system and try again and get back to you.

boumacor
Posts: 7
Joined: Tue Jan 21, 2014 1:48 am
languages_spoken: english
ODROIDs: ODroid U3
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by boumacor » Mon Jan 12, 2015 4:09 am

ryecoaaron wrote:I've never tried writing the odroid image with win32diskimager. Can you try dd on a linux system? What size of sd card are you using?
Tried with Knoppix live CD and used the dd (with and without bs=4M and bs=1M command, but still the same. I did read a lot about this booting and noticed that my TV (C1 is connectect with HDMI) didn't supports the standard, so changes in boot.ini the videomode to 720p and now it shows a dark grey screen with light line at the top of the screen. There is nothing on the screen else. When I push enter on the keyboard couple of times the screen goes black and then comes back to grey with the white line. There is no network activety, just the green led from the RJ-45 connector is on, but they yellow light doesn't do a thing. According to my DHCP server there is no request for an IP adress. So a bit better, but still not working,

Any ideas ??

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Mon Jan 12, 2015 4:41 am

No idea. I haven't had my C1 long enough. The image works on at least 3 C1s that I know of. That said, I am working on a new image that doesn't use xorg. Hopefully that will fix your problem. Should be ready later tomorrow.

boumacor
Posts: 7
Joined: Tue Jan 21, 2014 1:48 am
languages_spoken: english
ODROIDs: ODroid U3
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by boumacor » Mon Jan 12, 2015 4:44 am

Perfect, lets wait and see, thanks

davidh2k
Posts: 16
Joined: Fri Jan 09, 2015 2:19 am
languages_spoken: german, english
ODROIDs: c1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by davidh2k » Mon Jan 12, 2015 5:29 pm

I can verify that the latest image made by ryecoaaron (debian only, installed omv myself) works. I burned it with win32diskimager, and it also already runs with rootfs on an external hdd!

When the network quirks are finally ruled out this will be a really awesome device!

Greetings
David

arel
Posts: 11
Joined: Sun Jan 11, 2015 1:20 am
languages_spoken: english
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by arel » Mon Jan 12, 2015 7:24 pm

I could "burn" the last OMV relase (with the help of DD based on UBUNTU). It started well...BUT...the whole ethernet PART of the C! (at least on ALL Linux based Images) is currently CRAP :-(.

In this case the OMV doesn´t make sense ...
for example :
- LAN GB connection sometimes lost on several switches/Routers
- continuosly streaming server Applications (like DLNA, or more difficult "TVHEADEND" or something similar) creating "continuity errors", which means that you could not expect that a client which will be served by the C! based on a LAN GB connection will run smoothly.

I REALY hope that the problems with the ethernet implementation are SW (OS, driver, Kernel ?) based and not HW based !!! This would mean that no one could use the C! as a "streaming server" device or a STABLE OMV Server....

Even if the C1 is a CHEAP and powerful alternative to the RPI or Banana PI...as long as the Ethernet problems are not sorted it is NO ALTERNATIVE :-(.

regards
arel

User avatar
odroid
Site Admin
Posts: 32508
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 181 times
Been thanked: 349 times
Contact:

Re: OpenMediaVault for C1

Unread post by odroid » Mon Jan 12, 2015 7:42 pm


davidh2k
Posts: 16
Joined: Fri Jan 09, 2015 2:19 am
languages_spoken: german, english
ODROIDs: c1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by davidh2k » Mon Jan 12, 2015 8:01 pm

I'm not quiet sure that you linked the correct thread, odroid.

Greetings
David

User avatar
odroid
Site Admin
Posts: 32508
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 181 times
Been thanked: 349 times
Contact:

Re: OpenMediaVault for C1

Unread post by odroid » Mon Jan 12, 2015 8:03 pm


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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Tue Jan 13, 2015 2:39 am

New image here. This image is framebuffer console (1080p) only. This image doesn't have a fix for the incompatible switch though.

davidh2k
Posts: 16
Joined: Fri Jan 09, 2015 2:19 am
languages_spoken: german, english
ODROIDs: c1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by davidh2k » Tue Jan 13, 2015 6:59 pm

I will try the fix later today.

Greetings
David

gogetta
Posts: 3
Joined: Thu Feb 05, 2015 5:03 pm
languages_spoken: french
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by gogetta » Thu Feb 05, 2015 5:08 pm

Hello

Thank a lot fix OMV on C1, it's works pretty great for a beta. My personnal odroid seedbox with openVPN access is very usefull. :D
Is there a new image with new kernel which fix gigabit ethernet or a way to update it ?

regards
Gog

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Thu Feb 05, 2015 9:35 pm

I need to make a new image. Until then: apt-get install linux-image-c1

gogetta
Posts: 3
Joined: Thu Feb 05, 2015 5:03 pm
languages_spoken: french
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by gogetta » Thu Feb 05, 2015 11:09 pm

odroid repository seams not added to apt sources. i can not find linux-image-c1.
If I add it, is apt-get install makes new uinitrd in /boot with new kernel modules if needed ?

gog

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Thu Feb 05, 2015 11:56 pm

You should have a file called /etc/apt/sources.list.d/odroid.list with the following content:

deb http://deb.odroid.in/c1/ trusty main
deb http://deb.odroid.in/ trusty main

If not, create it and apt-get update. And yes, it will create a new uinitrd.

gogetta
Posts: 3
Joined: Thu Feb 05, 2015 5:03 pm
languages_spoken: french
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by gogetta » Fri Feb 06, 2015 4:04 am

Thanks, it works !
With install of boot-mkimage and remount /boot in rw, update did find.

It changes MAC_ADDR of eth1 but works fine.

Before iperf was around 270 Mbits/sec
Now :
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.21.4 port 5001 connected with 192.168.21.24 port 59590
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 817 MBytes 683 Mbits/sec

Thanks you.

Gog

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Fri Feb 06, 2015 12:50 pm

New image on sourceforge - link

oliver
Posts: 5
Joined: Sat Jan 10, 2015 8:23 pm
languages_spoken: english, german
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by oliver » Sun Feb 08, 2015 8:23 pm

I love this release, this is exactly what I need for my little Home NAS.

But I have one problem with OMV, in the standard Lubuntu Image, I edited my smb.conf with that code:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 SO_KEEPALIVE
strict sync = no
sync always = no
use sendfile = yes
This gave me from before 21 MB/s to 30-32 MB/s of transfer speed.
But when I try this in the OMV Release I got no difference, still 21 MB/s.

Any Idea why this is not working here?

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Sun Feb 08, 2015 10:11 pm

Did you add it in the extra options or edit the conf file manually? Manual changes will be overwritten.

oliver
Posts: 5
Joined: Sat Jan 10, 2015 8:23 pm
languages_spoken: english, german
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by oliver » Mon Feb 09, 2015 1:18 am

Ah okay, that could be the reason.
I have directly pasted the code to the smb.conf
and did a samba restart inside the console.

Do I just have to paste it to the extra options inside the web UI?

oliver
Posts: 5
Joined: Sat Jan 10, 2015 8:23 pm
languages_spoken: english, german
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by oliver » Mon Feb 09, 2015 6:42 am

Still no difference :-(

I have put the code inside the extra options, but I have still 20-21 Mb/s in reading.

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Tue Feb 10, 2015 4:17 am

What version of samba is lubuntu using? I'm guessing it is using a new version than Wheezy (3.6.6) and maybe that is the reason? What is the output of:

dpkg -l | grep samba
uname -a

oliver
Posts: 5
Joined: Sat Jan 10, 2015 8:23 pm
languages_spoken: english, german
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by oliver » Thu Feb 12, 2015 5:36 am

My output:

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Thu Feb 12, 2015 5:55 am

Lubuntu is using samba4 and it must be that samba4 is faster. You could try these setttings;

Code: Select all

max protocol = SMB2
max xmit = 65535
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=65535 SO_RCVBUF=65535
read raw = yes
write raw = yes
max connections = 65535
max open files = 65535

oliver
Posts: 5
Joined: Sat Jan 10, 2015 8:23 pm
languages_spoken: english, german
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by oliver » Thu Feb 12, 2015 6:11 am

This settings makes it it a little better, from before 21 MB/s to 25 MB/s

It looks like samba 4 is really a bit faster.

bgeneto
Posts: 11
Joined: Wed Apr 09, 2014 5:51 am
languages_spoken: english, portuguese
ODROIDs: U3, C1
Location: Brazil
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by bgeneto » Fri Feb 27, 2015 4:00 am

Hi!
Does anyone know how can I resize the OpenMediaVault system (wheezy) partition to my sdcard max size (16GB)?
I've tried to use fdisk to delete the partition issuing the commands:

Code: Select all

$ fdisk /dev/mmcblk0
(fdisk) Command (m for help): d
(fdisk) Partition number (1-4): 2
(fdisk) Command (m for help): n
(fdisk) Partition type:
p primary
e extended
Select (default p): p
Partition number (1-4, default 2): 2
First sector (63-40558591, default 63): 134144
Last sector (): enter (default to max size).
(fdisk) Command (m for help): w
Then I run "partprobe" and "reboot". Although "fdisk -l" now lists the new correct (full) size for partition mmcblk0p2, the system "wheezy" partition still holds its old size (1.45GB), as reported by "df" or webgui.
What am I missing here? TIA.

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Fri Feb 27, 2015 4:05 am

Did you use resize2fs? It is much easier to put the card in another system and use gparted. If the system is running Windows, just boot gparted live on it.

bgeneto
Posts: 11
Joined: Wed Apr 09, 2014 5:51 am
languages_spoken: english, portuguese
ODROIDs: U3, C1
Location: Brazil
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by bgeneto » Sun Mar 01, 2015 1:07 am

Did you use resize2fs?
Yes, I did. But just figured that resizing the sdcard partition while OMV is running is not possible (at least to my knowledge), so I followed your suggestion and removed my C1 from its case, took sdcard for a ride in my laptop and got things done. Maybe developers could implement an option to allow resizing the partition at boot time in future versions of OMV for Odroid C1. Great distro BTW, no network problems, very stable and performance wise I'm getting around 35MB/s (read or write) via Samba, FTP and NFS! Clearly limited by the USB bandwidth... Looking forward for a hardkernel product with native USB 3.0 and Gigabit ethernet!

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Mon Mar 09, 2015 5:57 am

I actually left it out on purpose. Since OMV can't use the OS partition for data or plugins in the web interface, there is no real reason to expand. I thought it would be better to create another partition if you wanted to use the rest of the space on the card.

werner
Posts: 7
Joined: Tue Mar 10, 2015 10:53 pm
languages_spoken: english, german
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by werner » Tue Mar 10, 2015 11:10 pm

Hello there,

did anyone managed to install minidlna for OMV on the c1?

When i try to install openmediavault-minidlna i get:

Code: Select all

The following packages have unmet dependencies:
 openmediavault-minidlna : Depends: minidlna (>= 1.0.24) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
And when i try to install minidlna i see:

Code: Select all

The following packages have unmet dependencies:
 minidlna : Depends: libavformat54 (>= 6:9.1-1) but it is not installable
            Depends: libavutil52 (>= 6:9.1-1) but it is not installable
E: Unable to correct problems, you have held broken packages.
And finally, when i try to install libavformat54 and libavutil52:

Code: Select all

Package libavformat54 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libavformat54' has no installation candidate

Anyone can point me in the right direction? I'm not a linux-pro and just got my C1 ...

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
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by ryecoaaron » Wed Mar 11, 2015 3:44 am

I created a new package for the odroid since the package in the repos was created on an RPi which uses different library versions. The following should fix it.

Code: Select all

wget http://omv-extras.org/testing/minidlna_1.1.2+dfsg-1.1_armhf.deb
dpkg -i minidlna_1.1.2+dfsg-1.1_armhf.deb
apt-get -f install
apt-get install openmediavault-minidlna
Last edited by ryecoaaron on Wed Mar 11, 2015 7:57 pm, edited 2 times in total.

werner
Posts: 7
Joined: Tue Mar 10, 2015 10:53 pm
languages_spoken: english, german
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: OpenMediaVault for C1

Unread post by werner » Wed Mar 11, 2015 5:08 pm

Hello ryecoaaron,

thank you very, very much, but i still didn't get it installed.

No errors with the first command, but this is what i get with the second and third line:

Code: Select all

root@OdroidC1:~# dpkg -i minidlna_1.1.2+dfsg-1.1_armhf.deb
Selecting previously unselected package minidlna.
(Reading database ... 31838 files and directories currently installed.)
Unpacking minidlna (from minidlna_1.1.2+dfsg-1.1_armhf.deb) ...
dpkg: dependency problems prevent configuration of minidlna:
 minidlna depends on libavformat53 (>= 6:0.8.3-1~); however:
  Package libavformat53 is not installed.
 minidlna depends on libavutil51 (>= 6:0.8.3-1~); however:
  Package libavutil51 is not installed.
 minidlna depends on libflac8 (>= 1.2.1); however:
  Package libflac8 is not installed.
 minidlna depends on libid3tag0 (>= 0.15.1b); however:
  Package libid3tag0 is not installed.

dpkg: error processing minidlna (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 minidlna

Code: Select all

root@OdroidC1:~# apt-get install openmediavault-minidlna
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 minidlna : Depends: libavformat53 (>= 6:0.8.3-1~) but it is not going to be installed
            Depends: libavutil51 (>= 6:0.8.3-1~) but it is not going to be installed
            Depends: libflac8 (>= 1.2.1) but it is not going to be installed
            Depends: libid3tag0 (>= 0.15.1b) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Thank you,
Werner

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest