Rename mountpoint

Afox

Renowned Member
Dec 18, 2014
257
13
83
Hello,
I mounted a disk for testing at e.g. /mnt/pve/example and now can´t rename that mountpoint anymore via GUI. Is it possible anyway? if yes, how?

Thanks in advance,

Afox
 
hi.

go to:

container -> resources -> choose mountpoint -> edit -> change the path
 
hi, thank you. Maybe I missunderstand the answer but I was talking about a physical disk that I first initialized with GPT and then created a directory on node-level.
Regards,
Afox
 
if it's a directory storage you should be able to just remove it from the gui and create one with a new name and same directory
 
If you want to change the mount directory for the automount, you can do so in /etc/systemd/system/mnt-pve-{name}.mount on the affected node.
Create the new directory and then restart the node (or manually umount/mount once).

Keep in mind that any changes to the mount point have to be manually applied to storages, as oguz mentioned above (alternatively you can manually change the path in /etc/pve/storage.cfg).