Configure NFS in AIX

Source: Internet
Author: User
Configure the NFS environment in AIX: Server: AIX5.3.10 client: RedHatLinuxAs5 server 1. create a file system soft and mount the file system # mount/soft2. compile the/etc/hosts file on the server and add the NFS client information 192.168.1.103stdby3. edit/etc...
Configure the NFS environment in AIX: Server: AIX 5.3.10 client: Red Hat Linux As 5 server 1. create a file system soft and mount the file system # mount/soft 2. compile the/etc/hosts file on the server and add NFS client information 192.168.1.103 stdby 3. edit/etc/exports (this file is not available by default and needs to be created by yourself) vi/etc/exports/soft-rw, root = stdby, access = stdby 4. edit/etc/xtab/soft-rw, root = stdby_1, access = stdby_1 www.2cto.com 5. start or stop the NFS service immediately #/usr/sbin/mknfs '-n' start immediately, restart also runs automatically #/usr/sbin/mknfs '-B' stop immediately #/usr/sbin/rmnfs '-n' stop immediately, the system also stops #/usr/sbin/mknfs '-B' 6. run the # exportfs-a command on the server to export all directories written in/etc/exports. client configuration: 1. the NFS server information is written to the host of the client machine. my client is linux. modify/etc/hosts 192.168.1.185 hxl 2. create a directory and load # mkdir data # mount hxl:/soft/data loaded successfully www.2cto.com 3. view the loading Directory [root @ stdby data] # pwd/data [root @ stdby data] # ls-altotal 2511436drwxr-xr-x 7 202 202 4096 Sep 2. drwxr-xr-x 27 root 4096 Sep 2 .. -rw-r ----- 1 202 202 1564425851 Aug 22 08:54 hour-rw-r ----- 1 202 202 1007010341 Aug 19 aix.ppc64_11gr2_database204 f2.zip drwxr-xr-x 9 202 202 Dec 21 4096 databasedrwxr- x --- 2 202 202 12288 Aug 19 12:03 DownloadDirectordrwxr-xr-x 3 203 202 256 Sep 2 gridsoft-rw-r ----- 1 202 202 75320 Aug 20 gzip-1.2.4a-10.aix5.2.ppc.rpmdrwxr-xr-x 2 202 202 256 Sep 1 09:59 javadrwxr-xr-x 2 202 202 256 Aug 19 lost + found-rw-r ----- 1 202 202 156854 Aug 20 unzip-5.51-1.aix5.1.ppc.rpm www.2cto.com found that the server/soft can be viewed on the client side after the content server client is loaded successfully, you can view The loaded machine [hxl/root] # showmountstdby [hxl/root] # -- The End --

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.