Storage attached via NFS: maintenance procedure

digidax

Renowned Member
Mar 23, 2009
104
1
83
Hi there,

I'm using a NFS export as storage for VM/CT backups. Working well. Now, for maintenance, the server which provides the NFS export hast to be reboot.
What would be the best way, to tell the nodes, that this export is temporary not available? A backup is not planned during this time.

So I would deactivate this storage in the data center setting, then reboot the NFS server and after the exports are available, enable the storage in the data center settings.

Is this procedure right? I want to prevent any issues with NFS like stolen shares, device is busy ...

Thanks for any help, Frank
 
Hello :D

I've used in many type of usage NFS with proxmox. You need to enderstand how proxmox check theses storages. Simply, proxmox scan every modification of the file /etc/pve/storage.cfg.

Modifying with WebUI or CLi have only one difference when you're not on a standalone Proxmox VE cluster.
In your case, because you do not have any backup task during time when you want to reboot your NFS server, you can safely restart it without any modifications of your cluster configuration(standalone or clustered instances).

Generally, in case of need of reboot a NFS datastore, juste stop every actions on (shut down VM, umount ISO files from configurations files of VMs, no IO tasks on), and the reboot will be safe.

BEst regards :)

PS: have a small english, sorry for that