mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #2412] S3FS mount failing due to use_cache argument #1187
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rushil-picturehealth on GitHub (Feb 14, 2024).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2412
Additional Information
Version of s3fs being used (
s3fs --version)V1.90
Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)no fuse installed but s3fs still works
Kernel information (
uname -r)6.2.0-1017-aws
GNU/Linux Distribution, if applicable (
cat /etc/os-release)Ubuntu 22.04.3 LTS
How to run s3fs, if applicable
s3fs syslog messages (
grep s3fs /var/log/syslog,journalctl | grep s3fs, ors3fs outputs)Details about issue
I am using s3fs to mount an s3 bucket ('experiment-input-bucket') onto an EC2 instance via ClearML's AWS Autoscaler, specifically within the init script which looks like this:
Everything runs fine with the init script specified as above, but when I add a use_cache argument to the FSTAB_ENTRY like so:
Then I see that the first run works fine and as expected, but on subsequent runs I see this error message related to the mount:
indicating that the s3fs bucket is disconnected from the EC2 instance.
Does anyone know how the s3fs cache could be causing this behavior? I'm almost certain that the s3fs cache is the culprit since the experiment runs successfully multiple times subsequently without specifying use_cache in the FSTAB_ENTRY. For added context, the cache directory is /dev/sda1 which is a 500GB gp3 EBS volume configured onto my autoscaled machine.
@ggtakec commented on GitHub (Feb 19, 2024):
Specify a local directory path, such as
/tmp/cache, rather than a device such as/dev/sda1.You can also obtain detailed information by specifying the option
dbglevel, which outputs detailed error logs for s3fs.