hello,all<br> the kernel is 2.6.20, busybox-1.5.0 and nfs-utils-1.0.10. The configuration on NFS listed below:<br>CONFIG_NFS_FS=y<br>CONFIG_NFS_V3=y<br># CONFIG_NFS_V3_ACL is not set<br># CONFIG_NFS_V4 is not set<br># CONFIG_NFS_DIRECTIO is not set
<br>CONFIG_NFSD=y<br>CONFIG_NFSD_V3=y<br># CONFIG_NFSD_V3_ACL is not set<br># CONFIG_NFSD_V4 is not set<br>CONFIG_NFSD_TCP=y<br>CONFIG_ROOT_NFS=y<br>CONFIG_LOCKD=y<br>CONFIG_LOCKD_V4=y<br>CONFIG_EXPORTFS=y<br>CONFIG_NFS_COMMON=y
<br>CONFIG_SUNRPC=y<br># CONFIG_RPCSEC_GSS_KRB5 is not set<br># CONFIG_RPCSEC_GSS_SPKM3 is not set<br># CONFIG_SMB_FS is not set<br># CONFIG_CIFS is not set<br># CONFIG_NCP_FS is not set<br># CONFIG_CODA_FS is not set<br>
# CONFIG_AFS_FS is not set<br># CONFIG_9P_FS is not set<br><br>the following comes from "ps -e"<br>
705 bin portmap<br>
735 root rpc.statd<br>
739 root rpc.statd<br>
741 root [lockd]<br>
742 root [rpciod/0]<br>
743 root [nfsd]<br>
744 root [nfsd]<br>
746 root rpc.mountd<br>
751 root /sbin/syslogd -n -m 0<br>
752 root /sbin/klogd -n<br>
753 root -bash<br>
762 root rpc.rquotad<br><br>$cat /etc/hosts.allow<br>ALL:ALL<br><br>$cat /etc/exports<br>/tmp *(rw,async,no_root_squash,subtree_check)<br>$cat /var/log/nfs/etab<br>/tmp *(rw,async,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=65534,an)
<br>to my strange, there's no messages in /proc/fs/nfs/exportfs, I don't know if this is the cause.<br>$cat /proc/fs/nfs/exports<br># Version 1.1<br># Path Client(Flags) # IPs<br>when I try to mount the nfs directory in "mount server:/tmp /mnt", the client get "mount:
192.168.0.254:/tmp failed, reason given by server: Permission denied" and the server's log says "getfh failed: Operation not permitted"<br>I have searched for solutions on google, but failed. <br>Thanks in advance.
<br><br>Best regards<br>Kaimi<br>