Results 1 to 6 of 6

Thread: Trying to install NFSv3 instead of NFSv4 - How to do this?

  1. #1
    Join Date
    Jul 2013
    Beans
    4

    Trying to install NFSv3 instead of NFSv4 - How to do this?

    Hello everyone,

    I'm not brand new to linux, but it has been awhile.

    I recently stumbled upon the virtues of using NFS instead of Samba for sharing with XMBC on an ATV2. I'm not here to understand how to get the ATV2 working... that part I think I'm good. Have had it working with SMB for over a year.

    However what I am at a loss is knowing how to setup a proper NFSv3 configuration given I understand the release of XBMC v12.1 Frodo that I'm using doesn't support NFSv4 natively. Specifically it relates to: Xbmc does support NFS natively via libnfs, but only NFSv3. If that helps with specifics, even better.

    Some background:

    • Running Ubuntu 11.10
    • Already followed the instructions how to install NFSv4
    • Wondering if I need to uninstall NFSv4, and how to do that?


    So here I am, after searching several articles... including some Ubuntu How-to's that always refer to the newer NFSv4, and makes some references to v3, saying it's more difficult etc etc. Really have no idea how to configure for v3 if that's exactly what I desire.

    So appreciate any references you may have, or can point me in the right direction. In addition any long list of command lines, would be great to know the meaning behind them as well, why they are edited, why the context as well. Hoping to learn a tad about NFS as well.

    Just as a point of reference, my current /etc/exports is listed as such:

    Code:
    /export         192.168.0.1/24(rw,all_squash,insecure,no_subtree_check)
    /export/movies  192.168.0.1/24(rw,all_squash,insecure,no_subtree_check)
    /export/tv      192.168.0.1/24(rw,all_squash,insecure,no_subtree_check)
    Warm regards,
    -ped5
    Last edited by ped5; July 7th, 2013 at 10:01 PM.

  2. #2
    Join Date
    Jul 2013
    Beans
    4

    Re: Trying to install NFSv3 instead of NFSv4 - How to do this?

    Bump.
    Not urgent but any direction would be appreciated.

  3. #3
    Join Date
    Jul 2013
    Beans
    4

    Re: Trying to install NFSv3 instead of NFSv4 - How to do this?

    Either the question is obviously stupid or extremely difficult. No one have any idea? Or perhaps post on another sub forum? Thanks.

  4. #4
    Join Date
    Oct 2006
    Location
    Ayrshire.
    Beans
    54,614
    Distro
    Ubuntu Development Release

    Re: Trying to install NFSv3 instead of NFSv4 - How to do this?

    Quote Originally Posted by ped5 View Post
    Either the question is obviously stupid or extremely difficult. No one have any idea? Or perhaps post on another sub forum? Thanks.
    You may be an absolute beginner but the question is absolutely not an absolute beginner question, so would probably be better suited elsewhere. Do you wish it moved ?

  5. #5
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    12,983
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: Trying to install NFSv3 instead of NFSv4 - How to do this?

    Install nfs-kernel-server, then look at /etc/default/nfs-kernel-server. Edit the entry for RPCMOUNTDOPTS like this:

    Code:
    RPCMOUNTDOPTS="--manage-gids --no-nfs-version 4"
    Then issue "sudo service nfs-kernel-server restart". Your server should now be using version 3.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  6. #6
    Join Date
    Jul 2013
    Beans
    4

    Re: Trying to install NFSv3 instead of NFSv4 - How to do this?

    Quote Originally Posted by howefield View Post
    You may be an absolute beginner but the question is absolutely not an absolute beginner question, so would probably be better suited elsewhere. Do you wish it moved ?
    Fair enough. You can move it to the appropriate forum.

    Quote Originally Posted by SeijiSensei View Post
    Install nfs-kernel-server, then look at /etc/default/nfs-kernel-server. Edit the entry for RPCMOUNTDOPTS like this:

    Code:
    RPCMOUNTDOPTS="--manage-gids --no-nfs-version 4"
    Then issue "sudo service nfs-kernel-server restart". Your server should now be using version 3.
    Great, will give this a shot. Didn't know I had replies until the forum came back up.

    Cheers to you both.

Tags for this Thread

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
  •