LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2009, 02:55 AM   #1
joelie
LQ Newbie
 
Registered: Jan 2009
Location: Down Under
Distribution: CentOS
Posts: 5

Rep: Reputation: 0
NFS Error 13 Permission Denied


I'm attempting to setup NFS on Centos5.2. I've got nfs, samba, and portmap setup and running. I need to access the NFS from a XenServer install, however I'm constantly returned the error 13. I'm trying:

mount -t cifs //10.1.1.3/Share /var/opt/xen/iso_import -o user=root,password=blahblah

I even tried with domain=10.1.1.3 after password=blahblah and still can't get in.

I've got portmap in /etc/exports as

10.1.1.3/Share *(rw,no_root_squash,sync)

I've even disabled the firewall on the 10.1.1.3 server using system-config-securitylevel

The exact error is:

mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

What am I missing?

NB: I am new to this in case you couldnt tell
 
Old 10-15-2009, 10:46 AM   #2
favoretti
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
CIFS?

Try
mount -t nfs 10.1.1.3:/share /var/opt/xen/iso_import

And ensure the line: /share *(rw,no_root_squash,sync) is present in /etc/exports on 10.1.1.3.

And of course that directory /share is there on 10.1.1.3 as well.
 
Old 10-15-2009, 11:09 AM   #3
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
user=10.1.1.3\\root
 
Old 10-16-2009, 02:00 AM   #4
joelie
LQ Newbie
 
Registered: Jan 2009
Location: Down Under
Distribution: CentOS
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by favoretti View Post
CIFS?

Try
mount -t nfs 10.1.1.3:/share /var/opt/xen/iso_import

And ensure the line: /share *(rw,no_root_squash,sync) is present in /etc/exports on 10.1.1.3.

And of course that directory /share is there on 10.1.1.3 as well.
The client now just hangs when running that mount command. After about 5minutes it returns a timeout error.
 
Old 10-17-2009, 04:41 AM   #5
favoretti
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
OK, how about firewall settings on 10.1.1.3? Is NFS allowed there?
"iptables -L" output will help out here.
 
  


Reply



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
Permission Denied Error Message when trying to mount an NFS share kaplan71 Fedora 1 02-14-2009 07:26 AM
NFS - Permission Denied Error yusufs Linux - Newbie 6 11-26-2007 05:38 AM
nfs permission denied noir911 Linux - Networking 1 06-09-2006 04:04 AM
Permission Denied NFS graystarr Linux - Networking 9 07-08-2002 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:57 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
Open Source Consulting | Domain Registration