刚学linux一个多月,还是菜鸟一个。。。搞了半天了。nfs挂载文件失败,根据上网看的修改了一下,还是错,实在想不出来啊!!大家救救我啊。iptables关了,nfs、rpcbind、portmap都开启成功,
gedit /etc/exports修改内容如下:
/opt/FriendlyARM/mini210s/linux/rootfs_qtopia_qt4 192.168.* (rw,sync,no_root_squash)
/home 192.168.* (rw,sync,no_root_squash)
/ *(rw)
[root@shaojun /]# mount -t nfs localhost:/home /mnt
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
[root@shaojun /]# mount -t nfs localhost:/home /mnt -o nolock
mount.nfs: mount to NFS server 'localhost:/home' failed: RPC Error: Program not registered