You are not logged in.

#1 2015-05-28 19:06:23

nbd
Member
Registered: 2014-08-04
Posts: 389

rsync glitches with -X flag (extended attributes)

When I use the following set of flags with rsync:

rsync --update -DHAXErlptgo 

the first copy of the backaped directory is done OK, but when this command is repeated (for updating) there are errors related to extended attributes (if the -X flag is not used, there are no errors). Here what errors look like (there are more of them just for one /etc directory):

rsync: get_xattr_names: llistxattr(""/mnt/backup/rootdir/etc/systemd/system/multi-user.target.wants/winbindd.service"",1024) failed: Permission denied (13)
rsync: get_xattr_names: llistxattr(""/mnt/backup/rootdir/etc/systemd/system/multi-user.target.wants/zfs.target"",1024) failed: No such file or directory (2)
rsync: get_xattr_names: llistxattr(""/mnt/backup/rootdir/etc/systemd/system/timers.target.wants/backup.timer"",1024) failed: No such file or directory (2)
rsync: get_xattr_names: llistxattr(""/mnt/backup/rootdir/etc/systemd/system/timers.target.wants/ntpsync.timer"",1024) failed: No such file or directory (2)

Could someone advise please why those errors are happen and how to get rid of them without excluding -X flag?

Thanks.

UPDATE: rsyncing is performed from ext4 filesystem to btrfs, if that matters.

Last edited by nbd (2015-05-28 19:17:16)


bing different

Offline

Board footer

Powered by FluxBB