[GH-ISSUE #2073] chgrp for mounted directory fails with Input/output error (5) #1050

Closed
opened 2026-03-04 01:50:57 +03:00 by kerem · 3 comments
Owner

Originally created by @MamataKTayade on GitHub (Dec 2, 2022).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2073

Additional Information

Version of s3fs being used (s3fs --version)

v1.90

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

Kernel information (uname -r)

4.15.0-197-generic

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

[root@pod-1669828891 bin]# 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)"

How to run s3fs, if applicable

[] command line
[] /etc/fstab

NA

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

NA

Details about the issue

This issue was observed when using the IBM object storage class(that internally uses s3fs) on Kubernetes cluster v1.22.
The object storage is mounted inside pod like this:

Filesystem              Type       Size  Used Avail Use% Mounted on
...
s3fs                    fuse.s3fs   16E     0   16E   0% /mnt/swift/container-vol-1

The error was seen during rsync cmd being executed(from another source) targeting this directory. But, it is also reproducible by manually executing the cmd.

[root@pod-1669828891 bin]# chgrp 1001 /mnt/swift/container-vol-1
chgrp: changing group of '/mnt/swift/container-vol-1': Input/output error

[root@pod-1669828891 bin]# chgrp 1001 /mnt/swift/container-vol-1/hello.txt
[root@pod-1669828891 bin]# chgrp 1001 /mnt/swift/container-vol-1/world.txt

This works for files inside the bucket but fails for the mounted directory.
There's another similar old issue in a closed state https://github.com/s3fs-fuse/s3fs-fuse/issues/374

Just wanted to know if this is a known limitation or if this has been fixed in the new release.
Thanks.

Originally created by @MamataKTayade on GitHub (Dec 2, 2022). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2073 <!-- -------------------------------------------------------------------------- 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`) <!-- example: V1.91 (commit:b19262a) --> v1.90 #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) <!-- example: 2.9.2 --> #### Kernel information (`uname -r`) <!-- example: 5.10.96-90.460.amzn2.x86_64 --> 4.15.0-197-generic #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) <!-- command result --> [root@pod-1669828891 bin]# 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)" #### How to run s3fs, if applicable <!-- Describe the s3fs "command line" or "/etc/fstab" entry used. --> [] command line [] /etc/fstab <!-- Executed command line or /etc/fastab entry --> ``` NA ``` #### 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. --> ``` NA ``` ### Details about the issue <!-- Please describe the content of the issue in detail. --> This issue was observed when using the IBM object storage class(that internally uses s3fs) on Kubernetes cluster v1.22. The object storage is mounted inside pod like this: ``` Filesystem Type Size Used Avail Use% Mounted on ... s3fs fuse.s3fs 16E 0 16E 0% /mnt/swift/container-vol-1 ``` The error was seen during rsync cmd being executed(from another source) targeting this directory. But, it is also reproducible by manually executing the cmd. ``` [root@pod-1669828891 bin]# chgrp 1001 /mnt/swift/container-vol-1 chgrp: changing group of '/mnt/swift/container-vol-1': Input/output error [root@pod-1669828891 bin]# chgrp 1001 /mnt/swift/container-vol-1/hello.txt [root@pod-1669828891 bin]# chgrp 1001 /mnt/swift/container-vol-1/world.txt ``` This works for files inside the bucket but fails for the mounted directory. There's another similar old issue in a closed state https://github.com/s3fs-fuse/s3fs-fuse/issues/374 Just wanted to know if this is a known limitation or if this has been fixed in the new release. Thanks.
kerem closed this issue 2026-03-04 01:50:57 +03:00
Author
Owner

@ggtakec commented on GitHub (Jan 15, 2023):

@MamataKTayade I'm sorry for my late reply.
You found this problem in V1.90.
If possible, could you try the master code to see if the same problem occurs?
Some bugs have been fixed tu latest code and we would like to know if it still occurs.
Thanks in advance for your help.

<!-- gh-comment-id:1383092303 --> @ggtakec commented on GitHub (Jan 15, 2023): @MamataKTayade I'm sorry for my late reply. You found this problem in V1.90. If possible, could you try the master code to see if the same problem occurs? Some bugs have been fixed tu latest code and we would like to know if it still occurs. Thanks in advance for your help.
Author
Owner

@MamataKTayade commented on GitHub (Jan 30, 2023):

@ggtakec Thank you. It worked on the master code and it seems the latest release 1.91 doesn't have this fix. Do you know when the next release is scheduled?

<!-- gh-comment-id:1408048769 --> @MamataKTayade commented on GitHub (Jan 30, 2023): @ggtakec Thank you. It worked on the master code and it seems the latest release 1.91 doesn't have this fix. Do you know when the next release is scheduled?
Author
Owner

@ggtakec commented on GitHub (Jan 30, 2023):

@MamataKTayade
I can't give a definite date yet, but I'm sorting things out for the release now.
In the meantime, if you can, please try the code on the master branch.
I'll close this issue, but if you have a problem yet, please reopen this.

<!-- gh-comment-id:1408488378 --> @ggtakec commented on GitHub (Jan 30, 2023): @MamataKTayade I can't give a definite date yet, but I'm sorting things out for the release now. In the meantime, if you can, please try the code on the master branch. I'll close this issue, but if you have a problem yet, please reopen this.
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#1050
No description provided.