#2974·s3fs-fuse

Regression from v1.89 to v1.93 with Hitachi Content Platform (HCP) S3 - Mount failed for double slash HEAD command

Author: JiriDraCreated Sep 23, 2026Updated Sep 23, 2026

Description

There appears to be a regression in s3fs-fuse between v1.89 and v1.93 when mounting a bucket from Hitachi Content Platform (HCP).

The same HCP S3 bucket and the same mount configuration work correctly with s3fs-fuse v1.89.

With s3fs-fuse v1.93, the mount itself succeeds and df shows the filesystem, but accessing the mount point with cd results in:

Input/output error Environment s3fs-fuse: v1.93 Working version: v1.89 OS: CentOS Stream 8 FUSE: 2.9.7 S3 provider: Hitachi Content Platform (HCP) S3 addressing: use_path_request_style HCP S3 endpoint: private/on-premises S3 endpoint

The mount configuration is otherwise identical between v1.89 and v1.93.

Reproduction

Mount the HCP bucket:

s3fs
-o use_path_request_style
-o url=
...

The mount succeeds.

However:

cd

returns:

Input/output error

The filesystem is visible through df.

Important observation

The HCP audit log shows that after accessing the root of the mounted bucket, s3fs-fuse v1.93 sends:

HEAD ///

This request is not generated when using s3fs-fuse v1.89.

The HCP server returns:

HTTP 200 Content-Length: 0

but does not return normal object metadata such as:

ETag Last-Modified Content-Type

For comparison, a normal existing object returns the expected object metadata.

Version comparison

The relevant behavioral difference appears to start with the changes introduced in v1.92.

The v1.92 release introduced:

#1964 - Added stat information to the mount point

The newer implementation of get_object_attribute() performs an S3 HEAD request for the bucket mount point.

For a bucket mount, the source code explicitly constructs:

//

and performs a HEAD request.

The v1.89 implementation handled / locally and returned the mount-point stat information without issuing an S3 HEAD request.

Therefore the observed behavior is approximately:

v1.89:

FUSE getattr("/") | +-- local mount-point stat | +-- return OK

v1.93:

FUSE getattr("/") | +-- get_object_attribute("/") | +-- HEAD // | +-- HCP returns HTTP 200 without object metadata | +-- Input/output error

Possible fixes could be:

Do not perform HEAD // for the bucket mount point and retain the local stat behavior used by v1.89, or gracefully handle a successful HTTP 200 response without object metadata for this special mount-point request, or otherwise avoid converting this valid mount-point operation into EIO. Request

Could you please investigate this as a regression introduced around v1.92 and consider fixing it?

The important point is that the same environment works with v1.89 and fails with v1.93, and the behavior correlates directly with the new HEAD // request introduced for mount-point stat information.

We can provide the full s3fs debug log, HCP HTTP/audit log and exact mount command if required.