Remote NFS NAS used for backup disconnection issues

bellocarico

Member
Sep 17, 2022
63
6
13
In short:
I use NASes that are accessible remotely (VPN) as a backup for Proxmox resources like VM and LXC.
Defining the NAS as SAMBA = no problem
Defining the NAS as NFS = it lasts until the first VPN hiccups.

As I would prefer to use NFS as it performs much better on many small files I'd like to tackle the issue I'm facing.
Reading online it seems I can make the NFC client be more tolerant to disconnections adding noresvport to the client mounting parameters
https://askubuntu.com/questions/1328834/how-to-reset-nfs-client-after-interrupted-connection

1) where do I specify the client mounting parameters?
2) It would be good is a "force reconnection" could be introduced on the GUI. Currently, I can only remove the NAS and re-add it (or reboot the node which is not convenient)
3) I'm surprised there's no "options" field in the GUI when defining the NAS, but perhaps there's a good reason for that?

Thanks
 
Last edited:
Never heard about nfs mount option "noresvport" which doesn't mean it exists and interessant maybe need any day ...
1) /etc/pve/storage.cfg
nfs: <your_nfs_id_name>
...
options noresvport
...
2) Maybe that button may missing yet but you can do in pve shell "umount -l /mnt/pve/<my_nfs>" and it's automatically remounted by pve service.
3) Missing ...