Mac OS X : "get_xattr_names: llistxattr("some/path/here", 1024) failed" error

daitheflu at daitheflu at
Tue Dec 13 04:36:21 MST 2011


I'm trying to make a small script to get rid of Apple's TimeMachine. The aim is to backup the files of my company.
I setup a MacMini with a lot of storage attached to it. The MacMini connects every once in a while to our data server (XServe) through SSH and pulls the files that need to be saved (I'm using the --link-dest option to limit the amount of files transferred, and to keep several backups).

I've followed Mike Bombich's instructions to compile rsync 3.0.7 with patches (fileflags, crtimes, crtimes-64bit, crtimes-hfs+ and hfs_compression) on both machines. I'm running the script as root with the following options (which are supposed to do the work) :

    -aNHAXx --fileflags --force-change --protect-decmpfs --numeric-ids

The script works pretty fine except for one thing. When rsync builds the file list, I get hundred of errors such as :

    rsync: get_xattr_names: llistxattr("some/path/here",1024) failed: No such file or directory (2)

Please notice that these errors don't appear if I'm not using the --link-dest option or if the linked-dest-directory doesn't exist (first backup).
Also, "some/path/here" does exist on both side.

I've read some doc about this error but it doesn't seem to fit my case and I'm kinda stuck with it. It doesn't seem to be a serious issue but I'd like to be sure about it and know if there is a way to get rid of them.

Do you guys have any clue of what's going wrong or what I may doing wrong ?

Thanks a lot !

More information about the rsync mailing list