[GH-ISSUE #2279] The file in the cache space is inconsistent with the source file #1141

Open
opened 2026-03-04 01:51:42 +03:00 by kerem · 0 comments
Owner

Originally created by @qianyi-sourse on GitHub (Aug 18, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2279

Additional Information

Version of s3fs being used

V1.91

Version of fuse being used

2.9.2

Kernel information

5.4.213-1.el7.elrepo.x86_64

How to run s3fs, if applicable

 s3fs xxxxx         -o use_path_request_style -o ensure_diskfree=614400 -o use_cache="/mnt" -o del_cache
  -o parallel_count=500 -o noxmlns -o dbglevel=error -o default_acl=public-read -o multipart_size=52
  -o allow_other -o multireq_max=500 -o compat_dir -o nocopyapi -o singlepart_copy_limit=5120 -o nonempty
  -o stat_cache_expire=300 -o stat_cache_interval_expire=300 -o max_stat_cache_size=1000000

Details about issue

I cp a 5GB file to the mount directory of s3fs. After cp, I immediately restarted the server. After restarting the server, I checked the file size in cache space and found that the file size was less than 5GB. The size of cache space is 2TB.There are no error logs printed in the log file.

Originally created by @qianyi-sourse on GitHub (Aug 18, 2023). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2279 <!-- -------------------------------------------------------------------------- The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all. Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD. --------------------------------------------------------------------------- --> ### Additional Information #### Version of s3fs being used V1.91 #### Version of fuse being used 2.9.2 #### Kernel information 5.4.213-1.el7.elrepo.x86_64 #### How to run s3fs, if applicable ``` s3fs xxxxx -o use_path_request_style -o ensure_diskfree=614400 -o use_cache="/mnt" -o del_cache -o parallel_count=500 -o noxmlns -o dbglevel=error -o default_acl=public-read -o multipart_size=52 -o allow_other -o multireq_max=500 -o compat_dir -o nocopyapi -o singlepart_copy_limit=5120 -o nonempty -o stat_cache_expire=300 -o stat_cache_interval_expire=300 -o max_stat_cache_size=1000000 ``` ### Details about issue I cp a 5GB file to the mount directory of s3fs. After cp, I immediately restarted the server. After restarting the server, I checked the file size in cache space and found that the file size was less than 5GB. The size of cache space is 2TB.There are no error logs printed in the log file.
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#1141
No description provided.