[펌] NFS exports and Mac OS X 10.5 Leopard

2008.05.04 03:45

sukhyun 조회 수:24249

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 [펌] Putty Proxy 우회하기(터널링) file sukhyun 2008.06.13 31166
36 리얼맥 시동음 제거 [1] Administrator 2008.03.30 30836
35 [펌] 집에서 Mac으로 메일서버 운영하기 (1) [1] Administrator 2008.03.30 30564
34 [펌] OS X에서 파일 시스템 관리를 위한 디스크 유틸리티와 fsck의 사용 Administrator 2008.03.30 30530
33 lukemftpd 질문에 대한 내 답변 [1] Shadow 2008.12.24 30235
32 [작성중] 홈 서버 구성 가이드 - 1. 홈서버 시스템의 선택 [4] sukhyun 2008.11.14 29198
31 [펌] Creating & deleting system service agent accounts on Mac OS X sukhyun 2008.10.01 28182
30 [펌] ★ 애플 Mac mini 리뷰 & 분해기! [1] Administrator 2008.03.30 27390
29 [펌] 맥미니 전력 소모 (애플 자료) [2] sukhyun 2008.03.30 26838
28 [펌] Linux on the Mac Mini Administrator 2008.03.30 26380
27 Media Transcoding (Encoding) : mencoder & codecs [1] sukhyun 2008.11.26 26328
26 [펌] An A-Z Index of the Apple OS X command line sukhyun 2008.08.30 25880
25 Mplayer & Mencoder - Compilation in MacOSX file sukhyun 2008.11.27 25722
24 [작성중] 홈서버 구성 가이드 - 5. FTP를 이용한 파일서버 - LukemFTPd / PureFTPd [1] file sukhyun 2008.11.19 24799
23 제로보드 버그 Administrator 2008.03.30 24621
22 [펌] ftpd encoding patch sukhyun 2008.04.07 24368
21 Cyberduck - FTP and SFTP Browser for Mac OS X file sukhyun 2008.04.06 24327
20 transmit 3 - FTP client [1] sukhyun 2008.04.06 24322
» [펌] NFS exports and Mac OS X 10.5 Leopard sukhyun 2008.05.04 24249
18 [펌] FTP Only Accounts Under Mac OS X Leopard sukhyun 2008.04.07 23598

사용자 로그인