Skip to content

mounting disk fails #1201

Answered by jepio
till asked this question in Q&A
Oct 6, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @till

from https://www.freedesktop.org/software/systemd/man/systemd.mount.html:

Mount units must be named after the mount point directories they control. Example: the mount point /home/lennart must be configured in a unit file home-lennart.mount. For details about the escaping logic used to convert a file system path to a unit name, see systemd.unit(5). Note that mount units cannot be templated, nor is possible to add multiple names to a mount unit by creating symlinks to its unit file.

So you need to name your unit var-lib-k0s.mount

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@till
Comment options

Answer selected by till
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants