Results 1 to 3 of 3

Thread: NFSv2 under 17.10

  1. #1
    Join Date
    Oct 2016
    Beans
    6

    NFSv2 under 17.10

    Just upgraded my laptop to 17.10 and my normal embedded dev system that happily worked yesterday refuses to boot - it starts from uboot by loading a kernel from an NFS mounted filesystem on the laptop with:

    Loading: *** ERROR: File lookup fail

    poking around with wireshark shows me that it's failing because uboot is asking using NFSv2 and the server on the Ubuntu laptop only supports v3/4, checking in
    /proc/fs/nfsd/versions we get

    -2 +3 +4 +4.1 +4.2

    So how do I turn NFSv2 back on on Ubuntu? searching the net shows lots of examples of now to turn it off, but none for turning it on

  2. #2
    Join Date
    Oct 2016
    Beans
    6

    Re: NFSv2 under 17.10

    OK - I solved this myself - edit /etc/default/nfs-kernel-server

    Change:

    RPCNFSDCOUNT=8

    to:

    RPCNFSDCOUNT="-V 2 8"

    And change:

    RPCMOUNTDOPTS="--manage-gids"

    to:

    RPCMOUNTDOPTS="-V 2 --manage-gids"

    then issue:

    sudo service nfs-kernel-server restart
    Last edited by paul-taniwha; January 2nd, 2018 at 03:40 AM.

  3. #3
    Join Date
    Jan 2010
    Beans
    3

    Re: NFSv2 under 17.10

    Wow, Paul. I could have spent a week on this. THANKS. I upgraded(?) from 16.04 to 18.04 and lost service from my HP to the SPARCstation 10 which runs SunOS 4.1.4. My question of you is do V3, and V4 still work. I've gotta serve each of these.

    And thanks again for getting me started on a solution

    Edit: This fix does not prevent NFSv3 and NFSv4 from working.
    Last edited by j ferguson; December 8th, 2018 at 11:59 PM.

Bookmarks

Posting Permissions

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