Destination file a lot larger then source (real size)

milos.kaurin at milos.kaurin at
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


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

Full cmdline for the daily backup:
/usr/bin/rsync -rltgoD --no-perms --no-owner --no-group --delete <src>

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: <>

More information about the rsync mailing list