[OT] mount with systemd, right

grefabu

Well-Known Member
May 23, 2018
240
14
58
50
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!