mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1086] Unable to update file owner, mode and access-modification time #591
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#591
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 @maheshw-vtas on GitHub (Jul 11, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1086
Additional Information
Version of s3fs being used (s3fs --version)
1.85
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
2.9.3
Kernel information (uname -r)
4.4.73-5-default
GNU/Linux Distribution, if applicable (cat /etc/os-release)
NAME="SLES"
VERSION="12-SP3"
VERSION_ID="12.3"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP3"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp3"
s3fs command line used, if applicable
/usr/bin/s3fs dnd-maheshw5 /mnt -o passwd_file=/etc/passwd-s3fs -o dbglevel="info" -o curldbg
/etc/fstab entry, if applicable
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
s3fs_put_failure.txt
Details about issue
When I try to write large number of small files (size ranging from 50KB to 2MB) on s3fs mount point, for some of the files (1 to 10 files out of approx. 30000 files) I see failures when fchown() or/and fchmod() or/and utimes() functionas are called. I create the file, write data into it and close it.
After that when file owner, file mode, access and modification time are changed using the functions mentioned above, those functions fail with 'Input/output error'. Corresponding PUT failures (HTTP/1.1 404 Not Found) can also be seen in s3fs logs.
If I selectively write the single file (i.e. not as part large number of files) in s3fs mounted bucket and change it's owner, mode, access/modification time then I don't see this problem. Therefore this doesn't seem an issue with a particular file/s. Also when the test was repeated, the files for which PUT failed were different.
Is this expected behavior with large number of small files? Is there any workaround?
Note: For security reasons, I replaced some part in Credential string with XXXXXXXXXXXXXXXXXXXX
s3fs log snippet:
@gaul commented on GitHub (Jul 19, 2019):
It is possible you have encountered eventual consistency, see these limitations:
https://github.com/s3fs-fuse/s3fs-fuse#limitations
That said, we have tests for the behavior you describe and do not see these errors. Do you have a reproduceable test case that you can share?
@gaul commented on GitHub (Feb 3, 2020):
Closing due to inactivity. Please reopen if symptoms persist.