[GH-ISSUE #5] du shows incorrect usage stats #1

Closed
opened 2026-03-04 01:41:02 +03:00 by kerem · 6 comments
Owner

Originally created by @timurb on GitHub (Jan 13, 2014).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/5

root@monitoring:/mnt/backups# ls -l Vol0001 
-rw-r----- 1 root root 548618 Янв  7 08:15 Vol0001
root@monitoring:/mnt/backups# du -chs Vol0001 
512 Vol0001
512 total

I'm running s3fs 1.74 (r499) on Debian Wheezy 7.3

Originally created by @timurb on GitHub (Jan 13, 2014). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/5 ``` root@monitoring:/mnt/backups# ls -l Vol0001 -rw-r----- 1 root root 548618 Янв 7 08:15 Vol0001 root@monitoring:/mnt/backups# du -chs Vol0001 512 Vol0001 512 total ``` I'm running s3fs 1.74 (r499) on Debian Wheezy 7.3
kerem closed this issue 2026-03-04 01:41:02 +03:00
Author
Owner

@ggtakec commented on GitHub (Jan 15, 2014):

I was able to reproduce this bug, I try to check codes.
Please wait.
Thanks

<!-- gh-comment-id:32372832 --> @ggtakec commented on GitHub (Jan 15, 2014): I was able to reproduce this bug, I try to check codes. Please wait. Thanks
Author
Owner

@d2inco commented on GitHub (Jan 15, 2014):

try a "du --apparent-size'

<!-- gh-comment-id:32387411 --> @d2inco commented on GitHub (Jan 15, 2014): try a "du --apparent-size'
Author
Owner

@timurb commented on GitHub (Jan 15, 2014):

It works fine.
It is probably worth updating docs with that.

<!-- gh-comment-id:32390255 --> @timurb commented on GitHub (Jan 15, 2014): It works fine. It is probably worth updating docs with that.
Author
Owner

@ggtakec commented on GitHub (Jan 16, 2014):

Fixed this bug, and merged master branch.
Please try to check master branch.

<!-- gh-comment-id:32483184 --> @ggtakec commented on GitHub (Jan 16, 2014): Fixed this bug, and merged master branch. Please try to check master branch.
Author
Owner

@ggtakec commented on GitHub (Jan 16, 2014):

@dsdee thanks a lot, but this problem is a bug...
@timurbatyrshin so this is a bug, then we don't need to update docs.

thanks a lot.

<!-- gh-comment-id:32484155 --> @ggtakec commented on GitHub (Jan 16, 2014): @dsdee thanks a lot, but this problem is a bug... @timurbatyrshin so this is a bug, then we don't need to update docs. thanks a lot.
Author
Owner

@ggtakec commented on GitHub (Jan 21, 2014):

This fixes is updated as v1.76.
Regards,

<!-- gh-comment-id:32898401 --> @ggtakec commented on GitHub (Jan 21, 2014): This fixes is updated as v1.76. Regards,
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1
No description provided.