mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1695] Issues with renaming file over top of existing file. #878
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#878
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 @dukey on GitHub (Jun 21, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1695
Additional Information
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
Version of s3fs being used (s3fs --version)
example: 1.00
V1.89
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
example: 2.9.4
2.9.2
Kernel information (uname -r)
command result: uname -r
3.10.0-1160.25.1.el7.x86_64
GNU/Linux Distribution, if applicable (cat /etc/os-release)
command result: 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"
s3fs command line used, if applicable
/etc/fstab entry, if applicable
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
Details about issue
I/O errors when renaming a {filename.ext}tmp over top of an existing {filename.ext} file. This only occurs with some files. Files in question are in EXR format, but can not be shared.
@gaul commented on GitHub (Jun 21, 2021):
Is the object smaller than the error message size?
Do you use AWS or another S3 implementation?
@dukey commented on GitHub (Jun 22, 2021):
This is using AWS S3.
The S3 object sizes for the two files match the file sizes as reported by ls.
The object size in the error (29804360) matches the source file in the move. The destination file is 1 byte larger (in this case)
I can re-create the problem by doing the following:
create test.dat size=29804361 bytes
create test.dat.tmp size=29804360 bytes
mv test.dat.tmp ftest.dat
output:
mv: cannot move ‘test.dat.tmp’ to ‘test.dat’: Input/output error
@ggtakec commented on GitHub (Jun 25, 2021):
@dukey Thank you for the detailed bug information.
I confirmed the code of the problem and posted a PR #1698.
Please wait a moment for the code to be merged.