[Dirvish] rsync 3.0.9 - uid 4294967295 (-1) and/or failed to write xattr issue

Noel Kelly nkelly at tarsus.co.uk
Thu May 2 09:54:01 UTC 2013


Hi All,

I have the annoying problem thrown up by the latest versions of rsync 
not being able to set the uid and/or the xattr when dirvish is backing 
up from a  cygwin rsyncd service running on Windows.

I have read many posts about using 'fake super' to get around this but I 
can't seem to get the right dirvish configuration set up to null this 
error.  The backup works it is just this rsync error causes dirvish to 
flag it as bad and the backups grow bigger each night!

I know my dirvish configs are ostensibly fine because I do a second 
dirvish backup using an older version of rsync and it works perfectly.

My problematic dirvish config using rsync 3.0.9:

client: 192.168.70.250
tree: :Floorplans
xdev: 1
index: gzip
image-temp: latest
expire-default: +350 days

rsync-option:
     --no-super
rsync-option:
     --fake-super
rsync-option:
     --no-xattrs


The cygwin rsyncd.conf on Windows 2012 running rsync 3.0.9 looks like this:

log file = /var/log/rsyncd.log
fake super = yes
uid = 0
gid = 0

[Floorplans]
     path = /cygdrive/c/Shared/Floorplans
     read only = no
     hosts allow = 192.168.5.0/24
     use chroot = no
     lock file = /var/log/rsync-floorplans.lock
     log file = /var/log/rsyncd-floorplans.log


I have tried running the rsync command from the summary with some 
amendments and it works absolutely fine with no error:

ACTION: rsync -vrltH --delete -pgo --stats -D --numeric-ids -x 
--no-super --fake-super --no-xattrs 
--exclude-from=/data/rotation/floorplans/latest/exclude 
--link-dest=/data/rotation/floorplans/20130408/tree 
192.168.70.250::Floorplans/ /data/rotation/floorplans/latest/tree


The rsync_error log from last night shows:

rsync: failed to write xattr user.rsync.%stat for 
"/data/rotation/floorplans/latest/tree/systembackup": Operation not 
supported (95)
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1536) [generator=3.0.9]

Previous configurations with settng 'fake-super' on the cygwin 
rsyncd.conf side got me this so I feel I have progressed somewhat:

uid 4294967295 (-1) is impossible to set on 
"/data/rotation/floorplans/latest/tree/abc.efd"
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1536) [generator=3.0.9]


Any advice much appreciated as I have run out of ideas on how to fix or 
troubleshoot this further!

Cheers
Noel


My rsync version on the problematic dirvish server is:

rsync  version 3.0.9  protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
     64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
     socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
     append, ACLs, xattrs, iconv, symtimes


On the remote Windows 2012 cygwin server I have:

rsync  version 3.0.9  protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
     64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
     no socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
     append, ACLs, xattrs, iconv, symtimes






More information about the Dirvish mailing list