"AIX" Aix_linux shared directory via NFS

Source: Internet
Author: User
Tags nfsd

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.