https://bugzilla.samba.org/show_bug.cgi?id=8450
Summary: --link-dest seems not to work mounted NTFS file systems Product: rsync Version: 3.0.8 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: way...@samba.org ReportedBy: toralf.foers...@gmx.de QAContact: rsync...@samba.org I use rsync to create daily/weekly/monthly backups to an external USB drive of my Gentoo Linux using this command line options : --archive --delete --delete-excluded --exclude-from=/exclude.list --link-dest=<old dest> --stats --verbose <src> <dest> This works like a charm for all files located on my ext3 Linux partition. However for the 2 files of a NTFS drive not. Here rsync always transfers an unchanged file too, even if <old dest> contains that file (from a backup made yesterday) and therefore it should better be hard-linked only instead of being transferred twice. What is really curious - at the beginning of using this backup solution (some weeks ago) the <dest> doesn't contain an older version of that file, and there hard-linking worked IIRC. The NTFS drive is mounted read-only: tfoerste@n22 ~ $ mount | grep C /dev/sda1 on /mnt/C type ntfs (ro,noexec,nosuid,nodev,noatime,uid=1000,gid=100,umask=0027) <src> is /mnt/C/notes/data/archive/ <dest> is /mnt/media/daily/f/ <old dest> is /mnt/media/weekly/b (given as ../../weekly/b at the command line) Here you can see that different hard links are used : tfoerste@n22 ~ $ ls -il /mnt/C/notes/data/archive/l_DE1448.nsf /mnt/media/daily/f/archive/l_DE1448.nsf /mnt/media/weekly/b/archive/l_DE1448.nsf 80719 -r-xr-x--- 1 tfoerste users 8126464 Sep 2 13:40 /mnt/C/notes/data/archive/l_DE1448.nsf 2293796 -r-xr-x--- 1 tfoerste users 8126464 Sep 2 13:40 /mnt/media/daily/f/archive/l_DE1448.nsf 2310874 -r-xr-x--- 1 tfoerste users 8126464 Sep 2 13:40 /mnt/media/weekly/b/archive/l_DE1448.nsf md5sum proves identical content, the file attributes shouldn't changed too (NTFS is always mounted read-only, never read-write) : tfoerste@n22 ~ $ md5sum /mnt/C/notes/data/archive/l_DE1448.nsf /mnt/media/daily/f/archive/l_DE1448.nsf /mnt/media/weekly/b/archive/l_DE1448.nsf 88ef0d516c5696bf120d749f4b1fc9ba /mnt/C/notes/data/archive/l_DE1448.nsf 88ef0d516c5696bf120d749f4b1fc9ba /mnt/media/daily/f/archive/l_DE1448.nsf 88ef0d516c5696bf120d749f4b1fc9ba /mnt/media/weekly/b/archive/l_DE1448.nsf OTOH does it make any difference whether the <dest> drive at the external USB drive is mounted as ext2 instead of ext3 ? -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html