AIX side:
Stop NFS Related Services
# stopsrc-g NFS
0513-044 the Biod Subsystem is requested to stop.
0513-044 the RPC.STATD Subsystem is requested to stop.
0513-044 the RPC.LOCKD Subsystem is requested to stop.
0513-044 the NFSD Subsystem is requested to stop.
0513-044 the Rpc.mountd Subsystem is requested to stop.
# stopsrc-s Portmap
0513-044 the Portmap Subsystem is requested to stop.
Add a Linux host address and host name to the /etc/hosts file
# vi/etc/hosts
192.168.15.100 dbadb01.badly9.com.cn
Edit /etc/exports file Add shared directory and client address and permissions
# Vi/etc/exports
/portal/test_ebs-rw,root=dbadb01.badly9.com.cn,access=dbadb01.badly9.com.cn
# exportfs-a
Start NFS - related services
# startsrc-s Portmap
0513-059 the Portmap Subsystem has been started. Subsystem PID is 49283240.
# startsrc-g NFS
0513-059 the Biod Subsystem has been started. Subsystem PID is 45220094.
0513-059 the NFSD Subsystem has been started. Subsystem PID is 6226140.
0513-059 the Rpc.mountd Subsystem has been started. Subsystem PID is 5636288.
0513-059 the Nfsrgyd Subsystem has been started. Subsystem PID is 44892330.
0513-059 the GSSD Subsystem has been started. Subsystem PID is 32178302.
0513-059 the RPC.LOCKD Subsystem has been started. Subsystem PID is 49676476.
0513-059 the RPC.STATD Subsystem has been started. Subsystem PID is 43581530.
viewing NFS Shared Directories
# showmount-e localhost
Export list for localhost:
/portal/test_ebs dbadb01.badly9.com.cn
Linux hosts:
To view an AIX host NFS shared directory
[Email protected] ~]# showmount-e 192.168.20.71
Export list for 192.168.20.71:
/portal/test_ebs dbadb01.badly9.com.cn
/etc/hosts file Add AIX Host resolution
[Email protected] ~]# vi/etc/hosts
192.168.20.71 iportal.badly9.com.cn Iportal
Start the portmap service
[[Email protected] test_ebs]# service Portmap start
Starting portmap: [OK]
Create mount Directory
[Email protected] ~]# Mkdir/test_ebs
Mount:
[Email protected] test_ebs]# mount-o nolock iportal:/portal/test_ebs/test_ebs
[Email protected] test_ebs]#
At this point completely ok
"AIX" Aix_linux shared directory via NFS