Linux NFS Build

Source: Internet
Author: User

NFS Network File System

The following are the most obvious benefits of NFS:

1. Saving local storage space, storing common data on one NFS server and network access, the local terminal can reduce the use of its own storage space.

2. The user does not need to have a home directory on every machine in the network, the home directory can be placed on the NFS server and can be accessed on the network.

3. Some storage devices such as floppy drives, CDROM, and zip (a high storage density disk drive and disk) can be used by other machines on the network. This can reduce the number of removable media devices across the network.


Experiment:

Server IP Role

192.168.1.201 NFS Server

192.168.1.220 NFS Client

Lab Requirements:

1 201 NTP server is responsible for sharing

2. NTP client mounts data shared by NTP server and can be modified.


Start the experiment:

1 Yum install NFS nfs-utils rpcbind-y download package Installation

2 Vi/etc/exports Modifying the configuration file

/data 192.168.1.0/24 (Rw,no_root_squash,no_all_squash,sync)

Change to this will be no problem (/data This file to exist or will be an error). Then enter the command:

/etc/init.d/rpcbind Start Open

/etc/init.d/nfs Start Open

/etc/init.d/iptables Stop Setenforce 0 Turn off the firewall .

Enter the command mount, and you can see the mount is successful.

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/8A/B2/wKiom1g3ylXAoHriAAAs5PVGuqo594.png "title=" 1.png " alt= "Wkiom1g3ylxaohriaaas5pvguqo594.png"/>

Go to Catalog now

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8A/AE/wKioL1g3zNPT2SOYAACLvBgCcYg315.png "style=" float: none; "title=" 3.png "alt=" Wkiol1g3znpt2soyaaclvbgccyg315.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8A/AE/wKioL1g3zNTQdyawAAB-YJXJkNE681.png "style=" float: none; "title=" 4.png "alt=" Wkiol1g3zntqdyawaab-yjxjkne681.png "/>

Another machine can see the catalog after a simple operation. This is even easier to do.

Now it's useful to experiment.

In 201 machine input lantern

In the 220 machine view there is no

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/8A/B2/wKiom1g3zk7BO1fnAAB1SoxEHwM595.png "title=" 5.png " alt= "Wkiom1g3zk7bo1fnaab1soxehwm595.png"/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8A/AE/wKioL1g3zfiCT0LaAAB_rnORDz0771.png-wh_500x0-wm_3 -wmp_4-s_1407902470.png "title=" 6.png "alt=" Wkiol1g3zfict0laaab_rnordz0771.png-wh_50 "/>

In 220 machine input DLL

In the 201 machine view there is no

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/8A/AE/wKioL1g3zsbCIPmfAABtBVH4YS0846.png "style=" float: none; "title=" 7.png "alt=" Wkiol1g3zsbcipmfaabtbvh4ys0846.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/8A/AE/wKioL1g3zsfAYA5CAABjuq0j8XM932.png "style=" float: none; "title=" 8.png "alt=" Wkiol1g3zsfaya5caabjuq0j8xm932.png "/>

This has been done correctly.

Linux NFS Build

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.