[SOLVED] Where does Proxmox save its mounts?

tobby

Active Member
Feb 21, 2017
20
3
43
35
When I create/add storages via the GUI (for example via Disks | Directory) then this devices are mounted automatically after a restart - without an entry in /etc/fstab?

Where does Proxmox save this mounts and options? Is it possible to change mount options?
 
Hi,
the disks are mounted via systemd .mount config files. You can find them in /etc/systemd/system/ and by editing you could also edit the mount options.
 
  • Like
Reactions: tobby
the disks are mounted via systemd .mount config files. You can find them in /etc/systemd/system/ and by editing you could also edit the mount options.
Hi. Is this path only for user's manual mount disks? Because I couldn t see system's disks except the one I created (see below mnt-pve-extusb.mount)
1659643263991.png
 
systemd supports both .mount units in all the usual places and /etc/fstab entries (for which transient .mount units will be generated automatically in the background).

e.g., you can do the following to see all the mount units and where they come from:
systemctl list-units "*.mount" and then look at individual units with systemctl show UNIT_NAME or systemctl cat UNIT_NAME
 

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!