LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2009, 08:23 PM   #1
bhati
LQ Newbie
 
Registered: May 2009
Location: Pittsburgh, USA
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
rsync from ubuntu to samba share does not work with -a option


Hi all,
I am trying to rsync some documents on to a samba share on a mybook world edition device. My source machine is a laptop running Ubuntu 9.04. However I keep getting various errors and try as I might I have not been able to get this to work.

I mounted the mybook share on my Ubuntu laptop using the following command -
sudo mount -t cifs 192.168.1.110:TEST test -o username=myusername,uid=1000,gid=1000

the mybook share on samba is defined as -

[TEST]
path=/shares/internal/TEST
read only = no
guest ok = no
valid users=myusername
write list=myusername

the rsync command I am using is -
rsync -avz ~/junk test/

where junk is a folder on my laptop that I would like to backup. I get the following message when I run the above command -

junk/
rsync: failed to set times on "/home/me/test/junk": Invalid argument (22)
junk/bar
junk/foo
rsync: mkstemp "/home/me/test/junk/.bar.iuj8as" failed: Permission denied (13)
rsync: mkstemp "/home/me/test/junk/.foo.PTOh4m" failed: Permission denied (13)

sent 75633 bytes received 54 bytes 151374.00 bytes/sec
total size is 439153 speedup is 5.80
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1058) [sender=3.0.5]



The biggest frustration is that I can mount these shares in an XP box and run synctoy and it works fine, but my linux boxes don't play well. I can copy but I can not rsync (with -a)

I don't know if it helps but uname -a on the mybook gives this -

Linux MyBook1 2.6.17.14 #1 PREEMPT Fri Jan 18 10:40:25 GMT 2008 armv5tejl GNU/Linux

Any help to resolve this would be greatly appreciated.
 
Old 05-07-2009, 03:20 PM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
rsync only works on filesystems with hardlinks. So if the filesystem you are trying to copy to is FAT,NTFS (or HFS), I don't think it is going to work.
 
Old 05-07-2009, 08:48 PM   #3
bhati
LQ Newbie
 
Registered: May 2009
Location: Pittsburgh, USA
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Well the target is some flavor of Linux (see uname output above) and the partition with the shared folder is ext3.
 
Old 05-09-2009, 02:14 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Moved: This thread is more suitable in <---Software---> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply

Tags
rsync, samba, ubuntu



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
can't mount a samba share I made from Ubuntu mongoosecage Slackware 3 07-11-2008 08:44 AM
Samba share won't work..... OtisLinux Linux - Server 4 05-16-2007 03:09 PM
Share printer using Samba in Ubuntu depam Linux - Software 6 03-17-2006 05:57 AM
samba can't get share to work dtra Linux - Software 16 02-11-2005 09:39 AM
share for groups on samba 3 - ADS doesn't work ceixxx Linux - Software 0 11-06-2004 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:22 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
Open Source Consulting | Domain Registration