- 论坛徽章:
- 0
|
服务器 10.236.8.33 共享的目录 /gdbh/nfs
客服端10.236.8.30 需要放置的目录 /home/gdbh/nfs
一、服务端参数
[root@gdbh833 ~]# cd /etc/
[root@gdbh833 etc]# cat exports
/gdbh/nfs 10.236.8.30 (rw,anonuid=500,anongid=500)
[gdbh@gdbh833 ~]$ ll
total 48148
drwxrwxrwx 20 gdbh gdbh_group 774144 May 10 17:27 nfs
-rw-r--r-- 1 gdbh gdbh_group 0 Apr 20 2011 ps
drwxr-xr-x 54 gdbh gdbh_group 4096 May 11 23:02 sheetworkspace
[gdbh@gdbh833 ~]$ pwd
/gdbh
[gdbh@gdbh833 ~]$ id
uid=500(gdbh) gid=500(gdbh_group) groups=500(gdbh_group)
[gdbh@gdbh833 ~]$ whoami
gdbh
[gdbh@gdbh833 ~]$
二、客户端参数
[root@localhost nfs]# showmount -e 10.236.8.33
Export list for 10.236.8.33:
/gdbh/nfs (everyone)
[root@localhost nfs]# mount
//10.236.8.98/gdbh on /share_989 type cifs (rw,mand)
10.236.8.33:/gdbh/nfs on /home/gdbh/nfs type nfs (rw,addr=10.236.8.33)
[root@localhost nfs]#
|
|