mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #2646] Cannot use bucket folder in 1.95, works in 1.91 #1263
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#1263
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 @miguel-n-rodrigues on GitHub (Feb 25, 2025).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2646
Working with an ec2 instance (Amazon Linux 2) and s3fs v1.95. When I try to mount the root folder of an s3 bucket to a local folder it works no problem. When trying to use a folder / subfolder of the s3 bucket it no longer works.
Example:
Works
sudo s3fs bucket_name /local/path -o iam_role="role" -o url="https://s3.eu-central-1.amazonaws.com" -o endpoint=eu-central-1
Doesn't work
sudo s3fs bucket_name:/folder /local/path -o iam_role="role" -o url="https://s3.eu-central-1.amazonaws.com" -o endpoint=eu-central-1
I've tried with different parameters, with iam_role on auto, writting to the fstab and then mount -a
After mounting the s3 folder the command works but using ls to look into the folder leaves the terminal hanging, same with df -h, and even df -h -l
Trying to see the processes with ps aux | grep s3fs I can see the process is using a lot of the cpu (when usually its negligible).
Downgrading to s3fs v1.91 works
Additional Information
Version of s3fs being used (
s3fs --version)Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)Kernel information (
uname -r)GNU/Linux Distribution, if applicable (
cat /etc/os-release)How to run s3fs, if applicable
[] command line: sudo s3fs bucket_name:/folder /local/path -o iam_role="role" -o url="https://s3.eu-central-1.amazonaws.com" -o endpoint=eu-central-1
[] /etc/fstab: s3fs#bucket_name:/folder /local/path fuse _netdev,allow_other,iam_role=auto 0 0