[systemd-devel] Mount files in systemd
g4hx
g4hx at gmx.de
Thu May 17 11:28:18 PDT 2012
On 05/17/2012 08:19 PM, Tom Gundersen wrote:
> 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.
Well, I have tried doing that, but if I don't use .mount files with
correct dependencies, the device files are sometimes not yet created
when systemd tries to mount them, so the mounts fail.
>
> Cheers,
>
> Tom
>
More information about the systemd-devel
mailing list