Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #209006 > unrolled thread

sporadic successfull mount of nfs with Stretch

Started byStefan K <shadow_7@gmx.net>
First post2019-05-22 16:40 +0200
Last post2019-05-30 03:10 +0200
Articles 7 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  sporadic successfull mount of nfs with Stretch Stefan K <shadow_7@gmx.net> - 2019-05-22 16:40 +0200
    Re: sporadic successfull mount of nfs with Stretch Keith Bainbridge <ke1th3216@gmail.com> - 2019-05-26 02:50 +0200
      Re: sporadic successfull mount of nfs with Stretch Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-05-27 00:50 +0200
    Re: sporadic successfull mount of nfs with Stretch deloptes <deloptes@gmail.com> - 2019-05-26 20:00 +0200
      Re: sporadic successfull mount of nfs with Stretch Stefan K <shadow_7@gmx.net> - 2019-05-28 12:10 +0200
        Re: sporadic successfull mount of nfs with Stretch Keith Bainbridge <ke1th3216@gmail.com> - 2019-05-30 03:00 +0200
        Re: sporadic successfull mount of nfs with Stretch Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-05-30 03:10 +0200

#209006 — sporadic successfull mount of nfs with Stretch

FromStefan K <shadow_7@gmx.net>
Date2019-05-22 16:40 +0200
Subjectsporadic successfull mount of nfs with Stretch
Message-ID<y0Azn-4nV-1@gated-at.bofh.it>
Hello,

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 [1] and a (re)boot which doesn't mount the shares look like [2].

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?

best regards
Stefan

[1] https://debianforum.de/forum/pastebin/?mode=view&s=40729
[2] https://debianforum.de/forum/pastebin/?mode=view&s=40728

[toc] | [next] | [standalone]


#209153

FromKeith Bainbridge <ke1th3216@gmail.com>
Date2019-05-26 02:50 +0200
Message-ID<y1Pwm-1q9-1@gated-at.bofh.it>
In reply to#209006
On 23/5/19 12:36 am, Stefan K wrote:
> Hello,
> 
> 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 [1] and a (re)boot which doesn't mount the shares look like [2].
> 
> 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?
> 
> best regards
> Stefan
> 
> [1] https://debianforum.de/forum/pastebin/?mode=view&s=40729
> [2] https://debianforum.de/forum/pastebin/?mode=view&s=40728
> 

Stefan

Wonder what would happen if you used the IP address instead of the 
srv-storage?

-- 
Keith Bainbridge

ke1th3216@gmail.com
+61 (0)447 667 468

[toc] | [prev] | [next] | [standalone]


#209194

FromNicholas Geovanis <nickgeovanis@gmail.com>
Date2019-05-27 00:50 +0200
Message-ID<y2a7L-5If-1@gated-at.bofh.it>
In reply to#209153

[Multipart message — attachments visible in raw view] — view raw

Following on Keith's suggestion: If replacing the hostname with the IP
address doesn't help, look at the error rates on the network interfaces.
Especially look for speed mismatches in the Ethernet config at the 2 ends.

On Sat, May 25, 2019, 7:48 PM Keith Bainbridge <ke1th3216@gmail.com> wrote:

> On 23/5/19 12:36 am, Stefan K wrote:
> > Hello,
> >
> > 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 [1] and a (re)boot which doesn't mount
> the shares look like [2].
> >
> > 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?
> >
> > best regards
> > Stefan
> >
> > [1] https://debianforum.de/forum/pastebin/?mode=view&s=40729
> > [2] https://debianforum.de/forum/pastebin/?mode=view&s=40728
> >
>
> Stefan
>
> Wonder what would happen if you used the IP address instead of the
> srv-storage?
>
> --
> Keith Bainbridge
>
> ke1th3216@gmail.com
> +61 (0)447 667 468
>
>

[toc] | [prev] | [next] | [standalone]


#209186

Fromdeloptes <deloptes@gmail.com>
Date2019-05-26 20:00 +0200
Message-ID<y25B8-2R7-3@gated-at.bofh.it>
In reply to#209006
Stefan K wrote:

> I also try to use _netdev as mountoptions, but it didn't work.
> Has anyone an idea how to solve this?

I use defaults,retry=5,_netdev - never had an issue with this. I must admin
I still use init and not systemd. But when testing with systemd I do not
recall having problem. I think I switched back to init after the mounts
were setup. If using systemd, check your dependencies.


regards

[toc] | [prev] | [next] | [standalone]


#209292

FromStefan K <shadow_7@gmx.net>
Date2019-05-28 12:10 +0200
Message-ID<y2Hdo-1hi-5@gated-at.bofh.it>
In reply to#209186
I solved this issue by installing the latest backport kernel



On Sunday, May 26, 2019 7:57:50 PM CEST deloptes wrote:
> Stefan K wrote:
>
> > I also try to use _netdev as mountoptions, but it didn't work.
> > Has anyone an idea how to solve this?
>
> I use defaults,retry=5,_netdev - never had an issue with this. I must admin
> I still use init and not systemd. But when testing with systemd I do not
> recall having problem. I think I switched back to init after the mounts
> were setup. If using systemd, check your dependencies.
>
>
> regards
>
>

[toc] | [prev] | [next] | [standalone]


#209400

FromKeith Bainbridge <ke1th3216@gmail.com>
Date2019-05-30 03:00 +0200
Message-ID<y3hAd-7l9-9@gated-at.bofh.it>
In reply to#209292
On 28/5/19 8:05 pm, Stefan K wrote:
> I solved this issue by installing the latest backport kernel


Stefan

Well done

-- 
Keith Bainbridge

ke1th3216@gmail.com
+61 (0)447 667 468

[toc] | [prev] | [next] | [standalone]


#209401

FromNicholas Geovanis <nickgeovanis@gmail.com>
Date2019-05-30 03:10 +0200
Message-ID<y3hJT-7Ec-5@gated-at.bofh.it>
In reply to#209292

[Multipart message — attachments visible in raw view] — view raw

On Tue, May 28, 2019, 5:06 AM Stefan K <shadow_7@gmx.net> wrote:

> I solved this issue by installing the latest backport kernel
>

So my question would be, did logs indicate that Ethernet autonegotiation
failed with the new-old-bad drivers, but succeed with the backport level?

>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web