Talk: LVM

From NixOS Wiki
Jump to: navigation, search

Slight tweaks

1. The lvcreate step under `Create a logical volume` seems slightly incorrect. If it is trying to create a logical volume named "home", that is specified by:

[-n|--name LogicalVolume{Name|Path}]

it is not an implicit argument as shown in the example. (See https://linux.die.net/man/8/lvcreate)


2. The section `Use the Logical Volume` describes writing a declaration under "filesystems", however this is taken care of during installation for example, by nixos-generate-config.

Quoting from the nixos manual:

" Another critical option is fileSystems, specifying the file systems that need to be mounted by NixOS. However, you typically don’t need to set it yourself, because nixos-generate-config sets it automatically in /mnt/etc/nixos/hardware-configuration.nix from your currently mounted file systems. "

Should this section mention that, and link to, or point out that information?

(See https://nixos.org/nixos/manual/#sec-installation-installing, currently towards the bottom of step 4.)


Hey @Addict3d , i think all points are very valid and you can just update the original page. Especially links to official material are always good to have. i will review your changes afterwards --Makefu (talk) 21:06, 28 November 2018 (UTC)