LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-30-2008, 06:38 PM   #1
Jamesk5
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:

Code:
/share/images 192.168.0.0/255.255.0.0(rw,no_root_squash,insecure,sync)
/share/mission 192.168.0.0/255.255.0.0(rw,no_root_squash,insecure,sync)
/share/music 192.168.0.0/255.255.0.0(rw,no_root_squash,insecure,sync)
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:
Code:
James-PowerBook:~ jameskirsop$ mount -o -P nfs://192.168.0.10:/share/music ~/Music
mount_nfs: can't get net id for host
When trying to mount the nfs share on the own server:
Code:
-sh-3.00$ sudo mount nfs://192.168.0.10:/share/music /testmount
mount: can't get address for nfs
But the following works:
Code:
-sh-3.00$ sudo mount 192.168.0.10:/share/music /testmount
/var/log/messages on the CentOS box shows (among other things) log messages like this:
Code:
Jan 27 04:22:35 beach mountd[2394]: authenticated unmount request from 192.168.0.2:996 for /share/music (/share/music)
Jan 27 04:31:36 beach mountd[2394]: authenticated mount request from 192.168.0.2:889 for /share/music (/share/music)
Jan 27 05:32:35 beach mountd[2394]: authenticated unmount request from 192.168.0.2:928 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)
Code:
Jan 31 11:36:03 James-PowerBook kernel[0]: nfs server 192.168.0.10:/share/music: 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 '192.168.0.10:/share/music', 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
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS
Posts: 375

Rep: Reputation: 38
change
sudo mount nfs://192.168.0.10:/share/music /testmount
to
sudo mount -t nfs 192.168.0.10:/share/music /testmount

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


Reply


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 12:43 PM.

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