Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: NFS mount fails after last kernel update (12.3)

  1. #1

    Default NFS mount fails after last kernel update (12.3)

    Hello,

    Since the last kernel update (I suppose, at least), NFS is broken on 2 of my boxes. Both are OpenSUSE 12.3 64bit. Both had NFS working fine until last week or something.

    Current kernel is Linux tycho.heron.net 3.7.10-1.28-desktop #1 SMP PREEMPT Mon Feb 3 14:11:15 UTC 2014 (c9a2c6c) x86_64 x86_64 x86_64 GNU/Linux.

    Trying to mount the NFS share manually gives this error message:

    tycho:~ # mount /data
    mount.nfs: mount system call failed

    And the following is logged in /var/log/messages:

    2014-02-15T09:58:09.342154+01:00 tycho kernel: [ 2415.118850] NFS: nfs4_discover_server_trunking unhandled error -2. Exiting with error EIO

    Yes, rpcbind is running and the nfs kernel modules are loaded. I've not changed the definition of the NFS targets in fstab on either machine. Also, one of them is a laptop that I use on different networks (home and office), and the NFS mounts fail in both environments.

    Anyone else seen this ?

    TIA

    Cheers. Bye.

    Ph. A.

  2. #2
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: NFS mount fails after last kernel update (12.3)

    Yes, it was reported multiple times and for different distros. It would be good if someone who experiences it and can provide information opened bug report for openSUSE. If you do it, post number here.

    In the meantime the simplest workaround is to force NFSv3 (option vers=3) unless you really need NFSv4.

  3. #3

    Default Re: NFS mount fails after last kernel update (12.3)

    Thanks for the tip. It works.

    Yes, I will open a bug report.

    Ph. A.

  4. #4

    Default Re: NFS mount fails after last kernel update (12.3)

    Here is a bugreport about it:
    https://bugzilla.novell.com/show_bug.cgi?id=811746
    With kernel 3.7.10-88.gabf8346 (KOTD) the problem is solved (NFSv4 -> NFSv3 autonegotiation).

    Open problem: NFSv3 fallback when NFS-server is UDP only:
    https://bugzilla.novell.com/show_bug.cgi?id=863749

    I both cases the work-around is to add nfsvers=3 to the mount options.



  5. #5
    Join Date
    Sep 2012
    Posts
    7,096

    Default Re: NFS mount fails after last kernel update (12.3)

    Quote Originally Posted by Kieltux View Post
    Here is a bugreport about it:
    https://bugzilla.novell.com/show_bug.cgi?id=811746
    With kernel 3.7.10-88.gabf8346 (KOTD) the problem is solved (NFSv4 -> NFSv3 autonegotiation).

    I'm not convinced it is the same bug.

  6. #6

    Default Re: NFS mount fails after last kernel update (12.3)

    Just submitted bug:

    https://bugzilla.novell.com/show_bug.cgi?id=864172

    (didn't see previous post -- will look at the other bug).

  7. #7

    Default Re: NFS mount fails after last kernel update (12.3)

    It looks like this is indeed a regression in NFS version autoneg brought about by some of the fixes included in 3.7.10-1.28.

    See: https://bugzilla.novell.com/show_bug.cgi?id=811746#c9

  8. #8

    Default Re: NFS mount fails after last kernel update (12.3)

    If you considder upgrading from 12.3 to 13.1. I think nfs v4 in 13.1 is broken as well, I filed a bug report as well.
    https://bugzilla.novell.com/show_bug.cgi?id=862131

  9. #9
    Join Date
    Jun 2008
    Location
    Sogndal, Noreg
    Posts
    1,103

    Default Re: NFS mount fails after last kernel update (12.3)

    NFS works fine on 3 computers I have set-up as file-sharing servers on OS 13.1, so I would not agree proposing this as the general picture; these servers machines also work as clients. I manually mount them all though so the operational procedure might be different from yours, but they all do work. I have a forth machine running SuSE 9.1 as a NFS server on the LAN, and the three clients running 13.1 communicates quite fine that one as well.

    Olav
    OpenSuSE 13.1, KDE 4.11.5, 64bit
    Gigabyte 990FXA-UD3, AMD FX8350, MSI GeForce GTX 760, RME HDSP9632, 16GB HyperX Kingston DDR3, Samsung 840-Pro SSD 128GB, WD Desktop Black 1TB, Hitachi Deskstar 7K1000 750GB

  10. #10

    Default Re: NFS mount fails after last kernel update (12.3)

    Quote Originally Posted by F_Sauce View Post
    NFS works fine on 3 computers I have set-up as file-sharing servers on OS 13.1, so I would not agree proposing this as the general picture; these servers machines also work as clients. I manually mount them all though so the operational procedure might be different from yours, but they all do work. I have a forth machine running SuSE 9.1 as a NFS server on the LAN, and the three clients running 13.1 communicates quite fine that one as well.

    Olav
    NFS4 or earlier? Do you use any NFS4 specific features?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •