Hello List I've been running this command, with the accompanying error: [root at mythtv ~]# ssh -t rsync at 192.168.1.40 sudo rsync -avzAXH --delete-after -e /home/rsync/bin/rsync_ssh /home/ root at 192.168.1.100:/mnt/bigdisk/morgansmachine/home root at 192.168.1.100's password: building file list ... rsync: readlink_stat("/home/morgan/.gvfs") failed: Permission denied (13) done morgan/.gconfd/ morgan/.gconfd/saved_state IO error encountered -- skipping file deletion sent 3708868 bytes received 1038 bytes 33880.42 bytes/sec total size is 82187744766 speedup is 22153.59 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6] Connection to 192.168.1.40 closed. [root at mythtv ~]# The script is: exec ssh -i /home/rsync/.ssh/id_dsa "$@" If anyone is able shed some light on either the error or why it might prevent deleting files I could save on harddrives:) A little bg: I moved this harddrive from an old and now retired machine, it didn't show this error then. The old machine was running f8 while the new one is running f12? Many thanks, M. -- Morgan Read NEW ZEALAND <mailto:mstuffATreadDOTorgDOTnz>
> readlink_stat("/home/morgan/.gvfs") > failed: Permission denied (13)I believe the error above is a problem with the rsync user not being able to read the file "/home/morgan/.gvfs". I suggest that you check the permissions on this file and also check that the sudo command is in fact granting root access. It may also be worth testing the rsync locally. Initially, this should simplify your testing and may reveal the issue as simply a permissions problem.> IO error encountered -- skipping file deletionThis error suggests that the disk or some other hardware component has a problem. However, it may just be the permission error which is causing this error to show up. I am not 100% with either of these errors. I am guessing. However, hopefully someone with more knowledge on this list will provide some confirmation or additional information to help you further. With regards to the IO error described you may find the following threads of interest: - http://www.mail-archive.com/rsync at lists.samba.org/msg02457.html (suggests that the IO errors are caused by the permission problem This could be true in your case) - http://tinyurl.com/lbackup-discussion-io-errors (If you find it is not permissions then this thread may be worth a look) ---------------------------------- This email is protected by LBackup http://www.lbackup.org
On Sat, 2010-08-07 at 19:54 +1200, Morgan Read wrote:> I've been running this command, with the accompanying error: > [root at mythtv ~]# ssh -t rsync at 192.168.1.40 sudo rsync -avzAXH > --delete-after -e /home/rsync/bin/rsync_ssh /home/> building file list ... rsync: readlink_stat("/home/morgan/.gvfs") > failed: Permission denied (13)Yes, gvfs-fuse mounts a FUSE filesystem (which denies access to root by default) in an unwise place. https://encrypted.google.com/search?q=gvfs+rsync https://bugzilla.gnome.org/show_bug.cgi?id=560658 You'll need to exclude /home/*/.gvfs .> IO error encountered -- skipping file deletion> If anyone is able shed some light on either the error or why it might > prevent deleting files I could save on harddrives:)