[GH-ISSUE #862] s3fs writes failing on retention enabled vaults on IBM Cloud object storage #501

Closed
opened 2026-03-04 01:46:09 +03:00 by kerem · 2 comments
Owner

Originally created by @SurjyaHaz on GitHub (Nov 22, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/862

Version of s3fs being used (s3fs --version)
1.84

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

Version : 2.9.2
Release : 11.el7
Architecture: x86_64
Install Date: Wed 21 Nov 2018 12:40:12 AM EST
Group : System Environment/Base
Size : 223297
License : GPL+

Kernel information (uname -r)

3.10.0-957.el7.x86_64

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

NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"

s3fs command line used, if applicable

s3fs -o passwd_file=*** BucketVault /myfolder -o use_path_request_style -o url=https:// -o allow_other -f -o curldbg

Details about issue

I am able to mount the IBM Cloud Object Storage bucket named "BucketVault" using s3fs. However if I enable retention on the bucket on the COS side, the write fails(cp /tmp/t1 to /COSMount). Retention will not allow any modification to an S3 object once it gets created. On trying to copy, s3fs first creates a 0kb file with a 1st PUT api and then issues another PUT which fails because the object storage does not allow to modify the file. If retention is disabled, the writes go through fine. My question is are there any plans to modify s3fs to make writes possible with retention turned on (like do the write with one PUT call) so that the retention feature can be availed.?

Originally created by @SurjyaHaz on GitHub (Nov 22, 2018). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/862 Version of s3fs being used (s3fs --version) 1.84 #### Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse Version : 2.9.2 Release : 11.el7 Architecture: x86_64 Install Date: Wed 21 Nov 2018 12:40:12 AM EST Group : System Environment/Base Size : 223297 License : GPL+ #### Kernel information (uname -r) 3.10.0-957.el7.x86_64 #### GNU/Linux Distribution, if applicable (cat /etc/os-release) NAME="Red Hat Enterprise Linux Server" VERSION="7.6 (Maipo)" ID="rhel" ID_LIKE="fedora" VARIANT="Server" #### s3fs command line used, if applicable s3fs -o passwd_file=*** BucketVault /myfolder -o use_path_request_style -o url=https://<IPAddress> -o allow_other -f -o curldbg ### Details about issue I am able to mount the IBM Cloud Object Storage bucket named "BucketVault" using s3fs. However if I enable retention on the bucket on the COS side, the write fails(cp /tmp/t1 to /COSMount). Retention will not allow any modification to an S3 object once it gets created. On trying to copy, s3fs first creates a 0kb file with a 1st PUT api and then issues another PUT which fails because the object storage does not allow to modify the file. If retention is disabled, the writes go through fine. My question is are there any plans to modify s3fs to make writes possible with retention turned on (like do the write with one PUT call) so that the retention feature can be availed.?
kerem closed this issue 2026-03-04 01:46:09 +03:00
Author
Owner

@SurjyaHaz commented on GitHub (Dec 3, 2018):

Any update on this please?

<!-- gh-comment-id:443706011 --> @SurjyaHaz commented on GitHub (Dec 3, 2018): Any update on this please?
Author
Owner

@gaul commented on GitHub (Jun 23, 2020):

Duplicate of #1013 which has more context.

<!-- gh-comment-id:647882967 --> @gaul commented on GitHub (Jun 23, 2020): Duplicate of #1013 which has more context.
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#501
No description provided.