智慧屏 安装 app如何提升家庭娱乐与教育体验的关键工具
872
2022-09-21
Unix Study之--Linux共享访问AIX 6之NFS
Unix Study之--Linux共享访问AIX 6之NFS
1、配置aix 6为nfs server
2、查看nfs server共享
[root@aix219 /]# cat /etc/hosts127.0.0.1 localhost192.168.8.245 rh64.cuug- rh64192.168.8.219 aix219
[root@aix219 /]#cat /etc/exports/export/nim/scripts/aix194.script -ro,root=aix194,access=aix194/ware -public,sec=sys:krb5p:krb5i:krb5:dh,ro/export/nim/scripts/aix213.script -ro,root=aix213,access=aix213/export/nim/scripts/aix223.script -ro,root=aix223,access=aix223/export/spot/spot1/usr -ro,root=aix194:aix213:aix223:aix199,access=aix194:aix213:aix223:aix199/export/lpp_source/lpp_source_aix6 -ro,root=aix194:aix213:aix223:aix199,access=aix194:aix213:aix223:aix199/export/nim/scripts/aix199.script -ro,root=aix199,access=aix199/soft -sec=sys:krb5p:krb5i:krb5:dh,rw,access=rh64,root=rh64[root@aix219 /]#exportfs -avexportfs: 1831-187 re-exported /export/nim/scripts/aix194.scriptexportfs: 1831-187 re-exported /wareexportfs: 1831-187 re-exported /export/nim/scripts/aix213.scriptexportfs: 1831-187 re-exported /export/nim/scripts/aix223.scriptexportfs: 1831-187 re-exported /export/spot/spot1/usrexportfs: 1831-187 re-exported /export/lpp_source/lpp_source_aix6exportfs: 1831-187 re-exported /export/nim/scripts/aix199.scriptexportfs: 1831-187 re-exported /soft3、在Linux客户端查看nfs share
[root@rh64 ~]# cat /etc/hosts127.0.0.1 localhost192.168.8.245 rh64.cuug- rh64192.168.8.219 aix219
[root@rh64 ~]# showmount -e aix219Export list for aix219:/export/nim/scripts/aix194.script aix194/ware (everyone)/export/nim/scripts/aix213.script aix213/export/nim/scripts/aix223.script aix223/export/spot/spot1/usr aix194,aix213,aix223,aix199/export/lpp_source/lpp_source_aix6 aix194,aix213,aix223,aix199/export/nim/scripts/aix199.script aix199/soft rh644、在Linux端mount共享[root@rh64 ~]# mount aix219:/soft /softmount.nfs: Remote I/O error //出现I/O Error
[root@rh64 ~]# mount aix219:/soft /soft -o nfsvers=2
-----至此Linux 客户端访问aix nfs server成功 !
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~