"Permission denied" when NFS client tries to mount share on NSS file system.
(Last modified: 11May2006)
This document (10101044) is provided subject to the disclaimer at the end of this document.
fact
Novell Storage Services
Novell Linux Open Enterprise Server
SuSE Linux NFS Server
symptom
"Permission denied" when NFS client tries to mount share on NSS file system.
Cannot export NFS shares located on OES Linux SP2 NSS volumes
Error at NFS client (on screen): "mount: 10.31.0.10:/media/nss/NSS_VOLUME failed, reason given by server: Permission denied"
Error at NFS server (in /var/log/messages file): "rpc.mountd: refused mount request from dhcp-68-34.cpl.novell.com for /media/nss/NSS_Volume/ (/): not exported"
fix
When exporting an NSS Volume with SuSE Linux NFS Server, the "/etc/exports" file needs to have the following attributes:
rw,no_root_squash,sync,fsid=value
The "fsid" value can be anything greater or equal to 0. You need to use a unique "fsid" for any NSS volume or directory being exported.
note
linux:~ # mount -t nfs 10.31.0.100:/media/nss/NSS_VOLUME /media/NSS_Volume/
mount: 10.31.0.10:/media/nss/NSS_VOLUME failed, reason given by server: Permission denied
The servers "/var/log/messages" reports one of the following messages:
rpc.mountd: authenticated mount request from linux:983 for /media/nss/NSS_VOLUME (/media/nss/NSS_VOLUME)
rpc.mountd: refused mount request from dhcp-68-34.cpl.novell.com for /media/nss/NSS_Volume/ (/): not exported
The server is an OES Linux SP2.
It has one NSS volume which is exported. The configuration in the "/etc/exports" is the following:
/media/nss/NSS_VOLUME/ *(rw,root_squash,sync)
document
Document Title: | "Permission denied" when NFS client tries to mount share on NSS file system. |
Document ID: | 10101044 |
Solution ID: | NOVL105828 |
Creation Date: | 03May2006 |
Modified Date: | 11May2006 |
Novell Product Class: | Linux |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.