54e0b0034bd6654c566cb4ae7d4a5953c48cd1ca
As we mount this manually and thus systemd doesn't know about any dependency for cephFS mounts, this got umounted only at the last stage of shutdown, where network wasn't active anymore. But, CephFS needs to be connected to an active MDS for a clean unmount so without network this mount would delay shutdown for quite a bit, until after some minutes systemd gave up and forced unmount. So tell systemd that this mount requires network, which can be done with the '_netdev'[0] mount option, that lucky for us can be also passed to a mount call and isn't only available for fstab. with this a mount gets, among others: > Wants=network-online.target > Before=umount.target remote-fs.target > After=remote-fs-pre.target system.slice network.target network-online.target -.mount Which does the trick for us. [0]: https://www.freedesktop.org/software/systemd/man/systemd.mount.html#_netdev Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Description
with PMEM support!
Languages
Perl
99.3%
Makefile
0.6%