LinuxQuestions.org
Visit Jeremy's Blog.
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 07-20-2008, 03:24 AM   #1
Mr.J
Member
 
Registered: Jun 2008
Posts: 82

Rep: Reputation: 15
error while nfs mount


Hello,
I'm getting following error while trying to do nfs mount...

root@test-desktop:/# mount -tnfs -onolock 10.0.0.2:/nfsroot /mnt
mount.nfs: 10.0.0.2:/nfsroot failed, reason given by server: Permission deniedroot@test-desktop:/#

/etc/export contains following lines.

/nfsroot 10.0.0.99(rw,no_root_squash,async)
/nfsroot 10.0.0.86(rw,no_root_squash,async)

Please advise.
 
Old 07-20-2008, 05:56 AM   #2
restless
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Debian
Posts: 166

Rep: Reputation: 31
could you please let us know what you've tried already?

Did you try

kill -HUP "mountd process" ?

also how are the rights on nfsroot itself?
 
Old 07-20-2008, 04:23 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
Have you added the relevant entries to the nfs server's /etc/hosts.allow?

Mine looks as follows:
Code:
rpcbind: 192.168.1.107 
portmap: 192.168.1.107 
lockd: 192.168.1.107 
mountd: 192.168.1.107
rquotad: 192.168.1.107
statd: 192.168.1.107
where 192.168.1.107 is the ip of an nfs client

edit: I mean it would help if you put

Quote:
portmap:ALL
lockd:ALL
rpcbind:ALL
mountd:ALL
rquotad:ALL
statd:ALL
in your hosts.deny. If you didn't it probably doesn't matter.

Last edited by sycamorex; 07-20-2008 at 04:27 PM.
 
  


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
mount.nfs: Input/output error w.valdivia Linux - Software 7 04-15-2019 08:14 AM
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
mount: mount to NFS server '192.168.0.3' failed: System Error: Connection refused. fakie_flip Linux - Server 1 04-10-2008 12:28 AM
NFS mount error 5 RDR SUSE / openSUSE 3 03-10-2006 08:52 AM
NFS - can't mount - permissions denied error mchitsquad Mandriva 2 09-01-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration