- 论坛徽章:
- 0
|
首先在linux上启动 nfs 服务
#/etc/rc.d/init.d/nfs start
[root@Dept4-Linux init.d]# ./nfs status
rpc.mountd (pid 31500 31450 31396 31097 31048 30999) を実行中...
nfsd (pid 30991 30990 30989 30988 30987 30986 30985 30984) を実行中...
rpc.rquotad (pid 31491 31441 31387 31088 31039 30980) を実行中...
在/etc/exports文件中添加目录路径
[root@Dept4-Linux init.d]# more /etc/exports
/share 172.17.1.25(rw,insecure,sync,no_wdelay,no_root_squash)
在aix 上察看
# showmount -e 172.17.1.50
172.17.1.50 のエクスポート・リスト:
/share 172.17.1.50
修改aix /etc/filesystems
/share:
dev = /share
vfs = nfs
nodename = 172.17.1.50
mount = true
options = rw,hard,nointr,tcp,noac,vers=3,timeo=600,rsize=32768,wsize=32768
account = false
把 /share mount 上去
#mount /share
# df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 4194304 2954560 30% 3014 1% /
/dev/hd2 110886912 26356672 77% 44538 2% /usr
/dev/hd9var 2097152 2010664 5% 853 1% /var
/dev/hd3 4194304 2626568 38% 3177 2% /tmp
/dev/fwdump 262144 261448 1% 4 1% /var/adm/ras/platform
/dev/hd1 12582912 4340336 66% 20016 4% /home
/proc - - - - - /proc
/dev/hd10opt 4194304 3455576 18% 7895 3% /opt
172.17.1.50:/share 40322408 18814704 54% 122570 5% /share
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/14644/showart_156342.html |
|