Nfs:mac OS x (server) and Mac OS X (clients) Implementation ideas

Source: Internet
Author: User
Tags nfsd

Lab Environment:

NFS (server): Mac OS X 192.168.13.5

NFS (client): Mac OS X 192.168.13.6


Steps:


Nfs-server:

The Apple System (MAC) comes with the NFSD feature by default and starts with the system. All we have to do is configure:

Command-line mode:

sudo vi/etc/exports # #编辑/etc/exports/test-alldirs-rw-network 192.168.13.0-mask 255.255.255.0 #说明: Share the Users directory and all subfolders to 1 92.168.13.0 the entire network segment and is set to read and write.

Create a file directory to share: sudo mkdir/test

Set permissions: sudo chmod 777-r/test


sudo nfsd enable #确认NFSD服务开启

sudo nfsd restart #如果nfsd已经启动, requires a reboot to take effect, or error: (Mount_nfs:can ' t mount/test from 192.168.13.5 Onto/test2:permis Sion denied)

sudo nfsd update #刷新NFSD共享资源
SHOWMOUNT-E #显示当前共享的资源

Nfs-client:

Client system run:

Create mount point: sudo mkdir/test2

Mount: sudo mount-t NFS 192.168.13.31:/test/test2/

Automatic mount on Boot:

sudo vim/etc/fstab

192.168.13.5/test/test NFS Defaults 0 0

This completes the deployment.


Reference: http://www.cyberciti.biz/faq/apple-mac-osx-nfs-mount-command-tutorial/

Troubleshooting MacOS Cannot mount Nfs,operation not permitted error

Create a new NFS share in Mac OS X

NFS Mount failed server Permission denied workaround

Graphics Tutorial----Mac OS settings how to boot without mounting hard disk partitions


This article is from "Dolphin Watching" blog, please be sure to keep this source http://swht1278.blog.51cto.com/7138082/1743068

Nfs:mac OS x (server) and Mac OS X (clients) Implementation ideas

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.