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
Support mounting dm-init file systems in the initrd #13618
Comments
|
Not grokking this... For dm related questions its best to get some DM people involved... |
|
Here is a script to set up an example, if it helps. So if you have a kernel with The first issue is that systemd waits forever for |
|
it appears the default DM udev rules don't cover this stuff. please ping the DM folks about this, I doubt there's much to do from our side on this, we just pick up any block device marked to be ready. |
|
I e-mailed dm-devel a month ago which was unhelpful, so I'll just close this and continue to carry workarounds until I can look into doing something better. |
Is your feature request related to a problem? Please describe.
When using device mapper with dm-mod.create, the kernel only creates
/dev/dm-0--not/dev/mapper/$name--so systemd can't mount it due to device path canonicalization (and waiting on the.deviceunit).Describe the solution you'd like
I want to be able to specify
root=/dev/dm-0 dm-mod.create="..."and have the system successfully boot.Describe alternatives you've considered
It works by adding a new service to the initrd that runs
udevadm triggerto create the nodes, but isdm-mod.createsomething that could be supported out of the box?The text was updated successfully, but these errors were encountered: