Unix Study之--Linux共享訪問AIX 6之NFS
創(chuàng)新互聯(lián)服務(wù)項目包括東海網(wǎng)站建設(shè)、東海網(wǎng)站制作、東海網(wǎng)頁制作以及東海網(wǎng)絡(luò)營銷策劃等。多年來,我們專注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢、行業(yè)經(jīng)驗、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,東海網(wǎng)站推廣取得了明顯的社會效益與經(jīng)濟(jì)效益。目前,我們服務(wù)的客戶以成都為中心已經(jīng)輻射到東海省份的部分城市,未來相信會繼續(xù)擴大服務(wù)區(qū)域并繼續(xù)獲得客戶的支持與信任!
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 //出現(xiàn)I/O Error
[root@rh74 ~]# mount aix219:/soft /soft -o nfsvers=2
-----至此Linux 客戶端訪問aix nfs server成功 !