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

번호 제목 글쓴이 날짜 조회 수
77 mounting a linux nfs server on mac os x 10.6 [17712] Shadow 2011.02.15 758652
76 MacOSX에 ufraw를 설치하자~ [1] [886] file Shadow 2009.01.03 635902
75 Winclone 부트캠프 백업/복원 어플입니다 [3] [10660] guriii 2009.08.28 394669
74 Carbon Copy Cloner [14197] Shadow 2009.05.04 382783
73 맥북에어 2013 - VMware Fusion 5.x 사용시 화면 깜빡임 해결 방법 [13380] Shadow 2013.07.19 336519
72 screen saver [9091] file Shadow 2013.08.21 307220
71 freetype [1] [10007] Shadow 2009.04.29 277427
70 MacBookAir 11" 2013-mid 256GB SSD 성능 [10865] file Shadow 2013.07.27 276425
69 Chrome Extentions (Bookmarks Menu) Scroll Bar Bug Fix [4367] file Shadow 2013.01.02 232772
68 맥이 아닌 machine에서 맥에 SSH 접속시 한글 표시법 [9665] Shadow 2009.02.10 231110
67 Macbook Air 11inch 128GB SSD performance [11906] file Shadow 2010.11.28 226910
66 eXtplorer 2.0.1 한글 패치 (on MacOSX 다운로드, 표시) 버전 [2] [8710] file Shadow 2010.04.30 210175
65 디스크에 문제가 발생했을 때 [10406] Shadow 2010.12.30 204032
64 file managers based on x11 (supported by MacPorts) [1] [8166] Shadow 2010.02.16 203448
63 gpac (mp4box) [10595] Shadow 2009.04.29 201135
62 MacOSX 10.7 Lion - TRIM 지원 [7] [1402] file Shadow 2011.07.06 170976
61 remote X11forwarding from OSX to Windows [6277] Shadow 2009.01.03 151122
60 rar [823] Shadow 2009.04.29 145304
59 PureFTPd Update! (1.0.22) [7169] Shadow 2009.04.29 144413
58 [펌] PureFtpd - Mysql-auth per user connection limit feature [6633] Shadow 2009.02.25 136875

사용자 로그인