LVM: Difference between revisions

imported>Mic92
imported>Mic92
Line 21: Line 21:


=== Use the Logical Volume ===
=== Use the Logical Volume ===
in your `configuration.nix`:
in your <code>configuration.nix</code>:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
Line 29: Line 29:
};
};
</syntaxHighlight>
</syntaxHighlight>
== Special LVM Modes ==
== Special LVM Modes ==
LVM provides a number of special features such as creating snapshots, raid for single Logical Volumes and much more. If you want to use these devices on bootup, the associated <code>dm-*</code>  kernel module must be provided in the initrd (see for example {{Issue|33646}}) . This is a non-exhaustive list of features and the corresponding kernel module to put into your <code>configuration.nix</code>:
LVM provides a number of special features such as creating snapshots, raid for single Logical Volumes and much more. If you want to use these devices on bootup, the associated <code>dm-*</code>  kernel module must be provided in the initrd (see for example {{Issue|33646}}) . This is a non-exhaustive list of features and the corresponding kernel module to put into your <code>configuration.nix</code>: