Destination file a lot larger then source (real size)
milos.kaurin at gmail.com
milos.kaurin at gmail.com
Tue Feb 5 04:32:54 MST 2013
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20130205/f4dcfc14/attachment.html>
More information about the rsync
mailing list