LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2013, 03:46 PM   #1
jibtga
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Rep: Reputation: Disabled
mount problem


I have Raspberry PI with Openelec,I plug a externl hard disk on it.
When I use openelec samba server to mount hard disk folders on my Ubuntu pc.
But I can only move/copy small files.

Ubuntu pc, fstab line:

//172.18.2.113/media/Elements /home/jose/mount cifs guest,uid=1000,forceuid

Openelec Raspberry Pi, share folder on smb.conf:

[Media]
path = /media
available = yes
browsable = yes
public = yes
writable = yes
root preexec = mkdir -p /media

When I run df -h command

FILES SIZE USED FREE %
//172.18.2.113/media/Elements 10M 564K 9,5M 6%
MOUNT IN
/home/jose/mount

I can only move/copy files smaller than 10M, It is a 2T disk and in mount point show 10M.


Any help?

Thanks
 
Old 10-05-2013, 05:35 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
why are you using SAMBA to connect Linux to Linux? you should be using NFS.

Quote:
It is a 2T disk and in mount point show 10M.
so you are saying that df shows the mounted drive as a 10M drive? is that on the ubuntu box or the RPi?
 
1 members found this post helpful.
Old 10-06-2013, 12:21 PM   #3
jibtga
LQ Newbie
 
Registered: Jun 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
OpenELEC not have a nfs server, but a samba server. The 2T disk is in the Raspberry Pi (OpenELEC).
I use samba server to access 2T disk files from a PC with Ubuntu. But when I mount this unit on ubuntu pc I can only write files smaller 10M.
I use NFS to share from Ubuntu to RPi
 
Old 10-06-2013, 02:56 PM   #4
YellowApple
Member
 
Registered: Mar 2013
Location: Truckee, California, United States
Distribution: Slackware, OpenBSD, openSUSE, Android
Posts: 93

Rep: Reputation: 35
Quote:
Originally Posted by jibtga View Post
OpenELEC not have a nfs server, but a samba server. The 2T disk is in the Raspberry Pi (OpenELEC).
I use samba server to access 2T disk files from a PC with Ubuntu. But when I mount this unit on ubuntu pc I can only write files smaller 10M.
I use NFS to share from Ubuntu to RPi
Perhaps SFTP/SCP would be more valuable for this? I believe OpenELEC can also support rsync if you install the appropriate add-on.

Either way, I'm surprised there's no NFS server support, considering that NFS is pretty much standard in virtually all modern Linux distros. You might need to setup /etc/exports and nfsd manually, though.

That said, the documentation I'm seeing for OpenELEC appears to be more oriented toward having OpenELEC serve as an NFS client rather than an NFS server.
 
Old 10-06-2013, 09:09 PM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
hmm very odd that OpenELEC does not provide NFS server side information...

As scp is supported unless you are trying to stream files via SAMBA and that is failing, id use scp or rsync to move the files from your RPi to your Ubuntu box.

what are you using the RPi for?

i am running RaspBMC for my RPi as its my media server connected directly to my TV using NFS to connect to my server.
 
Old 10-07-2013, 12:37 PM   #6
redfox2807
Member
 
Registered: Jul 2012
Distribution: Debian testing/stable, Sailfish OS, Android
Posts: 131

Rep: Reputation: 20
Please on your Raspberry Pi from a console as root type
Code:
fdisk -l
(this is lower case L) and post the output
 
Old 10-07-2013, 12:56 PM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,106

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
maybe try sshfs ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mount nfs problem: mount(2) Input/Output error, virtual box involved gjatute Linux - Newbie 6 10-23-2012 01:57 PM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
Mount Problem: evice already mounted or mount point busy paldebojyoti Linux - Distributions 5 08-27-2009 02:46 AM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
DVD (auto)mount problem, gnome-mount, hal, Fedora C 5 lazarion Linux - Hardware 5 01-10-2007 04:45 AM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration