LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices



Reply
 
Search this Thread
Old 01-31-2013, 04:57 PM   #1
dthaler
Member
 
Registered: Apr 2011
Posts: 74

Rep: Reputation: 0
permissions error on nfs mount


i checked some of the previous threads, and none of the suggested 'fixes' did any good.... i've created numerous nfs mounts in the past, so i'm not a novice at this, i made sure the nfs service was running., this may be the first time i'm trying to create a nfs mount between these two servers. the directories exist on both servers and the rights were set to 777 just to make sure they had the same rights. i check the hosts/hosts.allow/hosts.deny, the rpcinfo -p appears to return what its supposed to. and when i try to:
"mount phoenix:/u04/export /u06/export" i get the permissions error... i can scp a file from the /u06/export directory to the /u04 directory on the other server
if try mount phoenix:/u04/export genesis:/u06/export, it tells me "mount.nfs: mount point genesis:/u06/export does not exist" ??
 
Old 01-31-2013, 08:11 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Can we see the exact cmd and error msgs for
Code:
mount phoenix:/u04/export /u06/export" i get the permissions error...
Also,
Quote:
the first time i'm trying to create a nfs mount between these two servers.
Have you tried shutting down firewalls at both ends?
 
Old 02-01-2013, 08:29 AM   #3
dthaler
Member
 
Registered: Apr 2011
Posts: 74

Original Poster
Rep: Reputation: 0
mount phoenix:/u04/export /u06/export...
error:
mount: phoenix:/u04/export failed, reason given by server: Permission denied
 
Old 02-01-2013, 08:53 AM   #4
dthaler
Member
 
Registered: Apr 2011
Posts: 74

Original Poster
Rep: Reputation: 0
i found this error in the /var/log/messages file on phoenix:

Feb 1 08:49:39 PHOENIX mountd[12095]: refused mount request from 10.2.5.220 for /u04/export (/u04/export): unmatched host
 
Old 02-01-2013, 09:09 AM   #5
dthaler
Member
 
Registered: Apr 2011
Posts: 74

Original Poster
Rep: Reputation: 0
a changed the exports file and added this:
/u06/export genesis.lccc.edu(rw,insecure,no_root_squash,sync)

but that didn't help ?
 
Old 02-01-2013, 09:34 AM   #6
dthaler
Member
 
Registered: Apr 2011
Posts: 74

Original Poster
Rep: Reputation: 0
i found the problem, i didnt' have an entry in the exports file on phoenix that would make the /u04/export directory available for genesis, so i added
/u04/export genesis.lccc.edu(rw,insecure,no_root_squash,sync) to the exports file on phoenix...
 
  


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
[SOLVED] Android NFS mount permissions stillme Linux - Networking 7 08-25-2012 04:41 PM
Unable to NFS mount .ERROR (mount: RPC: Remote system error - Connection timed) pabba Linux - Networking 3 05-06-2010 01:09 PM
Setting file/dir permissions on NFS mount different from rest of network? leepic Linux - Server 1 01-25-2010 02:18 PM
NFS Cant mount with rw permissions Peter@dk Linux - Networking 3 06-12-2005 05:02 AM
NFS - can't mount - permissions denied error mchitsquad Mandriva 2 09-01-2003 06:23 PM


All times are GMT -5. The time now is 11:48 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration