Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
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, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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 all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I got a critical error here on rsync. It removes some of my files without my permisstion.
I'm running RHEL-AS4U6 with the default installed rsync.
I use rsync to copy about 10TB files from one server to another.
Quote:
[datum@matrix33 data]$ cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
[datum@matrix33 data]$ rsync --version
rsync version 2.6.3 protocol version 28
Copyright (C) 1996-2004 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
inplace, IPv6, 64-bit system inums, 64-bit internal inums
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
[data]
path = /data
comment = dir for backup
uid = datum
gid = datum
use chroot = yes
syslog facility = local5
list = yes
read only = yes
ignore errors
hosts allow = 192.168.0.0/16
Here as the logfile says:
Quote:
file has vanished: "26/244/216/4576E91E68912F" (in data)
file has vanished: "29/243/154/4576E91D541D2F" (in data)
file has vanished: "25/247/148/4576E923EA5A2F" (in data)
file has vanished: "11/243/145/4576E91D28392F" (in data)
file has vanished: "29/246/032/4576E9222D3B2F" (in data)
file has vanished: "30/243/130/4576E91CDAEC2F" (in data)
file has vanished: "31/243/145/4576E91DC9512F" (in data)
file has vanished: "24/247/234/4576E924B7842F" (in data)
file has vanished: "14/244/103/4576E91EC0452F" (in data)
file has vanished: "31/246/104/4576E9220B872F" (in data)
file has vanished: "08/243/081/4576E91D2BE72F" (in data)
file has vanished: "31/248/145/4576E92542062F" (in data)
file has vanished: "08/247/196/4576E923B2362F" (in data)
rsync: opendir "/01/029/138/4576E848CD262F" (in data) failed: Permission denied (13)
rsync: readlink "/01/030/023/4576E84A187D2F" (in data) failed: Input/output error (5)
rsync: readlink "/01/030/023/4576E84A2EB02F" (in data) failed: Input/output error (5)
rsync: readlink "/01/030/023/4576E84AAE872F" (in data) failed: Input/output error (5)
These files are deleted from both sides, I cannot read them any more from both the source side and destination side.
It's unacceptable!
After google around, I cannot find anything helpful, is there anyone able to give me a hand please?
Thanks for any input,
all the best,
joe
Are you sure these weren't temp files that were there when you started rsync, but had been removed when rsync reached the point where it should have copied them? This can happen when you have processes running while you do your rsync backup. You would have seen a message something like "file xxx disappeared before it could be copied". I'd have to google for the exact message.
Are you sure these weren't temp files that were there when you started rsync, but had been removed when rsync reached the point where it should have copied them? This can happen when you have processes running while you do your rsync backup. You would have seen a message something like "file xxx disappeared before it could be copied". I'd have to google for the exact message.
yes, I have other instances running at the same time which may delete these files.
yes, I have other instances running at the same time which may delete these files.
In that case, there may not actually be a problem. Consider the case where you make up a list of things to do, and someone else does one of the tasks before you've completed, but since they don't know about your list, they can't mark it done. It's more or less the same thing, here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.