- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Permission Denied errors
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2006 01:50 AM
тАО12-19-2006 01:50 AM
NFS Client = 11.11
/etc/exports file contents:
/export -anon=2
/var/opt/ignite/clients -anon=2
/var/opt/ignite/recovery/archives/host1 -anon=2,access=host1
/var/opt/ignite/recovery/archives/host2 -anon=2,access=host2
/var/opt/ignite/recovery/archives/host3 -anon=2,access=host3
(this pattern repeats out to host28 and hosts are HP-UX versions 11.0, 11.11, 11.23 PA-RISC and Itanium)
/var/opt/ignite/recovery/archives is a seperate filesystem.
When I attempt to mount on host1:
mount hpignite:/var/opt/ignite/recovery/archives/host1 /test
I get the error message "Permission Denied". Host1 is the only server that I experience that problem on. Also, host1 is able to mount both the /export filesystem and the /var/opt/ignite/clients filesystem. I have also tried removing the access=host1 flag with no luck and tried mounting a different directory in in /var/opt/ignite/recovery/archives (by both removing the access= flag and adding host one to the access= flag) - no luck. All permissions and ownership are the same on all of the directories, both the ones that work and the ones that don't (755, bin:bin)
Thoughts??? Points will be given...
Solved! Go to Solution.
- Tags:
- NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2006 01:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2006 01:59 AM
тАО12-19-2006 01:59 AM
Re: NFS Permission Denied errors
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2006 02:30 AM
тАО12-19-2006 02:30 AM
Re: NFS Permission Denied errors
Check your Name resolution or else check the permission of the directories
/var/opt/ignite/recovery/archives/host1
/var/opt/ignite/recovery/archives/host2
/var/opt/ignite/recovery/archives/host3
They should be bin:bin and 755.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2006 03:05 AM
тАО12-19-2006 03:05 AM
Re: NFS Permission Denied errors
Jeff and Chan - I should have mentioned that I had checked resolution and forward and backward were both working on the client and the server.
10 points still up for grabs...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2006 03:12 AM
тАО12-19-2006 03:12 AM
Re: NFS Permission Denied errors
does your /etc/passwd file match the requirements as specified in "man exportfs"
"anon=uid
If a request comes from an unknown user, use uid as the
effective user ID.
Root users (user ID 0) are always treated as user
unknown by the NFS server unless they are included in
the root option below.
If the client is a UNIX system, only root users are
considered unknown. All other users are recognized
even if they are not in /etc/passwd.
The default value for uid is the user ID of user
nobody. If user nobody does not exist, the value -2 is
used. Setting the value of anon to -1 disables
anonymous access."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2006 03:22 AM
тАО12-19-2006 03:22 AM
Re: NFS Permission Denied errors
I would of also recomended you check the hosts file for name resolution etc. but if you've checked that I'm a little unsure. Maybe try ipaddress ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2006 02:56 AM
тАО12-26-2006 02:56 AM
Re: NFS Permission Denied errors
gstonian: no, the filesystem won't mount if there are any mount options in the /etc/exports file on the server. I also tried via IP and that didn't work either.
Peter Godron: I'm not sure how to apply your suggestion. At first I thought that maybe the bin user ID was different on this client - but, alas, that is not the case. I can't find any differences in the password files of the clients that work and this one that does not.
General update:
As you may have guessed I am using these NFS mount points for the purpose of completing Ignite backups. Even though I am able to mount the directory through an open shell (after I removed all mount options as I described above), Ignite is still not able to perform it's mount process and fails with "Permission Denied".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2006 03:27 AM
тАО12-26-2006 03:27 AM
Re: NFS Permission Denied errors
Are the working clients also hp-ux 11.11?
Have you looked at the archive dir for host1 on the IUX server and compare to working host's dir?
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-26-2006 03:33 AM
тАО12-26-2006 03:33 AM
Re: NFS Permission Denied errors
/usr/sbin/showmount -e ignite_server |grep host1
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2006 12:32 AM
тАО12-27-2006 12:32 AM
Re: NFS Permission Denied errors
The IUX server is a multi-homed host so I am not traversing a firewall to get to any client. I have clients at all levels of 11+ and this is the only one that I have problems. Also, remember that I said that I could NFS mount other directories just nothing in /var/opt/ignite/recovery/archives.
The showmount command indicates that the NFS mount point is exported and that the client can (actually everyone) can connect to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-27-2006 12:55 AM
тАО12-27-2006 12:55 AM
Re: NFS Permission Denied errors
from iux server,
exportfs -uv /var/opt/ignite/recovery/archives/host1
exportfs -v -o anon=2,access=host1.ip.address /var/opt/ignite/recovery/archives/host1
from host1,
mount -F nfs iux_server:/var/opt/ignite/recovery/archives/host1 /var/opt/ignite/recovery/arch_mnt
Does it still return permission denied?
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2013 09:19 AM
тАО12-13-2013 09:19 AM
Re: NFS Permission Denied errors
Hi to all,
I am alos having same issue.Unable mount nfs mount in nfs client machine.Showing Permission denied.
I have checked from nfs server exports file.nfs client machine is having access.
In nfs server i found nslookup it is showing wrongs resoultion.and corrected the host file in nfs server.
then i able to mount nfs mount point.
Thanks to all.
With Regards,
Mahesh