Re: Permission Denied on NFS Mount
From: Kevin Collins (spamtotrash_at_toomuchfiction.com)
Date: 05/25/05
- Next message: Lars Bausch: "NOEMEM and SIGSEGV"
- Previous message: Florian Anwander: "Re: Permission Denied on NFS Mount"
- In reply to: basis_consultant_at_hotmail.com: "Permission Denied on NFS Mount"
- Next in thread: Eigenvector: "Re: Permission Denied on NFS Mount"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 May 2005 14:30:35 GMT
In article <1117025225.525038.169930@o13g2000cwo.googlegroups.com>,
basis_consultant@hotmail.com wrote:
> Hi,
>
> On the host containing the filesystem, I added a line to
> /etc/exports as follows:
>
> /<fs> -root=<client>, access=<client>
^
Not sure if that space is valid or not...
> I executed /usr/sbin/exportfs -a
>
> On the client, I added a line in /etc/fstab as follows;
>
><host>:/<fs> /<fs> nfs defaults 0 0
>
> On the client, I executed 'mount <serverhost>:/<fs>', but
> HP-UX (v11.11) responded with 'Permission Denied'.
>
> I am root in both client and server. Root has full permission
> on the filesystems. (I set the permissions to 777).
>
> I can telnet, ftp, etc.. from the server to the client, and
> vice-versa.
Not really relevant to NFS mounting.
> What could be causing the 'Permission Denied' response?
The server thinks you are not authorized to access, which means that if your
exports file is correct it is not resolving you host name correctly or the
client is attempting to mount from the wrong server.
To figure out what host name the server needs to see, try the following:
1) telnet from client to server and log in
2) run 'who -a | grep $LOGNAME'
3) look for the 1st entry (most recent timestanp)
4) the last field shows the host you are connecting from - that is what exports
needs to have
Be aware that the last field can be truncated, so you might have to still
figure out the correct name.
You can always put the IP address of the client in exports - it should always
work.
Kevin
-- Unix Guy Consulting, LLC Unix and Linux Automation, Shell, Perl and CGI scripting http://www.unix-guy.com
- Next message: Lars Bausch: "NOEMEM and SIGSEGV"
- Previous message: Florian Anwander: "Re: Permission Denied on NFS Mount"
- In reply to: basis_consultant_at_hotmail.com: "Permission Denied on NFS Mount"
- Next in thread: Eigenvector: "Re: Permission Denied on NFS Mount"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|