mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #2182] Cannot See Folders In The Bucket #1109
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#1109
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 @dnlchen on GitHub (Jun 6, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2182
Additional Information
Version of s3fs being used (
s3fs --version)V1.92
Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)2.9.2
Kernel information (
uname -r)3.10.0-1160.90.1.el7.x86_64
GNU/Linux Distribution, if applicable (
cat /etc/os-release)NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
How to run s3fs, if applicable
[] command line
[x] /etc/fstab
s3fs syslog messages (
grep s3fs /var/log/syslog,journalctl | grep s3fs, ors3fs outputs)Details about issue
we can only see the files in the first level rather than any other folders in the bucket now.
@dnlchen commented on GitHub (Jun 9, 2023):
should I add more options to show the folders?
/etc/fstab:
log_bucket /logs fuse.s3fs _netdev,allow_other,umask=0002,noexec,endpoint=us-west-2,iam_role 0 0@dnlchen commented on GitHub (Jun 9, 2023):
I've downgraded s3fs-fuse to
s3fs-fuse-1.91-4.el7.x86_64to avoid the problem for now.@ggtakec commented on GitHub (Jun 10, 2023):
@dnlchen
Are those folders created from a client other than s3fs?
If so, try starting it with
compat_dir(and maybecomplement_stat) option.@iptizer commented on GitHub (Jun 19, 2023):
We have an issue that sound similar. Let me add from our side:
compat_dirorcomplement_statdoes NOT improve the situation.cd directory(where directory is the name of the missing directory). Until the next remount, the directory is then visible.=> We are creating "directories" with different tools than s3fs.
What debug logs would help to troubleshoot?
@nobodyme commented on GitHub (Jun 21, 2023):
We have this exact same problem with the 1.92 version.
1.91 works fine as others as suggested as this continues to work on other systems.
and how did you manage to downgrade to
s3fs-fuse-1.91-4.el7.x86_64other than installing from source?I couldn't find the RPM, if you did manage, please link it, thanks.
@jacobtolar commented on GitHub (Jun 23, 2023):
@nobodyme , I found s3fs-fuse 1.91 downloadable from Fedora Koji
https://koji.fedoraproject.org/koji/packageinfo?packageID=27631
https://koji.fedoraproject.org/koji/buildinfo?buildID=1931091
https://kojipkgs.fedoraproject.org//packages/s3fs-fuse/1.91/1.el7/x86_64/s3fs-fuse-1.91-1.el7.x86_64.rpm
@nobodyme commented on GitHub (Jun 23, 2023):
Awesome thanks
@gaul commented on GitHub (Jun 25, 2023):
@ggtakec I can reproduce these symptoms on my bucket. I think our integration test might be incorrect. This seems like a major regression and we might need to run a 1.93 release immediately.
@ggtakec commented on GitHub (Jun 25, 2023):
@dnlchen
I had overlooked the following line in your log.
I think you are failing to start the s3fs process.
I think it's probably due to the credential issue for an authentication.
I would like to determine the situation in detail, so could you start with
dbglevel=infoand let me know the s3fs log?@iptizer @nobodyme @jacobtolar
We do not recommend downgrading.
I would like to know more about your situation, so could you tell me the log(start with dbglevel=info) when you start it?
(Please post another issue if you think it has a different cause than this issue.)
Thanks in advance for your assistance.
@ggtakec commented on GitHub (Jun 25, 2023):
@gaul If s3fs can be started, the problem may be caused by modifying the
compat_dirfeature.(However, if you check the first log shown in this issue, s3fs has not started due to authentication issues)
@ggtakec commented on GitHub (Jun 25, 2023):
@iptizer @nobodyme @jacobtolar @gaul
#2190 seems to be the same phenomenon.
@dnlchen commented on GitHub (Jun 27, 2023):
I think that the credential is correct because we've been using the the same IAM role for years and it's working with 1.91. We can see the files in the mount, just cannot see those folders.
@ggtakec commented on GitHub (Jul 2, 2023):
@iptizer @dnlchen @nobodyme @jacobtolar
I merged PR #2204.
I want to check if the cause is the same, so if you can, could you try the latest code(current master branch)?
@gaul commented on GitHub (Sep 8, 2023):
Please test with 1.93 which fixes the directory regression.
@Leonski13 commented on GitHub (Nov 30, 2023):
We are experiencing the same problem that files and folders in a bucket are not shown. The problem occurs only with some folders, not all folders are affected. I have tested with
1.93and1.92. The issue does not appear in1.91