Indeed, stat gives the same size. Thanks!
-------- Original Message -------- Subject: Re: [s3ql] du file size mismatch From: Nikolaus Rath <[email protected]> To: [email protected] Date: 10/26/2016, 1:19:27 PM > On Oct 26 2016, Jonas Lippuner <[email protected]> wrote: >> I copied some big files (2 GB each) to my S3QL file system which has >> compression and encryption enabled. When I run du to see the file sizes in >> the S3QL file system and compare this to the original file sizes (also >> obtained with du), I find that the S3QL files are always a few bytes >> smaller than the original files except in one case where the S3QL file is a >> few kB smaller. >> >> Is this expected or is there something funny going on here? > > Well, the manpage of du summarizes it very well: > > NAME > du - estimate file space usage > > > In other words, du provides an estimate. I think the du - fuse - s3ql > interface is not very well defined. If someone wants to figure this out, > the first step would be to determine how du actually makes its > estimates. After that, we can check if there is a way to improve them. > >> Also, I want to >> use rsync (with rsnapshot) for automated backups to my S3QL volume (which >> is actually an Amazon Cloud Drive mounted with acd_cli) and so I'm >> wondering whether this file size mismatch will make rsync think that the >> files are always different and it will always re-upload them. > > As long as the "stat <file>" output is correct, you are good. du > provides estimates of disk usage, stat provides hard data on how big the > file is. > > > Best, > -Nikolaus > -- My email is signed and I encrypt email on request. To verify my signature or send me encrypted email, get my public key: http://lippuner.ca/key -- You received this message because you are subscribed to the Google Groups "s3ql" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
