DO NOT REPLY [Bug 6043] New: rsync ignores -x for some file systems

samba-bugs at samba-bugs at
Fri Jan 16 09:06:05 GMT 2009

           Summary: rsync ignores -x for some file systems
           Product: rsync
           Version: 3.0.4
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: frederick.roth at
         QAContact: rsync-qa at


I use rsync on gentoo to backup files to an external harddrive the following
problem exists with rsync 3.0.4 and 3.0.5.(unknown for other version.

As stated in the summary rsync ignores -x for some partitions.

megaera froth # mount
/dev/sda1 on / type ext3 (rw,noatime)
/dev/sda5 on /home/froth type crypt (defaults)
/dev/sdb1 on /mnt/removable type ext3 (rw)

The above listing shows my configured partitions.
I use the following command to backup
rsync -axH --progress  --numeric-ids --delete / /mnt/removable

which should backup the content of sda1 to sdb1.
What happens is, that is copys from sda1 to sdb1 ignoring (correctly) sda5, but
it recursively copys from sdb1 to sdb1 which results in stuff like this
        1322 100%    2.20kB/s    0:00:00 (xfer#8551, to-check=1065/13155)

The problem war reproducable a view times but now after a 
umount /mnt/removabel && /mount/removable && rm -rf /mnt/removable/*
now it works correctly again.

I'm not sure what could have caused this problem and I'm sorry for the "not
really reproducable" part :(

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list