Skip to content

Input/output error when target is a folder in a bcachefs filesystem #331

@SorrelArticulata

Description

@SorrelArticulata

Bug appeared in last few months, prior to this sshfs and bcachefs had no issues.

When trying to do anything in an sshfs mount:

$ ls remote 
ls: cannot access 'remote': Input/output error

sftp to the same remote folders works perfectly. Target system's kernel is 6.15.6_1 and bcachefs-tools is 1.25.2

Running sshfs with debugging:

$ sshfs destination: remote -o  debug
SSHFS version 3.7.3
executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-2> <destination> <-s> <sftp>
Server version: 3
Extension: posix-rename@openssh.com <1>
Extension: statvfs@openssh.com <2>
Extension: fstatvfs@openssh.com <2>
Extension: hardlink@openssh.com <1>
Extension: fsync@openssh.com <1>
Extension: lsetstat@openssh.com <1>
Extension: limits@openssh.com <1>
Extension: expand-path@openssh.com <1>
Extension: copy-data <1>
Extension: home-directory <1>
Extension: users-groups-by-id@openssh.com <1>
[00001] LSTAT
  [00001]          ATTRS       41bytes (3ms)

^ nothing more is ever printed, might be hanging?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions