NFS soft mount option, not working(?)

vcp_ai

Renowned Member
Jul 28, 2010
177
5
83
Valencia -Spain-
Hi, I'm running PVE 3.4.13

Backups go to an NFS server and it is not quite reliable, so I'm using (trying to use) NFS soft mount option, but from time to time, systems gets hung during night backup ..

cat /etc/pve/storage.cfg
....
nfs: nfs-omv-23
path /mnt/pve/nfs-omv-23
server 192.168.122.23
export /export/backups
options vers=3,soft
content backup
maxfiles 3​
....
Results of mount :
......
192.168.122.23:/export/backups/ on /mnt/pve/nfs-omv-23 type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.122.23,mountvers=3,mountport=48130,mountproto=udp,local_lock=none,addr=192.168.122.23)
....
So it looks that it is mounting it with hard option, not soft.
Any hint ?
Regards
 
Option was added al least two years ago.
System has failed lot of times since them, and most of the times, only way was to reboot it.

I've just rebooted the system and now it is mounted as soft:
192.168.122.23:/export/backups/ on /mnt/pve/nfs-omv-23 type nfs (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.122.23,mountvers=3,mountport=48130,mountproto=udp,local_lock=none,addr=192.168.122.23)

Do not understand what is the process(inside PVE) to mount a NFS share, but is there any chance that when a failure occurs in NFS, soft option is ignored and new mount gets 'hard', so next failure of NFS will hung the system ??

Regards