csi-s3 icon indicating copy to clipboard operation
csi-s3 copied to clipboard

ls: reading directory '.': Input/output error

Open romizhang opened this issue 1 year ago • 3 comments

Within RKE2 v1.26, after attach pvc to pod /mnt dir , could visit /mnt ,it showed: ls: reading directory '.': Input/output error

romizhang avatar Jan 28 '24 05:01 romizhang

Have you solved similar problems? Will this project not be maintained

lgy1027 avatar Feb 21 '24 02:02 lgy1027

@romizhang @lgy1027 this is belongs rclone error. Currenly vfs cache mode is write in this csi-s3. Need to add full mode --vfs-cache-mode=full. https://github.com/ctrox/csi-s3/blob/ddbd6fdaa1bd76754df3ea76fba0afe149ebe87d/pkg/mounter/rclone.go#L54

Kamukage3e avatar May 20 '24 09:05 Kamukage3e

@romizhang I'm having a similar issue just when not using the public available fqdn... but the internal endpoint

If i port forward the svc and mount it from my laptop all works... but I fear this component is acting on the node level and not seeing the DNS resolution at the kubernetes level, therefore failing to aim to target when not using the external endpoint

zeph avatar Aug 15 '24 12:08 zeph