[systemd-devel] Mount files in systemd

Tom Gundersen teg at jklm.no
Thu May 17 11:19:28 PDT 2012


Hi,

On Thu, May 17, 2012 at 7:54 PM, g4hx <g4hx at gmx.de> wrote:
> How do I include lvm2 based partitions in a technically clean and
> correct way?

The situation is not ideal for lvm on systemd, but enabling
lvm.service (from arch-systemd-units) should work for a basic setup
where lvm is at the bottom of your storage stack (i.e. encryption on
top of lvm will work, but not the other way around).

> Up to now I used the lvm.service file to call lvm2 and a
> .mount file for each mount:

There should be no need to use .mount units, just continue using
/etc/fstab as before.

Cheers,

Tom


More information about the systemd-devel mailing list