Io Error Encountered Skipping File Deletion
Contents |
Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - General [SOLVED] rsync IO error encountered - skipping file deletion, how to tell where error is? User Name Remember Me? Password Linux - rsync io error 5 General This Linux forum is for general Linux questions and discussion. If it is Linux Related rsync ignore read errors and doesn't seem to fit in any other forum then this is the place. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. rsync man You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick,
Rsync Exclude Directory
simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear rsync options all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 06-12-2013, 09:47 AM #1 rjo98 Senior Member Registered: Jun 2009 Location: US Distribution: RHEL, CentOS Posts: 1,664 Rep: rsync IO error encountered - skipping file deletion, how to tell where error is? When I run a rsync with -v I get the following messages before it starts listing all the files its actually doing. My question is, how do I determine where the "IO error" is, and if it's on the source or destination server? building file list ... rsync: opendir "/data/.TemporaryItems/folders.502" failed: Permission denied (13) done IO error encountered - skipping file deletion rjo98 View Public Profile View LQ Blog
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure Red Hat Insights Ansible Tower by Red Hat Cloud Computing Back Red Hat CloudForms Red Hat OpenStack Platform Red Hat Cloud Infrastructure Red Hat Cloud Suite Red Hat OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage JBoss Development and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid http://www.linuxquestions.org/questions/linux-general-1/rsync-io-error-encountered-skipping-file-deletion-how-to-tell-where-error-is-4175465722/ Red Hat JBoss Web Server Red Hat JBoss Portal Red Hat JBoss Operations Network Red Hat JBoss Developer Studio JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse Red Hat JBoss A-MQ Red Hat JBoss BPM Suite Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account https://access.redhat.com/solutions/39726 Management Training & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Product Security Red Hat Access Labs Red Hat Insights All Blogs Events Customer Events Red Hat Summit Stories Red Hat Subscription Benefits You Asked. We Acted. Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management
] [ subject ] [ author ] That is a safety mechanism. If there was an error, the https://lists.samba.org/archive/rsync/2004-June/009891.html lists may be in error, and a deletion may take out a whole lot more than you want. Picture getting permissions on a large section of the source https://bugs.launchpad.net/bugs/233849 directory messed up so the rsync process can't see into them. The send list now does not include everything down there, but it can be seen, and io error deleted, on the destination. Generally, users would prefer to rectify the problems on the source end and re-run the sync, rather than losing large quantities on the destination end. This safety mechanism can be overridden, by the "--ignore-errors" flag. If you're taking the default --delete behaviour, wherein it deletes before the transfer (can be overridden by io error encountered "--delete-after"), these errors are in the filelist generation stage, not problems of insufficient space, or dropped connection. If you do, in fact, have a place you can't read on the destination or source, and it should be that way, exclude it. That way, it won't hit it and error, so you can both run your sync with deletes, and still have it try not to ruin your life over a little problem. Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 conway at us.ibm.com hello, "receiving file list ... 96 files to consider IO error encountered - skipping file deletion wrote 101 bytes read 2047 bytes 1432.00 bytes/sec total size is 107673960 speedup is 50127.54 rsync error: partial transfer (code 23) at main.c(926)" Why can't delete files? Thank you! Previous message: IO error encountered - skipping file deletion Next message: error question Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the rsync mailing list
Edit Invalid Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: rsync (Ubuntu) Filed here by: David Prieto When: 2008-05-21 Completed: 2009-08-21 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Invalid Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Binary package hint: rsync I'm trying to use rsync in Hardy to backup my /home, and I get this error: rsync -av --delete /home/david/ /media/disk/Backup building file list ... rsync: readlink "/home/david/.gvfs" failed: Transport endpoint is not connected (107) done IO error encountered -- skipping file deletion Seemingly as a result, new files get copied to the destination but deleted files do NOT get erased from the destination. I also tried rsync -av --delete --exclude="/home/david/.gvfs" /home/david/ /media/disk/Backup (with the same results). Add tags Tag help alienheartbeat (reckless-symmetry) wrote on 2008-08-05: #1 It is a problem. The workaround is to have an exclude file with the line: - .gvfs Funnily, - .gvfs/ did not work. Maybe it is not really a dir? The solution above would also work with amended grammar. I think the format for an exclude should be: --exclude="- .gvfs" or for just one home dir: --exclude="- /home/david/.gvfs" though I did not test it. An exclude file is usually better so you don't send across the Trash as well. alienheartbeat (reckless-symmetry) wrote on 2008-08-05: #2 I should add, it is not a problem with rsync. The problem is that .gvfs is (apparently) not behaving like a normal dir. It does not say it is a link, but rsync seems to treat it like a lnk. Assuming it stands for gnome virtual file system, this is to be expected. Michael Chang (thenewme91) wrote on 2008-08-24: #3 Have you tried rsync -av --delete --exclude=".gvfs/" /home/david/ /media/disk/Backup (notice the modified --exclude parameter, particularly the trailing slash) Michael Chang (thenewme91) wrote on 2008-08-24: #4 Make that... rsync -av --delete --delete-excluded --exclude=".gvfs/" /home/david/ /media/disk/Backup nexus (bugie) wrote on 2008-11-10: #5 I also had this problem. Adding --exclude=".gvfs/" solves the problem. Stefhen (res0nat0r) on 200