[OT] mount with systemd, right

grefabu

Well-Known Member
May 23, 2018
252
18
58
51
Hi,

I've a system with used an HP MSA with multipath and gfs2 as file system, see:

https://forum.proxmox.com/threads/playing-arround-with-proxmox-and-hp-msa-p2000.102893/

I still've an problem with mount the devices automaticly.

I want to mount the devices with systemd and 've now following unit:
Code:
[Unit]
Description=Mount MSA vd01_v001

[Mount]
Type=gfs2
What=/dev/mapper/vd01v001
Where=/mnt/vd01_v001

[Install]
WantedBy=multi-user.target

The dependencies shoult multipath and corosync (for gfs2).
It the mounts are used by pve as an directory storage.

I'm not shure, what I need for dependencies I've to add to the unit file, that the mount work automaticly.

Bye

Gregor