NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.62k stars 13.77k forks source link

Renaming zpool / dataset and back breaks boot under some circumstance #62908

Open deliciouslytyped opened 5 years ago

deliciouslytyped commented 5 years ago

I renamed my root zpool and dataset using export-import-export for the zpool and zfs rename for the dataset. I forgot to do a nixos-rebuild switch after changing my configuration files to support the new configuration, so I renamed everything back.

This somehow broke my grub and I couldn't get back to the nixos grub menu.

Importing and exporting the zpool on the livecd seems to be what fixed the problem in the end, I don't know what's going on. I have not had time to make a reproducer.

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.