Remote NFS NAS used for backup disconnection issues

bellocarico

Member
Sep 17, 2022
56
4
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 ...
 

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!