Most likely OT: rsync to cifs mount
Cameron Simpson
cs at zip.com.au
Thu Apr 2 04:20:52 UTC 2015
On 01Apr2015 08:07, Ranjan Maitra <maitra.mbox.ignored at inbox.com> wrote:
>Thanks to both Cameron and you, Bob!
>
>After the transfer, here is what we have, on that filesystem:
>
>$ du -sh kmeans --apparent-size
>154G kmeans
>
>$ du -sh kmeans
>628G kmeans
That looks backwards to me, presuming you have sparse files?
Although "man du" is, frankly, vague about what this means, I'd imagine from
the description that it tallies the byte sizes of the files; du normally
tallies "blocks" from the st_blocks stat field, which reports allocated blocks
(which is lower than st_size/st_blksize if the file is sparse).
So how you get a smaller "du" with --apparent-size escapes me. You are duing
the same directory, yes? Not the source and copied directories?
I'm still wondering if you do have sparse files; images generally are not.
Cheers,
Cameron Simpson <cs at zip.com.au>
More information about the users
mailing list