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

NVMe volume mounts do not persist upon reboot #76

Open
kislyuk opened this issue Nov 6, 2023 · 2 comments
Open

NVMe volume mounts do not persist upon reboot #76

kislyuk opened this issue Nov 6, 2023 · 2 comments

Comments

@kislyuk
Copy link
Owner

kislyuk commented Nov 6, 2023

This happens because systemd interferes with mount -a and unmounts the mountpoint specifies in /etc/fstab:

systemd[1]: dev-xvdz.device: Job dev-xvdz.device/start timed out.
systemd[1]: Timed out waiting for device /dev/xvdz.

The device name /dev/xvdz is a symlink that we create in cloudinit code to the actual device node. This apparently breaks systemd logic and it starts to unmount the device immediately even when we mount it manually after this.

Address this by disabling this systemd mount "helper" behavior.

@kislyuk
Copy link
Owner Author

kislyuk commented Nov 6, 2023

See systemd/systemd#1741

@kislyuk
Copy link
Owner Author

kislyuk commented Nov 6, 2023

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