sporadic successfull mount of nfs with Stretch
- Date: Wed, 22 May 2019 16:36:29 +0200
- From: Stefan K <shadow_7@xxxxxxx>
- Subject: sporadic successfull mount of nfs with Stretch
we've some problems with Debian stretch which try to mount nfs4 shares at boot-time, sometimes it works and sometimes not. If its not mounting during start I can mount it after I login without problems.
A successfull (re)boot look like  and a (re)boot which doesn't mount the shares look like .
For me it looks like that it comes to a race condition and it try to mount it without a working networkstack. the /etc/fstab looks like:
srv-storage:/scratch /scratch nfs defaults 0 2
srv-storage:/home /data/home nfs defaults 0 2
I also try to use _netdev as mountoptions, but it didn't work.
Has anyone an idea how to solve this?