Hans Deragon
2004-Jun-07 18:13 UTC
rsync server complaining about vanishing files while they are not.
Greetings. I am running rsync 2.6.2 on both the server and the client. Server is Fedora Core 2 and client is Red Hat Linux 9. I am suffuring of the following errors on the server side: Jun 7 19:43:27 tux101 rsyncd[24906]: file has vanished: "redhat/9/en/os/i386/RedHat/RPMS/gtk2-engines-2.2.0-2.i386.rpm" (in module1) This messages repeats for a whole bunch of rpm files I want to transfer. The files are symlink to another directory, but they do exist, and they are not deleted while rsync is working. Thus I can reproduce the problem at will by simply executing the client again and again. I call the client with the following: /opt/rsync/bin/rsync -vvvvrL some.server.com::module1/redhat/9/en/os/i386/RedHat/RPMS /export/lmw/install_images/redhat I also notice that the rsync server complains with a code 24, while the client complains with a code 23 (is this normal?). Should I report this as a bug? Best regards, Hans Deragon -- Consultant en informatique/Software Consultant Deragon Informatique inc. Open source: http://www.deragon.biz http://facil.qc.ca (Promotion du libre) mailto://hans@deragon.biz http://autopoweroff.sourceforge.net (Logiciel)
Wayne Davison
2004-Jun-07 19:46 UTC
rsync server complaining about vanishing files while they are not.
On Mon, Jun 07, 2004 at 02:11:33PM -0400, Hans Deragon wrote:> Jun 7 19:43:27 tux101 rsyncd[24906]: file has vanished: > "redhat/9/en/os/i386/RedHat/RPMS/gtk2-engines-2.2.0-2.i386.rpm" (in module1)Rsync will generate that error if the symlink does not point to a valid file and -L was specified (this is because it gets an ENOENT error). (I'm going to change this so that the error isn't as confusing.) One possibility is that your symlinks are absolute but the files are being accessed via an NFS mount (thus making the absolute paths invalid on the remote system trying to follow them). If this is the case, I'd suggest making the symlinks relative. If this is not the case, you'll need to figure out why the symlinks aren't valid when rsync reads it.> I also notice that the rsync server complains with a code 24, while > the client complains with a code 23 (is this normal?).I don't see any such behavior if both the server and the client are really 2.6.2. ..wayne..
Reasonably Related Threads
- [Fwd: Re: rsync server complaining about vanishing files while they are not.]
- Feature Request: Options to limit --one-file-system at the source or destination.
- Feature request: Being able specify that the destination should follow source directory structure.
- How come fsck still kicks in and reports major errors with Ext3?
- [LLVMdev] Linking modules across contexts crashes