LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-11-2013, 09:49 AM   #1
dahweeds
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Rep: Reputation: 0
Where does Fedora 17 mount the samba shares automatically by default?


I did not find the answer right away on searching the internet. But I eventually found where. So I simply put this here in case anyone else needs to rsync their data to or from a samba share using Fedora 17.

When I browse the network in my gui desktop, I can mount the public share from my little nas. However, the string name for the location in the desktop browser is

Code:
smb://o6o1.local/storage/
This is not rsync friendly. Example:
Code:
[auser@Fedora17 ~]$ rsync smb://o6o1.local/storage ./ -rvn
ssh: Could not resolve hostname smb: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9]
There is probably some way to tell rsync that I am using that smb: host but that is not what I wanted to do at the moment.

I found by mount command that Fedora used the fuse-daemon to connect the share on a far off folder in a /run directory that I did not know about before.

Code:
[auser@Fedora17 ~]$ mount
....
gvfs-fuse-daemon on /run/user/auser/gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=500,group_id=500)
...
[auser@Fedora17 ~]$  ls /run/user/auser/gvfs/
storage on o6o1.local
[auser@Fedora17 ~]$
With that I was able to use rsync the way I previously have done.
Code:
[auser@Fedora17 ~]$ rsync /run/user/auser/gvfs/storage\ on\ o6o1.local/ ./ -rv
sending incremental file list
....
sent 2009352292 bytes  received 2199492 bytes  1332594.76 bytes/sec
total size is 2001876702  speedup is 1.00
[auser@Fedora17 ~]$
Yay!
 
Old 01-11-2013, 09:51 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
not a networking question, moved to Newbie
 
  


Reply



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
nfs client does not mount server-shares automatically on boot rsp Debian 2 07-29-2007 07:26 AM
How to mount SAMBA shares in /etc/fstab automatically? Micro420 Linux - General 7 06-16-2006 05:24 AM
automatically mount NFS shares turbo_acura Linux - Networking 1 10-28-2004 05:33 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
Automatically mount file shares? odious1 Linux - Newbie 1 07-03-2003 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:31 AM.

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
Open Source Consulting | Domain Registration