Sorry if this is the wrong forum for this but I have been having issues with my samba shares being slow. Because I have OMV installed on an XU4 I cannot upgrade to 3.0, without losing all of my configurations and data. Is there any way to download the source for the Realtek chip (Realtek RTL8153-CG) and compile it on the XU4 then override the current drivers. I'm hoping that it will fix my issue with the shares.
How to recompile Realtek drivers for Odroid XU4?
-
- OMV 2.x
- Jeansburger
-
-
Read this before you try compiling drivers - http://beomagi.blogspot.com/20…droid-xu4-my-new-nas.html
-
Read this before you try compiling drivers - http://beomagi.blogspot.com/20…droid-xu4-my-new-nas.html
I followed that guide and my speed is still at ~2Mbps, I'm at a loss at why my device has such slow performance using samba.
-
I followed that guide and my speed is still at ~2Mbps, I'm at a loss at why my device has such slow performance using samba
Did you try the samba tuning guides on this forum? Some of it has to do with the client asking for protocols not supported. So min and max protocol helps many times.
-
Did you try the samba tuning guides on this forum? Some of it has to do with the client asking for protocols not supported. So min and max protocol helps many times.
I have tried a few, I have my current set up as min=smb1 and max=smb2, with a few different things that like read and write raw, no delay on TCP, don't sign the server etc. I have tried different types of combinations of those and nothing as helped that situation.
Side note: Would you prefer me to make a new post on the SMB/CIFS forum as this is the only issue the XU4 is great, I just want to figure out why when I try to move things from the server to my personal pc or from one server share to another I get snail pace speeds.
-
Would you prefer me to make a new post on the SMB/CIFS forum
No. It is fine here.
min=smb1 and max=smb2
I assume you were shortening what you really put in the options? I don't have a working XU4 anymore. So, I can't really help much more.
-
I assume you were shortening what you really put in the options? I don't have a working XU4 anymore. So, I can't really help much more.
Yes I can list the entire settings here:Coderead size = 65536 read prediction = true socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 write raw = yes read raw = no max xmit = 65535 max protocol = SMB2 min protocol = SMB1 server signing = disabled
Is there a more pointed XU4 section on the website? I'm wondering if someone else has had this issue. I am currently using EXT4 formatting for all of my drives, I have always not bothered with NTFS because of the huge overhead in a Linux system. Is that a possible issue?
-
Is there a more pointed XU4 section on the website? I'm wondering if someone else has had this issue.
Did you try min protocol = SMB2? I never used any settings when my XU4s were working and I got faster speeds than that. It depends on the clients too. Did you try the odroid forum?
-
Did you try min protocol = SMB2?
I tried that last night still no luck still stuck at ~2Mbps. I'll try the odroid forum and see if someone else has had this issue.
-
Not sure if it would work but you could try install the backports samba 4 package.
-
Not sure if it would work but you could try install the backports samba 4 package.
How would I go about doing that?
-
How would I go about doing that?
What is the output of: apt-cache policy samba4*
-
What is the output of: apt-cache policy samba4*
Code
Alles anzeigensamba4-common: Installed: (none) Candidate: (none) Version table: libsamba-credentials-dev: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages libsamba-policy0: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages gadmin-samba-dbg: Installed: (none) Candidate: 0.2.9-3 Version table: 0.2.9-3 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-vfs-modules: Installed: (none) Candidate: 2:4.1.17+dfsg-1~bpo70+1 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages samba4-dev: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages libsamba-util0: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba4: Installed: (none) Candidate: (none) Version table: libsamba-hostconfig0: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba4-testsuite: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-testsuite: Installed: (none) Candidate: 2:4.1.17+dfsg-1~bpo70+1 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages libsamba-credentials0: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages dpsyco-samba: Installed: (none) Candidate: 1.0.36 Version table: 1.0.36 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-ad-dc: Installed: (none) Candidate: (none) Version table: libsamba-hostconfig-dev: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-dbg: Installed: (none) Candidate: 2:3.6.6-6+deb7u11 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages 2:3.6.6-6+deb7u11 0 995 http://security.debian.org/debian-security/ wheezy/updates/main armhf Packages 2:3.6.6-6+deb7u7 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba4-clients: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-dev: Installed: (none) Candidate: 2:4.1.17+dfsg-1~bpo70+1 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages samba-common-bin: Installed: 2:3.6.6-6+deb7u11 Candidate: 2:3.6.6-6+deb7u11 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages *** 2:3.6.6-6+deb7u11 0 995 http://security.debian.org/debian-security/ wheezy/updates/main armhf Packages 100 /var/lib/dpkg/status 2:3.6.6-6+deb7u7 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-doc: Installed: (none) Candidate: 2:3.6.6-6+deb7u11 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages 2:3.6.6-6+deb7u11 0 995 http://security.debian.org/debian-security/ wheezy/updates/main armhf Packages 2:3.6.6-6+deb7u7 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-tools: Installed: (none) Candidate: 2:3.6.6-6+deb7u11 Version table: 2:3.6.6-6+deb7u11 0 995 http://security.debian.org/debian-security/ wheezy/updates/main armhf Packages 2:3.6.6-6+deb7u7 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-ldb-tools: Installed: (none) Candidate: (none) Version table: libsamba-util-dev: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-client: Installed: (none) Candidate: (none) Version table: samba-doc-pdf: Installed: (none) Candidate: 2:3.6.6-6+deb7u11 Version table: 2:3.6.6-6+deb7u11 0 995 http://security.debian.org/debian-security/ wheezy/updates/main armhf Packages 2:3.6.6-6+deb7u7 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages python2.7-samba: Installed: (none) Candidate: (none) Version table: samba: Installed: 2:3.6.6-6+deb7u11 Candidate: 2:3.6.6-6+deb7u11 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages *** 2:3.6.6-6+deb7u11 0 995 http://security.debian.org/debian-security/ wheezy/updates/main armhf Packages 100 /var/lib/dpkg/status 2:3.6.6-6+deb7u7 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages gadmin-samba: Installed: (none) Candidate: 0.2.9-3 Version table: 0.2.9-3 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages python-samba: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages libsamba-policy-dev: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba4-common-bin: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-dsdb-modules: Installed: (none) Candidate: 4.0.0~beta2+dfsg1-3.2+deb7u2 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages 4.0.0~beta2+dfsg1-3.2+deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-common: Installed: 2:3.6.6-6+deb7u11 Candidate: 2:3.6.6-6+deb7u11 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages *** 2:3.6.6-6+deb7u11 0 995 http://security.debian.org/debian-security/ wheezy/updates/main armhf Packages 100 /var/lib/dpkg/status 2:3.6.6-6+deb7u7 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages gosa-plugin-samba: Installed: (none) Candidate: 2.7.4-4.3~deb7u3 Version table: 2.7.4-4.3~deb7u3 0 995 http://security.debian.org/debian-security/ wheezy/updates/main armhf Packages 2.7.4-4.3~deb7u2 0 995 http://ftp.uk.debian.org/debian/ wheezy/main armhf Packages samba-libs: Installed: (none) Candidate: 2:4.1.17+dfsg-1~bpo70+1 Version table: 2:4.1.17+dfsg-1~bpo70+1 0 100 http://http.debian.net/debian/ wheezy-backports/main armhf Packages
-
I would make a backup before any of this....
apt-get -t wheezy-backports install samba=4.1.17+dfsg-1~bpo70+1
-
apt-get -t wheezy-backports install samba=4.1.17+dfsg-1~bpo70+1
I get this error when I tried to run it
-
Missed the 2: when copying. apt-get -t wheezy-backports install samba=2:4.1.17+dfsg-1~bpo70+1
-
My bad, I haven't had my coffee yet
Code
Alles anzeigenReading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: samba : Depends: python-samba but it is not going to be installed Depends: samba-common (= 2:4.1.17+dfsg-1~bpo70+1) but 2:3.6.6-6+deb7u11 is to be installed Depends: samba-common-bin (= 2:4.1.17+dfsg-1~bpo70+1) but 2:3.6.6-6+deb7u11 is to be installed Depends: samba-dsdb-modules but it is not going to be installed Depends: libldb1 (>= 0.9.21) but it is not going to be installed Depends: samba-libs (= 2:4.1.17+dfsg-1~bpo70+1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
What flag do I need to force the dependencies I'm completely blanking on which one gets or builds them. -
The odroid doesn't have the backports repo pinned at a higher value. So, you need to specify each package it wants with the version string or add the pinning.
-
The odroid doesn't have the backports repo pinned at a higher value. So, you need to specify each package it wants with the version string or add the pinning.
I tried doing it installing one package at a time it completely wiped out the system and uninstalled a lot of open media vault plugins and I could not get back to the web console (thank you for recommending to backup). Would changing the pinning of the wheezy-backports.list help at all? How do I go about changing the pinning for that file?
-
It should tell you if it is going to uninstall a package.
echo "deb http://ftp.debian.org/debian wheezy-backports main contrib non-free" > /etc/apt/sources.list.d/backports.list
echo "Package: libtalloc2 libtdb1 libwbclient0 samba-common samba samba-common-bin" > /etc/apt/preferences.d/99backports.pref
echo "Pin: release a=jessie-backports" >> /etc/apt/preferences.d/99backports.pref
echo "Pin-Priority: 995" >> /etc/apt/preferences.d/99backports.prefapt-get install samba
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!