-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add "dm-snapshot" to kernelModules? #33646
Comments
I managed to boot my system by booting into a live USB OS, and then removing the snapshot |
Perhaps |
Perhaps nixos-generate-config could detect LVM and add this setting automatically? |
I can confirm that adding |
Step 1, LVM detection. Here is an idea: Step 2. update nixos-generate-config. |
Without this, the system becomes unbootable if the user creates a LVM snapshot and reboots. Fixes NixOS#33646 (The same kind of problem was fixed in RHEL a few years back: https://bugzilla.redhat.com/show_bug.cgi?id=1287940)
Without this, the system becomes unbootable if the user creates a LVM snapshot and reboots. Fixes #33646 (The same kind of problem was fixed in RHEL a few years back: https://bugzilla.redhat.com/show_bug.cgi?id=1287940)
Without this, the system becomes unbootable if the user creates a LVM snapshot and reboots. Fixes #33646 (The same kind of problem was fixed in RHEL a few years back: https://bugzilla.redhat.com/show_bug.cgi?id=1287940) (cherry picked from commit 4213e48)
Issue description
After creating an LVM snapshot, system doesn't boot.
Steps to reproduce
I took an LVM snapshot when running my system:
Rebooted my system at some point later and got stuck in the boot with error something like:
snapshot target support missing from kernel
. I suppose it's becausemodprobe dm-snapshot
isn't run. How can I make my system load that automatically?This is probably related: https://bugzilla.redhat.com/show_bug.cgi?id=1287940
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
The text was updated successfully, but these errors were encountered: