Re: [Bug 8450] New: --link-dest seems not to work mounted NTFS file systems
Just to clarify, Is the destination file system NTFS? Also, is this storage directly attached or is it mounted via the network? Finally, you mentioned it is mounted read-only would you please clarify why the drive you are writing to is mounted in this way? Thanks. Henri This email is protected by LBackup http://www.lbackup.org 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 -- 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
[Bug 8450] New: --link-dest seems not to work mounted NTFS file systems
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
Re: [Bug 8450] New: --link-dest seems not to work mounted NTFS file systems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 See what --itemize-changes says. On 09/12/11 12:06, samba-b...@samba.org wrote: 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 ? - -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ Kevin Korb Phone:(407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Floridak...@sanitarium.net (personal) Web page: http://www.sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~ -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5uLoQACgkQVKC1jlbQAQfHPQCg9IiwPEolmcJuRAEtjMJoRXcN cOYAnRHQlXruI2M7qVnbSPGy6h7IOgni =C60/ -END PGP SIGNATURE- -- 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