I have an s3 bucket mounted on an EC2 instance whose main disk is an EBS volume.
Whenever I run something like du -h /path/to/mount
it tells me the size of the folders within those.
I'm wondering now if Linux is counting the space used in those buckets as I'm getting reports that I'm using nearly 100% of disk space.
If it is counting s3fs mounts as part of the overall space, how can I exclude these mounts from the disk usage calculation?