[Nix-dev] LVM2 support in nixos systemd

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Oct 1 17:06:27 CEST 2013


On 01/10/13 16:07, phreedom at yandex.ru 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>
> vgchange -ay is what finds those volumes and it's enabled by default

Right, but we only do that in the initrd, so it doesn't work for LVM volumes
that only appear in stage 2.

Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/

More information about the nix-dev mailing list