Results 1 to 5 of 5

Thread: nfs networking ills

  1. #1
    Join Date
    Mar 2010
    Beans
    3

    nfs networking ills

    I've got 2 computers one wireless one wired.
    Both running 9.10
    I just had them talking/sharing through nfs.
    Now they still see each other ,but they won't connect.
    This is the message that i get

    mount.nfs: access denied by server while mounting james1:/home/trey

    Any help would be appreciated

  2. #2
    Join Date
    Mar 2010
    Beans
    21

    Re: nfs networking ills

    Quote Originally Posted by lei kalaka View Post
    mount.nfs: access denied by server while mounting james1:/home/trey
    What do the logs say server side? What does your /etc/exports look like?

  3. #3
    Join Date
    Mar 2010
    Beans
    3

    Re: nfs networking ills

    /etc/exports as follows

    # /etc/exports: the access control list for filesystems which may be exported
    # to NFS clients. See exports(5).
    #
    # Example for NFSv2 and NFSv3:
    # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
    #
    # Example for NFSv4:
    # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
    # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
    #

    /home/trey james1(rw)
    as for logs could you specify which one.
    Thanks

  4. #4
    Join Date
    Mar 2010
    Beans
    3

    Re: nfs networking ills

    Okay
    Reconnected
    Had to exportfs again from server
    Had to mount again from client.
    I had assumed that adding /home/trey james1(rw) to /etc/exports in server
    and adding james1:/home/trey /james1/files nfs rw 0 0 in client fstab
    would make this be networked upon boot. Am i wrong?
    How do I make it do that?
    Thanks

  5. #5
    Join Date
    Mar 2010
    Beans
    21

    Re: nfs networking ills

    Quote Originally Posted by lei kalaka View Post
    .
    I had assumed that adding /home/trey james1(rw) to /etc/exports in server
    and adding james1:/home/trey /james1/files nfs rw 0 0 in client fstab
    would make this be networked upon boot. Am i wrong?
    /etc/exports wants a list of client machines that are allowed to mount the directory. It looks like james1 is the hostname of the server, though, not the client. Try replacing "james1" in /etc/exports on the server with the hostname of the client machine.

    Log messages will probably end up in /var/log/messages on the server, but if that turns up empty, grep for "nfs" in /var/log/*.

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
  •