Results 1 to 3 of 3

Thread: NFS, Can't figure out what I'm doing wrong

  1. #1
    Join Date
    Aug 2009
    Beans
    79

    Unhappy NFS, Can't figure out what I'm doing wrong

    Hi Folks,

    So I'm trying to setup a PXE boot server, and in the process of that I am trying to setup a NFS share to mount part of what I'm trying to boot to.

    So as a test I am trying to mount a share I have setup logged into the local system.

    my /etc/exports has this:

    Code:
    /var/lib/tftpboot 10.0.0.*(rw,no_root_squash,async,insecure)
    I'm trying the following command (and variant):

    Code:
    mount 10.0.0.48:/var/lib/tftboot test
    
    mount -t nfs4 -o proto=tcp,port=2049 10.0.0.48:/var/lib/tftboot test
    When I try to mount the share, logged in as root (STRICTLY FOR TESTING) I get the following error:

    Code:
    mount.nfs4: access denied by server while mounting 10.0.0.48:/var/lib/tftboot

    Now, I've read multiple howto's on PXE booting, and dealing with NFS shares, and I can't for the life of me figure out what I'm doing wrong. I'm using a default installation of Ubuntu 10.04 in a VM, desktop edition.

    I have run out of ideas, and I would greatly appreciate what help I can get.

  2. #2
    Join Date
    Jul 2011
    Beans
    3
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: NFS, Can't figure out what I'm doing wrong

    But your /etc/exports looks like an old style nfs v3 export.

  3. #3
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: NFS, Can't figure out what I'm doing wrong

    You might look at dnsmasq. I find that it is very, very easy to set up TFTP service with it and have used it extensively for PXE booting. Again, it's very easy to set up.

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
  •