- 论坛徽章:
- 0
|
我是这样添加的,各位大哥,看看那里了错了,用root用户还是访问不了。
# showmount -e 10.15.12.229 //查看NFS服务器有共享目录
export list for 10.15.12.229:
/vpshare (everyone)
//添加NFS映射
[TOP] [Entry Fields]
* Pathname of mount point [/home/icd/icddir/bin/Y> /
* Pathname of remote directory [/vpshare]
* Host where remote directory resides [10.15.12.229]
Mount type name []
* Security method [sys] +
* Mount now, add entry to /etc/filesystems or both? now +
* /etc/filesystems entry will mount the directory yes +
on system restart.
* Mode for this NFS file system read-write +
* Attempt mount in foreground or background background +
Number of times to attempt mount [] #
Buffer size for read [] #
Buffer size for writes [] #
NFS timeout. In tenths of a second [] #
# ls -al //查看映射的目录,属主和属组都是nobody,用root用户访问不了。
drwxrwxrwx 2 nobody nobody 64 Jun 05 15:03 Y
# lssrc -g nfs //查看NFS状态
Subsystem Group PID Status
biod nfs 589912 active
rpc.statd nfs 606256 active
rpc.lockd nfs 598118 active
nfsd nfs inoperative
rpc.mountd nfs inoperative
nfsrgyd nfs inoperative
gssd nfs inoperative
[ 本帖最后由 zhmg 于 2006-6-6 09:05 编辑 ] |
|