I had the similar problem but didn't find any suitable solution. I only can give some workarounds:
Create unit files for each volume you want to mount. E.g.
[Unit] Description=Start home [Service] Type=oneshot RemainAfterExit=yes ExecStart=/bin/mount /dev/mapper/vg-home ExecStop=/bin/umount /dev/mapper/vg-home [Install] WantedBy=local-fs.target Or add `x-systemd.device-timeout` option to your fstab mount rules. E.g. ``` UUID=d276a0d4-c95f-4792-a222-6d1451899de2 /home ext4 noatime,x-systemd.device-timeout=60s,errors=remount-ro 0 1 ``` This will give systemd some time to do the work.
Official workaround from OpenSuse [Devices time out at boot time but appear later][2]
EDIT:
Also you can play around with: ``` [Install]
Or add x-systemd.device-timeout option to your fstab mount rules. E.g.
UUID=d276a0d4-c95f-4792-a222-6d1451899de2 /home ext4 noatime,x-systemd.device-timeout=60s,errors=remount-ro 0 1 ```This will give systemd some time to do the work.
For trigger unit file. Official workaround from OpenSUSE: Devices time out at boot time but appear later
EDIT:
Also you can play around with:
[Install] WantedBy=dev-mapper-vg\x2dhome.device To get escaped path use [systemd-escape][3] For trigger unit file.
To get escaped path use systemd-escape