NFS-related, NFS server-side installation configuration, Exportfs command, NFS client issues

Source: Internet
Author: User
Tags create directory

1. NFS (Network File system, RPC protocol based)



2, NFS server-side installation configuration
Installation Server: Yum install nfs-utils rpcbind-y
installation client: Yum Install Nfs-utils-y
Edit the configuration file: Vim/etc/exports
join:/home/nfsdir ***.***.***.*** (rw,sync,all_squash,anonuid=1000,anongid= +)
Create directory: Mkdir/home/nfsdir
Change permissions: chmod 777/home/nfsdir
Start Services: Service NFS Start
set to boot Nfs:systemctl enable NFS
set to boot rpcbind:systemctl enable Rpcbind

/etc/exports Explanation of parameters in the configuration file:

/home/nfsdir ***.***.***.*** (rw,sync,all_squash,anonuid=999,anongid=999)


Mount: Mount-t NFS ***.***.***.***:/home/nfsdir/mnt

When creating a directory or file, it is based on Anonuid and Anongid in the configuration file:


3, Exportfs command (between the server and the client to connect too many machines, when restarting the service, may be used)

Freq used:EXPORTFS-AVF
You can re-read the configuration file

The No_root_squash is used in the compounding file.

4. NFS Client Issues

Operation:




NFS-related, NFS server-side installation configuration, Exportfs command, NFS client issues

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.