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

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.