[systemd-devel] hinting systemd about what to do to make a device appear

Michael Biebl mbiebl at gmail.com
Thu Sep 10 08:51:31 PDT 2015


2015-09-10 12:00 GMT+02:00 martin f krafft <madduck at madduck.net>:
> Hi,
>
> on one of my machines, /srv/backup is an encrypted filesystem
> sitting on top of a DRBD volume. In /etc/crypttab, I thus have
>
>   backup /dev/drbd/by-res/backup none noauto
>
> and then I mount /dev/mapper/backup on /srv/backuppc.
>


drbd requires network access and drdb.service has
DefaultDependencies=yes and is started in multi-user.target.

If this mount point is treated as local file system, maybe it helps to
explicitly mark it as _netdev, so it is started after the network is
available.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list