ctrox/csi-s3

Mounts are down if CSI restart happens

Opened this issue · 2 comments

Hello, when CSI container mounts buckets it launchs mount daemons (when execute s3fs mount command for example)
But if container died daemons in container died also and mounts will be failed.
Can you tell me, what can be done with this?
Thanks for any help

ctrox commented

Yeah I'm aware of this. I'm looking for a workaround but this might be pretty difficult to solve as all the mounting happens in user space (fuse) and because of the stateless nature of a CSI driver it is not really possible to simply remount everything after a restart.

lxzjd commented

I have a solution,mount host's systemd to the csi container,use the mount using the systemd-run command in the container.