I have a script that syncs my backups to an NFS mount every day The script works fine, without any errors, but there is a problem when it comes to some large files
Let's take my pst file (8.9 gig) as an example Source: du -hs mypst.pst 8.9G mypst.pst ls -alh mypst.pst -rw-rw---- 1 me me 8.9G Jan 25 17:07 mypst.pst That seems OK Let's do that on the destination: du -hs mypst.pst 17G mypst.pst ls -alh mypst.pst -rw-rw---- 1 root root 8.9G Jan 25 17:07 mypst.pst # Permissions here are fine, disregard Real file size is almost double size! Extra info: Source dir is an xfs partition The NFS mount is also xfs on the NFS server NFSv4 Full cmdline for the daily backup: /usr/bin/rsync -rltgoD --no-perms --no-owner --no-group --delete <src> <dest> For the testing purposes, I've tried doing: rsync /srcdir/mypst.pst /nfsmount/mypst.pst and the result is the same: du reports 17 gigs, and ls -alh reports 8.9 Is there any way around this?
-- 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