Linux NFS Mount Configuration

Source: Internet
Author: User

NFS mounts here are not more than a few more, according to the steps in turn. There is a picture of the truth.


Server-side configuration:(IP 192.168.88.85)

1. View Software NFS Package installation

Rpm-qa |grep NFS

2. See if the rpcbind is installed

3 If installation is not installed:

4. See if there is a exports file

Cat/etc/exports

If you do not manually build the file in etc exports the content is written in: Need to mount folder directory

do not manually build files yourself. the content added inside is
/opt/tp-manager/data is the permission to mount the directory * (rw,no_root_squash) file (...). Self-check)

Service-side configuration complete


Client:The jar package that requires NFS is identical to the server 1, 22 operations.
3. Check whether the server is mounted (see precautions if there is no mount display)
SHOWMOUNT-E 192.168.88.15


4. Client mount command:mount-t NFS 192.168.88.15:/opt/tp-manager/data/opt/tp-worker/data


/opt/tp-manager/data is the path that the server side path mounts to the client:/opt/tp-worker/data

Mount Complete:

Precautions :
Service-side Modify exports file requires Operation command

EXPORTFS-RV (re-mount)

Service Rpcbind Restart

Service NFS Restart

Service iptables Stop (fire strong off must)

If the client wants to cancel the mount:umount-f/opt/tp-worker/data






Linux NFS Mount Configuration

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.