ctrox / csi-s3

A Container Storage Interface for S3
Apache License 2.0
798 stars 174 forks source link

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

Open romizhang opened 9 months ago

romizhang commented 9 months ago

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

lgy1027 commented 8 months ago

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

Kamukage3e commented 5 months ago

@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

zeph commented 2 months ago

@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