[펌] NFS exports and Mac OS X 10.5 Leopard

2008.05.04 03:45

sukhyun 조회 수:24250

My shiny new MacBook with 10.5 Leopard arrived the other day so I’ve been trying to get it all set up and working. Only problem is that, as commenter Matt point out in his comments to this post, NFS Manager hasn’t been updated yet. This post on Mac OS X Hints suggests that setting up NFS shares is very easy, but it does assume a certain amount of knowledge.

I was having the same issues as the chap in this thread on MPC Forums. I had followed all the necessary instructions, but still no dice. Here’s what I had to do to get it working.

To create and /etc/exports file:

sudo vi /etc/exports

once in vi, you need to hit I to enter insert mode. Then you can create your file.

/Users/tismey/Movies -maproot=tismey -network 10.0.0.0 -mask 255.255.0.0

What this means is:
I am sharing the directory /Users/tismey/Movies
The -maproot switch maps the root NFS User to my admin user on my machine - tismey.
Using the -network and -mask switches I am sharing the directory to any machine on my internal network (I use the standard Airport 10.0.x.x addressing)

Once done, hit ESC to exit insert mode, then

:wq!

to exit vi and write the file.

You can then check that the file is correct by running

sudo nfsd checkexports

If this produces no output, then all is right with the world. When I ran this, it spotted that I’d actually got a typo in the file (timsey not tismey), and it gave the error ‘Unknown User’.

However, running

showmount -e

was showing no output, so something still wasn’t right. I had a closer look at the options available to nsfd, and thought I would try

sudo nfsd update

Once I’d done this, the output from showmount was

Exports list on localhost:
/Users/tismey/Movies 10.0.0.0

Success!! A few minutes later and I was successfully streaming from my MacBook to my TViX!

번호 제목 글쓴이 날짜 조회 수
57 범인은 공유기... sukhyun 2008.04.25 22574
56 man ftpd.conf sukhyun 2008.04.25 20023
» [펌] NFS exports and Mac OS X 10.5 Leopard sukhyun 2008.05.04 24250
54 [펌] Putty Proxy 우회하기(터널링) file sukhyun 2008.06.13 31166
53 Zip Test Script ( BASH ) sukhyun 2008.08.21 20567
52 [Script] the number of files (or directories) sukhyun 2008.08.25 19576
51 [Script] MAMP server backup sukhyun 2008.08.25 20468
50 Pure-ftpd sukhyun 2008.08.28 32170
49 Pure-ftpd : Virtual users sukhyun 2008.08.29 23561
48 boot-132 secret sukhyun 2008.08.30 448
47 [펌] An A-Z Index of the Apple OS X command line sukhyun 2008.08.30 25920
46 [Script] Netstat - Bash sukhyun 2008.08.31 21770
45 boot132 (2nd) secret sukhyun 2008.09.27 370
44 [펌] Create & delete user accounts from the command line on Mac OS X sukhyun 2008.10.01 21799
43 [펌] Creating & deleting system service agent accounts on Mac OS X sukhyun 2008.10.01 28182
42 (비밀글) x86osx - 글 백업 secret sukhyun 2008.10.08 302
41 [작성중] 홈 서버 구성 가이드 - 4. 웹서버를 시동해 보자 - MAMP ( MacOSX Apach + MySQL + PHP ) [3] file sukhyun 2008.11.13 47390
40 [작성중] 홈 서버 구성 가이드 - 1. 홈서버 시스템의 선택 [4] sukhyun 2008.11.14 29198
39 [작성중] 홈서버 구성 가이드 - 2. 네트워크 구성과 공유기 설정 file sukhyun 2008.11.15 31261
38 [작성중] 홈서버 구성 가이드 - 5. FTP를 이용한 파일서버 - LukemFTPd / PureFTPd [1] file sukhyun 2008.11.19 24799

사용자 로그인