mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #2108] Echo command response no erro but failed when s3fs mounted storage volume is full #1072
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#1072
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 @creeew on GitHub (Feb 10, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2108
Additional Information
Version of s3fs being used (
s3fs --version)V1.91
Version of fuse being used (
pkg-config --modversion fuse,rpm -qi fuseordpkg -s fuse)2.9.2
Kernel information (
uname -r)4.19.113-300.el7.x86_64
GNU/Linux Distribution, if applicable (
cat /etc/os-release)CentOS7
How to run s3fs, if applicable
s3fs vol-full /mnt -o passwd_file=/sf/data/local/.passwd-s3fs -o use_path_request_style -o url=http://x.x.x.x:9000 -o curldbg -d -f
Details about issue
Using echo command to create new file when the mounted storage is full, the echo command return successfully with no error.
But using touch command to create new file will retrun error message: touch: failed to close ‘new_file’: Input/output error when mounted storage is full.
We are looking forward to echo command could return error msg when storage is full.
Reproduce
echo failed but no error return:
echo "new file content" > echo_new_file_nametouch failed with error return:
touch touch_new_filetouch: failed to close ‘touch_new_file’: Input/output error
@ggtakec commented on GitHub (Feb 18, 2023):
@creeew
I tried this, but the
echocommand(redirect) as well as thetouchcommand output the same error as below.The s3fs log output at this time is as follows.
Errorno
28meansENOSPC: No space left on device, and I think it correctly recognizes the lack of space.I don't know why this error didn't occur in your box, but I have confirmed that the above error occurs regardless of the command when the disk space is insufficient, so please check your environment.
This issue will be closed, but please reopen it if the problem persists.