Proxmox backs up to the local disk on mount failure

CCWTech

Well-Known Member
Mar 3, 2020
103
8
58
55
We have a proxmox install that has an external drive mounted to backup using proxmox's built in backup. Once in a while the mount will become disconnected for whatever reason. In this case proxmox starts backing up to the local drive instead. It fills up the local drive and then even email notifications don't work because it can't send the email.

How can we stop this from happening?
 
You can set the is_mountpoint storage property to the mount path, using e.g. pvesm set <name> --is_mountpoint yes.

Quoting from the documentation:
Assume the given path is an externally managed mountpoint and consider the storage offline if it is not mounted. Using a boolean (yes/no) value serves as a shortcut to using the target path in this field.

In any case, I'd also advise to investigate why the disk keeps disappearing - as this should not happen and might indicate hardware failures.
 
Hi

I'm trying to set the same option on an NFS datastore but get the error below.

Any ideas on this? PVE version: 8.4.1.


root@pmx01:~# pvesm status --storage nfs1

Name Type Status Total Used Available %
nfs1 nfs active 19377728 15634432 3743296 80.68%

root@pmx01:~# pvesm set nfs1 --is_mountpoint yes
update storage failed: unexpected property 'is_mountpoint'
Start your own thread, please don't hijack.
 
I'm trying to set the same option on an NFS datastore but get the error below.
Please don't hijack threads with unrelated problems.

In any case - this option only exists for directory and Btrfs storages, not for e.g. NFS. It's not needed for NFS - as the status there can be detected anyway.
 
  • Like
Reactions: CCWTech and mkjaer