Results 1 to 7 of 7

Thread: exportfs: Warning: /path/to/dir does not support NFS export.

  1. #1
    Join Date
    May 2010
    Beans
    9

    Question exportfs: Warning: /path/to/dir does not support NFS export.

    hi,

    exportfs outputs the following error upon restart or after editing /etc/exports.

    Code:
    'exportfs: Warning: /exports does not support NFS export.'
    here is my info and configs.

    http://lfitz.bravehost.com/nfs-error.html

    -----------------

    On second thought, here is the contents of the webpage.

    Start with: apt-get install nfs-kernel-server

    Ubunut 9.04 (Jaunty) Server
    Kernel: 2.6.30.2 #11
    Arch: ARMv5 on SheevaPlug
    Error output: exportfs -rav OR /etc/init.d/nfs-kernel-server restart

    exporting 10.0.0.100:/exports
    exportfs: Warning: /exports does not support NFS export.
    Server Info: ls -la /exports

    total 12
    drwxr-xr-x 5 root root 352 Jul 7 00:07 .
    drwxr-xr-x 21 root root 1376 Jul 7 13:24 ..
    drwxr-xr-x 3 root root 4096 Jul 7 00:06 ftproot
    drwxr-xr-x 12 lfitz lfitz 4096 Jul 8 00:19 lfitz
    drwxr-xr-x 2 root root 4096 Jul 6 20:38 webroot
    cat /etc/exports

    /exports 10.0.0.100(rw,sync,no_subtree_check,nohide,fsid=0)
    /exports/lfitz satellite(rw,sync,no_subtree_check,nohide)
    /exports/ftproot satellite(rw,sync,no_subtree_check,nohide)
    /exports/webroot satellite(rw,sync,no_subtree_check,nohide)

    mount -l

    ...snip...

    rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
    nfsd on /proc/fs/nfsd type nfsd (rw)
    /dev/mmcblk0 on /mnt/storage type ext2 (rw) [sheeva-storage]
    /mnt/storage/webroot on /exports/webroot type none (rw,bind)
    /mnt/storage/ftproot on /exports/ftproot type none (rw,bind)
    /mnt/storage/lfitz on /home/lfitz type none (rw,bind)
    /mnt/storage/lfitz on /exports/lfitz type none (rw,bind)

    cat /etc/hosts.allow

    nfsd: 10.0.0.100
    portmap: 10.0.0.100
    mountd: 10.0.0.100

    Client Info: cat /etc/fstab

    sheeva:/ /mnt/sheeva nfs4 rw 0 0
    sheeva:/lfitz /mnt/sheeva/lfitz nfs4 rw 0 0
    sheeva:/ftproot /mnt/sheeva/ftproot nfs4 rw 0 0
    sheeva:/webroot /mnt/sheeva/webroot nfs4 rw 0 0
    mount -a

    mount.nfs4: mounting sheeva:/exports/lfitz failed, reason given by server:
    No such file or directory
    mount.nfs4: mounting sheeva:/exports/ftproot failed, reason given by server:
    No such file or directory
    mount.nfs4: mounting sheeva:/exports/webroot failed, reason given by server:
    No such file or directory
    Basically, the server will not export the directory /exports. Is there anyway to fix this?
    Last edited by lfitz; July 9th, 2010 at 02:42 AM. Reason: added contents of webpage to post.

  2. #2
    Join Date
    Feb 2010
    Beans
    18

    Unhappy Re: exportfs: Warning: /path/to/dir does not support NFS export.

    Same here. Cannot get my NFS to work this way. I am on Lucid Lynx.

  3. #3
    Join Date
    Jun 2007
    Beans
    1,941

    Re: exportfs: Warning: /path/to/dir does not support NFS export.

    Perhaps the bind mount is the issue...? I'm not sure. What are you doing that's similar to the OP?

    And to the OP, did you ever sort this out?

  4. #4
    Join Date
    Dec 2009
    Beans
    10
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: exportfs: Warning: /path/to/dir does not support NFS export.

    I was just having the same problem and stumbled upon this post. I am able to use NFS with several folders, but not on a folder in my home directory. My guess now is that it's because I have an automatically encrypted home folder...

    When I created another folder outside my home folder (i.e., change /home/user/folder to /home/folder) it worked just fine.

    I'm using both ext3 and ext4 for the shares, btw.

  5. #5
    Join Date
    Nov 2010
    Beans
    5

    Re: exportfs: Warning: /path/to/dir does not support NFS export.

    I have a similar problem on a sheevaplug. For me the root cause is that the main nfs4 export directory is situated on an ext4 filesystem. If I move it to an ext3 filesystem all problems are gone. It is fully described in following debian bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602956

  6. #6
    Join Date
    Mar 2011
    Beans
    1

    Re: exportfs: Warning: /path/to/dir does not support NFS export.

    Although my 10.04.1 LTS server complains the same:
    exportfs: Warning: /var/lib/vmware/Virtual Machines does not support NFS export.
    ...done.
    * Starting NFS kernel daemon
    ...done.
    It works nonetheless: my 10.10 desktop client connects without any troubles!

    (let me note: all these systems run on intel CPUs)

  7. #7
    Join Date
    May 2011
    Beans
    1

    Re: exportfs: Warning: /path/to/dir does not support NFS export.

    I was having this exact same problem. In my case I was trying to export a directory that was already mentioned in my autofs configuration (specifically /etc/auto.direct). This was because I'm migrating files between two servers and I forgot to delete auto mounts from my "New" file server.

    Removing the directory from /etc/auto.direct.

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
  •