Hi, everyone: I got a strange problem while using the NFS--I cannot mount it even from local machine! The problem is as follow: (my IP is set to
192.168.1.60)------------------------------------------- [root@Lrj-FC ppc]# mount -t nfs 192.168.1.60:/home/lrj/ppc/fs/nfs- root /home/lrj/ppc/mnt/ mount: 192.168.1.60:/home/lrj/ppc/fs/nfs-root failed, reason given by server: Permission denied
----------------------------------------------- And the syslog as follows: /var/log/messages: Apr 12 16:50:32 Lrj-FC iiimd[2342]: status has not been enabled yet. (1, 3) Apr 12 16:50:50 Lrj-FC rpc.mountd: authenticated mount request from Lrj-FCnet:826 for /home/lrj/ppc/fs/nfs-root (/home/lrj/ppc/fs/nfs- root) Apr 12 16:50:50 Lrj-FC rpc.mountd: can't stat exported dir /home/lrj/ ppc/fs/nfs-root: Permission denied
---------------------------------------------------
Here are my config files related to the NFS: /etc/exports: /home/lrj/ppc/fs/nfs-root 192.168.1.60(rw,no_root_squash) /home/lrj/ppc/fs/nfs-root 192.168.1.62(rw,no_root_squash)
/etc/hosts:
192.168.1.62 PPC405EP ppc 127.0.0.1 Lrj-FC localhost.localdomain localhost 192.168.1.60 Lrj-FCnet localnet/etc/hosts.allow: portmap: ALL portmap: 192.168.1.60/255.255.255.0 portmap: 192.168.1.62/255.255.255.0 lockd: ALL mountd: ALL rquatad: ALL statd: ALL
/etc/hosts.deny: NULL
-----------------------------------------------------
Related services: [root@Lrj-FC ppc]# showmount -e Export list for Lrj-FC: /home/lrj/ppc/fs/nfs-root Lrj-FC,PPC405EP,Lrj-FCnet
[root@Lrj-FC ppc]# service nfs status Shutting down NFS mountd: rpc.mountd (pid 3507 2256) is running... nfsd (pid 2244 2245 2246 2247 2248 2249 2250 2251) is running... rpc.rquotad (pid 2242) is running...[root@Lrj-FC ppc]# service portmap status portmap (pid 1872) is running...
-----------------------------------------------
software version: [lrj@Lrj-FC ppc]$ rpm -q nfs-utils nfs-utils-1.0.7-8
[lrj@Lrj-FC ppc]$ uname -r 2.6.11-1.1369_FC4smp-----------------------------------------
I think that there's no problem within my configs. And, my firewall has already been disabled. Then what caused the problem? Thanks for any help or discussions.
Lrj