Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-mount volumes on a restart or update #27

Open
olevski opened this issue Sep 4, 2024 · 2 comments
Open

Re-mount volumes on a restart or update #27

olevski opened this issue Sep 4, 2024 · 2 comments

Comments

@olevski
Copy link
Member

olevski commented Sep 4, 2024

Currently we use the rclone daemon which needs to be running to keep the fuse mounts for storage working. When the daemon dies all mounts on the node that were mounted by the daemon are dead.

This is a huge problem where any interruption to the node servers results in many users of the driver to be suddenly left without access to the volumes they mounted.

We need to add some code that at startup will check all volumes that use csi-rclone and remount them if necessary. This way restarts or upgrades should result only in a short-lived interruption of access to mounted data.

@olevski
Copy link
Member Author

olevski commented Feb 6, 2025

So I did a bit of googling on this. If it is possible to just get the os to remount things on restart. I found these things that may be useful:

The wiki on the rclone repo is the most relevant. The two issues have background on the request for remounting things at startup and all that.

@olevski
Copy link
Member Author

olevski commented Feb 22, 2025

Another good discussion: kubernetes/kubernetes#70013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant