[GH-ISSUE #2646] Cannot use bucket folder in 1.95, works in 1.91 #1263

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

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 fuse or dpkg -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

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 <!-- -------------------------------------------------------------------------- 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. --------------------------------------------------------------------------- --> ### Additional Information #### Version of s3fs being used (`s3fs --version`) <!-- V1.95 --> #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) <!-- 2.9.2 --> #### Kernel information (`uname -r`) <!-- 4.14.355-275.582.amzn2.x86_64 --> #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) <!-- Amazon Linux 2 --> #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [] 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
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#1263
No description provided.