Closed Nadrieril closed 3 years ago
Hi! Glad you like it! :)
My /nix
is a btrfs subvolume and I see the same error in my log whether impermanence is used or not, so this is likely a NixOS bug. However, it hasn't (to my knowledge) affected my system negatively in any way.
Hm ok good to know. I think it's trying to unmount /nix from the initrd root so it shouldn't be too bad if that fails.
Do you still have this problem? I am using tmpfs
and also get "failed unmount /nix" error messages. (I have my persisted directories in /nix
).
Yep, still happening!
EDIT: oops I was looking at very old logs, actually it's not happening anymore
I am seeing this error when shutting down. Also on tmpfs
root and with all persisted things under /nix
.
I have tested various filesystem configurations in nixos and I only get this error on shutdown when / is mounted to a tmpfs and /nix is mounted to an xfs partition. ext4, btrfs, zfs, no issues at all with the / mounted to a tmpfs.
I use tmpfs
for root and a LUKS encrypted ext4
partition which is mounted at /nix
, and I still get this error on every shutdown.
I use
tmpfs
for root and a LUKS encryptedext4
partition which is mounted at/nix
, and I still get this error on every shutdown.
I have exactly the same problem.
I am also still having this problem, I think it is only solvable by having a separate partition for persistently stored files.
I just changed my system to have a tmpfs root, and found impermanence amazing! But my
/nix
is bind-mounted and I get the following error on boot:So far everything seems to be working normally, but I don't really know what this means so I hope nothing is broken.