In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Unix Study-- Linux share accesses NFS of AIX 6
1. Configure aix 6 as nfs server
2. View nfs server shares
[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. View nfs share on the Linux client
[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. Mount sharing on Linux side
[root@rh74 ~] # mount aix219:/soft / soft
Mount.nfs: Remote error O error / / appearance of O Error
[root@rh74 ~] # mount aix219:/soft / soft-o nfsvers=2
-so far, the Linux client has successfully accessed aix nfs server!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.