Simple configuration of centos NFS server

Source: Internet
Author: User

Server:

  1. Yum install NFS *

  2. Vim/etc/exports

    /Www/attachment 192.168.0.227 (RW, sync, no_root_sqush)

Start the service

Service rpcbind start

Service NFS start

Client

1. Yum install NFS *

Mount-t nfs 192.168.0.230:/www/attachment

Enable Service

Service rpcbind start


Common Client errors:

1. rpcbind is not enabled on the client

Mount: Wrong FS type, bad option, bad superblock on 192.168.0.230:/www/attachment,
Missing codePage or Helper Program, or other error
(For several filesystems (e.g. NFS, CIFS) You might
Need a/sbin/mount. <type> Helper Program)
In some cases useful info is found in syslog-try
Dmesg | tail or so

2. Mount. NFS: Access denied by server while mounting

Port problems (Google)

Modify server/etc/exports

/Www/attachment 192.168.0.227 (insecure, RW, sync, no_root_sqush)


Simple configuration of centos NFS server

Related Article

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.