UnixStudy之--Linux共享访问AIX6之NF-创新互联
Unix Study之--Linux共享访问AIX 6之NFS
创新互联公司是一家专业提供绿园企业网站建设,专注与做网站、网站建设、html5、小程序制作等业务。10年已为绿园众多企业、政府机构等服务。创新互联专业的建站公司优惠进行中。1、配置aix 6为nfs server
2、查看nfs server共享
[root@aix219 /]# cat /etc/hosts
127.0.0.1 localhost
192.168.8.245 rh74.cuug.cn rh74
192.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=rh74,root=rh74
[root@aix219 /]#exportfs -av
exportfs: 1831-187 re-exported /export/nim/scripts/aix194.script
exportfs: 1831-187 re-exported /ware
exportfs: 1831-187 re-exported /export/nim/scripts/aix213.script
exportfs: 1831-187 re-exported /export/nim/scripts/aix223.script
exportfs: 1831-187 re-exported /export/spot/spot1/usr
exportfs: 1831-187 re-exported /export/lpp_source/lpp_source_aix6
exportfs: 1831-187 re-exported /export/nim/scripts/aix199.script
exportfs: 1831-187 re-exported /soft
3、在Linux客户端查看nfs share
[root@rh74 ~]# cat /etc/hosts
127.0.0.1 localhost
192.168.8.245 rh74.cuug.cn rh74
192.168.8.219 aix219
[root@rh74 ~]# showmount -e aix219
Export 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 rh74
4、在Linux端mount共享
[root@rh74 ~]# mount aix219:/soft /soft
mount.nfs: Remote I/O error //出现I/O Error
[root@rh74 ~]# mount aix219:/soft /soft -o nfsvers=2
-----至此Linux 客户端访问aix nfs server成功 !
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
分享名称:UnixStudy之--Linux共享访问AIX6之NF-创新互联
网页路径:http://azwzsj.com/article/ccgsho.html