[Nix-dev] LVM2 support in nixos systemd

Lluís Batlle i Rossell viric at viric.name
Sun Sep 22 12:01:05 CEST 2013


On Sat, Sep 21, 2013 at 08:36:48PM -0700, James Cook wrote:
> 
> I don't know what's going on here, but with my LVM2 setup (not on top
> of raid) I never had to tell NixOS I was using LVM.  grep -Ri lvm
> /etc/nixos returns nothing, and all my logical volumes appear under
> /dev/disk/by-label and /dev/<vg name>

Yes, same here. I think all works, if the devices are prepared at stage1. And
stage1 has all modules for simple lvm volumes, but not for lvm raid.

If anything is not ready at stage1 (thus, systemd has to take care), you need
the lvm2 units.


More information about the nix-dev mailing list