Fwiw, unfs3 works, even though it seems to be dead code, and has been removed from most other desktop distros.

Any ideas on why the kernel version isn't working?

Sincerely,
Karl Palsson


On 05/20/2014 04:37 PM, Karl Palsson wrote:

I've tested this back with the intial pull point of AA and AA's packages, and 
also even the last point of
Backfire, and none of them work.  I see someone else had this problem:
http://comments.gmane.org/gmane.comp.embedded.openwrt.devel/19310 though that 
seems to be more about the
ext4 filesystem, and some web reading suggests that you need the ext4 module 
built in to be able to nfs
export an ext4 filesystem.  That's fine, but I'm not exporting ext4, just the 
jffs2/squashfs root of a
regular openwrt build

Here's my entire diffconfig:
karlp@pojak:~/src/owrt-backfire$ ./scripts/diffconfig.sh
CONFIG_TARGET_atheros=y
CONFIG_TARGET_atheros_Default=y
CONFIG_TARGET_BOARD="atheros"
CONFIG_DEVEL=y
CONFIG_BROKEN=y
CONFIG_PACKAGE_kmod-fs-exportfs=y
CONFIG_PACKAGE_kmod-fs-nfs=y
CONFIG_PACKAGE_kmod-fs-nfs-common=y
CONFIG_PACKAGE_kmod-fs-nfsd=y
CONFIG_PACKAGE_libblkid=y
CONFIG_PACKAGE_libevent=y
CONFIG_PACKAGE_libuuid=y
CONFIG_PACKAGE_libwrap=y
CONFIG_PACKAGE_mount-utils=y
CONFIG_PACKAGE_nfs-kernel-server=y
CONFIG_PACKAGE_nfs-kernel-server-utils=y
CONFIG_PACKAGE_nfs-utils=y
CONFIG_PACKAGE_portmap=y
# CONFIG_TARGET_ROOTFS_JFFS2 is not set
karlp@pojak:~/src/owrt-backfire$


Sincerely,
Karl P


On Tue, May 20, 2014 at 12:19:26PM +0000, Karl Palsson wrote:

I've been fiddling with this on and off for months, I don't need nfs-server 
very often, but I've got
saved notes from this working in the past.  I'm currently building some older 
AA images to see when this
last worked for me, but if anyone has some better ideas, or knows exactly what 
the problem is, that'd be
much appreciated.

NFS _client_ is working just fine, in both AA and current trunk.
my /etc/exports file looks like:

    / *(rw,sync,all_squash,anonuid=0,anongid=0)

restarting nfsd reports the following error:

    exportfs: / does not support NFS export

And then, as expected, /proc/fs/nfsd/exports is empty, and NFS clients fail to 
mount the export.
I know it's not exactly normal to export the entire root like this, but it 
definitely worked in the
past.  I've tried a few other export points, like /usr/lib and /etc, but they 
all fail like that too.
Attempting to export /tmp is a different error: "exportfs: /tmp requires fsid= for 
NFS export" but /tmp
isn't super interesting to me anyway.

Any suggestions?

Sincerely,
Karl P
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to