Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-30-2008, 06:38 PM   #1
LQ Newbie
Registered: Feb 2005
Location: Australia
Distribution: Debian, CentOS
Posts: 25

Rep: Reputation: 15
CentOS based NFS Server and Mac OS X not mounting exported shares

I'm not sure if this is an issue related to my NAS or PowerBook - but hopefully someone will be able to give me a hand.
I've got an old ShuttlePC running CentOS (Trixbox - VoIP server), that I use as an NFS server primarily at the moment with 3 shares listed in /etc/exports as follows:

I recently went away for a holiday and did some updates using Yum to the packages on my Shuttle, just went through and updated what needed to be updated essentially. I'd had some issues with mounting NFS shares prior to doing this, but nothing to major.
Now, on returning from my weekend long holiday - I can't seem to mount anything from my NFS server onto my PowerBook. External drives mount fine, and I can SSH into the machine no problem.

Here's a bunch of logs/errors:
When trying to mount the nfs share on my PowerBook:
James-PowerBook:~ jameskirsop$ mount -o -P nfs:// ~/Music
mount_nfs: can't get net id for host
When trying to mount the nfs share on the own server:
-sh-3.00$ sudo mount nfs:// /testmount
mount: can't get address for nfs
But the following works:
-sh-3.00$ sudo mount /testmount
/var/log/messages on the CentOS box shows (among other things) log messages like this:
Jan 27 04:22:35 beach mountd[2394]: authenticated unmount request from for /share/music (/share/music)
Jan 27 04:31:36 beach mountd[2394]: authenticated mount request from for /share/music (/share/music)
Jan 27 05:32:35 beach mountd[2394]: authenticated unmount request from for /share/music (/share/music)
Where beach is the hostname of the machine.

system.log on the PowerBook contains alot of repeats of the following (or something similar)
Jan 31 11:36:03 James-PowerBook kernel[0]: nfs server lockd not responding
Jan 31 11:36:03 James-PowerBook KernelEventAgent[35]: tid 00000000 received VQ_NOTRESP event (1)
Jan 31 11:36:03 James-PowerBook KernelEventAgent[35]: tid 00000000 type 'nfs', mounted on '/Users/jameskirsop/Music', from '', not responding
I have ~/Music on my PowerBook aliased to an nfs auto mount so that my whole iTunes collection is on my NAS - so currently I can't get to my iTunes Library on my PowerBook (unless I was to copy stuff via scp to my local drive - but I haven't got enough disk space to fit it all in).

Has anyone had a similar problem with CentOS recently - or has anyone got suggestions on what to do?
Old 01-31-2008, 03:15 PM   #2
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
sudo mount nfs:// /testmount
sudo mount -t nfs /testmount

It is trying to resolve nfs as a hostname instead of a protocol


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
list exported nfs-server directories kpachopoulos Linux - General 1 03-11-2007 01:11 PM
mounting NFS shares help pls mlu Linux - Networking 1 11-23-2004 09:32 PM
Conditionally mounting nfs shares eagle862 Linux - Networking 1 11-02-2004 11:46 PM
exporting NFS shares in redhat 9 / mounting them in OS X 10.2.6 brainlego Linux - Networking 7 07-25-2003 06:46 AM
Support for mounting NFS shares glock19 Linux - General 1 05-09-2002 07:02 PM

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration