[Nix-dev] LVM troubles
Lluís Batlle i Rossell
viric at viric.name
Mon Apr 22 08:26:25 CEST 2013
On Sun, Apr 21, 2013 at 07:29:22PM +0200, Rickard Nilsson wrote:
> Hi,
>
> I noticed today that my NixOS system that uses LVM on top of mdadm RAID
> doesn't boot. It seems the LVM volumes are not activated. The NixOS init
> says something about "starting LVM" and then it immediately starts looking
> for the root device, which fails. If I try booting an older generation
> (nixos-0.2pre-d99fce2-930e4d5), it prints that it found a number of lvm
> volumes before starting to scan for the root device.
>
> Has something changed regarding LVM in NixOS lately (the last two months
> or so) which might cause this behavior? Do I need to add any extra kernel
> module include something LVM-related in the initrd?
I built my nixos yesterday, and all worked fine. I didn't notice any change.
Here I use root+nix over luks over lvm.
> I realise now, that just doing "nixos-rebuild switch", and not rebooting
> the system every once in a while, can be risky...
Well, old generations did work, didn't they?
More information about the nix-dev
mailing list