[펌] 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!

번호 제목 글쓴이 날짜 조회 수
37 [펌] Tryout Mac Mini as Fileserver Administrator 2008.03.30 34190
36 [펌] 도구 없이 wire만으로 맥미니 분해하기!! [2] sukhyun 2008.03.30 35531
35 MacOSX System Configurations - MyConf! Shadow 2009.01.04 35925
34 [펌] PC에서 맥FTP서버로 접근시 한글 깨짐문제. [1] sukhyun 2008.04.06 38590
33 [펌] 맥미니에 소요된 부품 목록 Administrator 2008.03.30 45270
32 [작성중] 홈 서버 구성 가이드 - 4. 웹서버를 시동해 보자 - MAMP ( MacOSX Apach + MySQL + PHP ) [3] file sukhyun 2008.11.13 47390
31 rox-filer [555] file Shadow 2009.04.14 51463
30 enblend-enfuse-3.2 on MacOSX [216] file Shadow 2009.03.19 52077
29 Snow Leopard에서 macports를 이용한 mplayer 설치 [202] Shadow 2009.09.09 57271
28 wget [364] Shadow 2009.04.29 81285
27 스노우 레퍼드 64bit 부팅 [3] [566] file Shadow 2009.09.07 81508
26 MacBookPro 13" with Samsung S470 SSD [601] file Shadow 2011.01.20 87721
25 [펌] CFGetHostUUIDString: unable to determine UUID for host. Error: 35 [5772] Shadow 2009.01.03 121219
24 com.apple.boot.plist & bootloader [6505] Shadow 2009.01.03 121375
23 XQuartz [5570] Shadow 2009.01.03 127841
22 OSX에 설치형 웹하드를 설치해 보자! [5] [1062] file Shadow 2009.06.07 129298
21 man hdiutil sukhyun 2008.04.04 136698
20 [펌] PureFtpd - Mysql-auth per user connection limit feature [6633] Shadow 2009.02.25 136875
19 PureFTPd Update! (1.0.22) [7169] Shadow 2009.04.29 144413
18 rar [823] Shadow 2009.04.29 145304

사용자 로그인