[GH-ISSUE #2304] Got I/O error after mounting bucket #1146

Open
opened 2026-03-04 01:51:43 +03:00 by kerem · 1 comment
Owner

Originally created by @dumpyFox on GitHub (Sep 4, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2304

Additional Information

Version of s3fs being used (s3fs --version)

V1.93 (commit:3f64c72) with OpenSSL

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse or dpkg -s fuse)

2.9.9-5ubuntu3

Kernel information (uname -r)

6.2.0-31-generic

GNU/Linux Distribution, if applicable (cat /etc/os-release)

PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

How to run s3fs, if applicable

[x] command line
[] /etc/fstab

s3fs nexustest2 /home/fruitgum/work/bucket -o passwd_file=/root/.s3fs-pwd -o url=https://s3.storage.selcloud.ru -o use_path_request_style -o dbglevel=info

s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)

Սեպ 04 15:42:28 frankenstein s3fs[55147]: s3fs version 1.93(3f64c72) : s3fs -o passwd_file=/root/.s3fs-pwd -o url=https://s3.storage.selcloud.ru -o use_path_request_style -o dbglevel=info nexustest2 /home/fruitgum/work/bucket
Սեպ 04 15:42:28 frankenstein s3fs[55147]: s3fs_logger.cpp:LowSetLogLevel(240): change debug level from [CRT] to [INF]
Սեպ 04 15:42:28 frankenstein s3fs[55147]:     PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
Սեպ 04 15:42:28 frankenstein s3fs[55147]: Loaded mime information from /etc/mime.types
Սեպ 04 15:42:28 frankenstein s3fs[55147]: The path to cache top dir is empty, thus not need to check permission.
Սեպ 04 15:42:28 frankenstein s3fs[55148]: init v1.93(commit:3f64c72) with OpenSSL, credential-library(built-in)
Սեպ 04 15:42:28 frankenstein s3fs[55148]: check services.
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       check a bucket path(/).
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       URL is https://s3.storage.selcloud.ru/nexustest2/
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       URL changed is https://s3.storage.selcloud.ru/nexustest2/
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       computing signature [GET] [/] [] []
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       url is https://s3.storage.selcloud.ru
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       HTTP response code 200
Սեպ 04 15:42:28 frankenstein s3fs[55148]: Any threads are running now, then nothing to do.
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       Start worker thread in ThreadPoolMan.
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       Start worker thread in ThreadPoolMan.
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       Start worker thread in ThreadPoolMan.
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       Start worker thread in ThreadPoolMan.
Սեպ 04 15:42:28 frankenstein s3fs[55148]:       Start worker thread in ThreadPoolMan.
Սեպ 04 15:43:40 frankenstein s3fs[55148]: [path=/][pid=41353,uid=0,gid=0]
Սեպ 04 15:43:40 frankenstein s3fs[55148]:       [tpath=//]
Սեպ 04 15:43:40 frankenstein s3fs[55148]:       [tpath=//][bpath=][save=][sseckeypos=18446744073709551615]
Սեպ 04 15:43:40 frankenstein s3fs[55148]:       URL is https://s3.storage.selcloud.ru/nexustest2//
Սեպ 04 15:43:40 frankenstein s3fs[55148]:       URL changed is https://s3.storage.selcloud.ru/nexustest2//
Սեպ 04 15:43:40 frankenstein s3fs[55148]:       computing signature [HEAD] [//] [] []
Սեպ 04 15:43:40 frankenstein s3fs[55148]:       url is https://s3.storage.selcloud.ru
Սեպ 04 15:43:41 frankenstein s3fs[55148]:       HTTP response code 200
Սեպ 04 15:43:41 frankenstein s3fs[55148]:       add stat cache entry[path=/]
Սեպ 04 15:46:06 frankenstein s3fs[55164]: s3fs version 1.93(3f64c72) : s3fs outputs
Սեպ 04 15:46:06 frankenstein s3fs[55164]: Loaded mime information from /etc/mime.types
Սեպ 04 15:46:06 frankenstein s3fs[55164]: s3fs: could not determine how to establish security credentials.

Details about issue

I getting I/O error after mounting bucket:

root@frankenstein:/home/fruitgum/work# ls bucket 
ls: cannot access 'bucket': Input/output error
Originally created by @dumpyFox on GitHub (Sep 4, 2023). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2304 <!-- -------------------------------------------------------------------------- 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 (`s3fs --version`) V1.93 (commit:3f64c72) with OpenSSL #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) 2.9.9-5ubuntu3 #### Kernel information (`uname -r`) 6.2.0-31-generic #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [x] command line [] /etc/fstab <!-- Executed command line or /etc/fastab entry --> ``` s3fs nexustest2 /home/fruitgum/work/bucket -o passwd_file=/root/.s3fs-pwd -o url=https://s3.storage.selcloud.ru -o use_path_request_style -o dbglevel=info ``` #### s3fs syslog messages (`grep s3fs /var/log/syslog`, `journalctl | grep s3fs`, or `s3fs outputs`) <!-- if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages. --> ``` Սեպ 04 15:42:28 frankenstein s3fs[55147]: s3fs version 1.93(3f64c72) : s3fs -o passwd_file=/root/.s3fs-pwd -o url=https://s3.storage.selcloud.ru -o use_path_request_style -o dbglevel=info nexustest2 /home/fruitgum/work/bucket Սեպ 04 15:42:28 frankenstein s3fs[55147]: s3fs_logger.cpp:LowSetLogLevel(240): change debug level from [CRT] to [INF] Սեպ 04 15:42:28 frankenstein s3fs[55147]: PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755) Սեպ 04 15:42:28 frankenstein s3fs[55147]: Loaded mime information from /etc/mime.types Սեպ 04 15:42:28 frankenstein s3fs[55147]: The path to cache top dir is empty, thus not need to check permission. Սեպ 04 15:42:28 frankenstein s3fs[55148]: init v1.93(commit:3f64c72) with OpenSSL, credential-library(built-in) Սեպ 04 15:42:28 frankenstein s3fs[55148]: check services. Սեպ 04 15:42:28 frankenstein s3fs[55148]: check a bucket path(/). Սեպ 04 15:42:28 frankenstein s3fs[55148]: URL is https://s3.storage.selcloud.ru/nexustest2/ Սեպ 04 15:42:28 frankenstein s3fs[55148]: URL changed is https://s3.storage.selcloud.ru/nexustest2/ Սեպ 04 15:42:28 frankenstein s3fs[55148]: computing signature [GET] [/] [] [] Սեպ 04 15:42:28 frankenstein s3fs[55148]: url is https://s3.storage.selcloud.ru Սեպ 04 15:42:28 frankenstein s3fs[55148]: HTTP response code 200 Սեպ 04 15:42:28 frankenstein s3fs[55148]: Any threads are running now, then nothing to do. Սեպ 04 15:42:28 frankenstein s3fs[55148]: Start worker thread in ThreadPoolMan. Սեպ 04 15:42:28 frankenstein s3fs[55148]: Start worker thread in ThreadPoolMan. Սեպ 04 15:42:28 frankenstein s3fs[55148]: Start worker thread in ThreadPoolMan. Սեպ 04 15:42:28 frankenstein s3fs[55148]: Start worker thread in ThreadPoolMan. Սեպ 04 15:42:28 frankenstein s3fs[55148]: Start worker thread in ThreadPoolMan. Սեպ 04 15:43:40 frankenstein s3fs[55148]: [path=/][pid=41353,uid=0,gid=0] Սեպ 04 15:43:40 frankenstein s3fs[55148]: [tpath=//] Սեպ 04 15:43:40 frankenstein s3fs[55148]: [tpath=//][bpath=][save=][sseckeypos=18446744073709551615] Սեպ 04 15:43:40 frankenstein s3fs[55148]: URL is https://s3.storage.selcloud.ru/nexustest2// Սեպ 04 15:43:40 frankenstein s3fs[55148]: URL changed is https://s3.storage.selcloud.ru/nexustest2// Սեպ 04 15:43:40 frankenstein s3fs[55148]: computing signature [HEAD] [//] [] [] Սեպ 04 15:43:40 frankenstein s3fs[55148]: url is https://s3.storage.selcloud.ru Սեպ 04 15:43:41 frankenstein s3fs[55148]: HTTP response code 200 Սեպ 04 15:43:41 frankenstein s3fs[55148]: add stat cache entry[path=/] Սեպ 04 15:46:06 frankenstein s3fs[55164]: s3fs version 1.93(3f64c72) : s3fs outputs Սեպ 04 15:46:06 frankenstein s3fs[55164]: Loaded mime information from /etc/mime.types Սեպ 04 15:46:06 frankenstein s3fs[55164]: s3fs: could not determine how to establish security credentials. ``` ### Details about issue I getting I/O error after mounting bucket: ``` root@frankenstein:/home/fruitgum/work# ls bucket ls: cannot access 'bucket': Input/output error ```
Author
Owner

@lancelot1989 commented on GitHub (Apr 28, 2024):

I have met the same problem, once ls the root directory, then returns I/O error.

subdir、read & write specific file is ok.

<!-- gh-comment-id:2081406076 --> @lancelot1989 commented on GitHub (Apr 28, 2024): I have met the same problem, once ls the root directory, then returns I/O error. subdir、read & write specific file is ok.
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#1146
No description provided.