Unix study--linux shared access to Aix 6 NFS
1. Configure AIX 6 for NFS server
650) this.width=650; "Src=" http://img.blog.csdn.net/20160309182658928?watermark/2/text/ Ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/center "Style=" Border:none; "/>
2. View NFS server shares
[Email protected]/]# cat/etc/hosts
127.0.0.1 localhost
192.168.8.245 rh64.cuug.cn rh64
192.168.8.219 aix219
[[email protected]/] #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
[[email protected]/] #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. View NFS Share on Linux client
[Email protected] ~]# cat/etc/hosts
127.0.0.1 localhost
192.168.8.245 rh64.cuug.cn rh64
192.168.8.219 aix219
[email protected] ~]# 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 rh64
4, on Linux side Mount share
[email protected] ~]# Mount Aix219:/soft/soft
mount.nfs:Remote I/O error/I/O error
[email protected] ~]# Mount Aix219:/soft/soft-o nfsvers=2
-----The Linux client accesses the AIX NFS server successfully!
This article is from the "Tianya blog," Please make sure to keep this source http://tiany.blog.51cto.com/513694/1749244
Unix study--linux shared access to Aix 6 NFS