- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Permission denied for NFS auto mount(exportfs work...
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
тАО08-06-2009 04:12 AM
тАО08-06-2009 04:12 AM
I have one NFS server whose OS is 11.11 and one NFS client whose OS is 11.23. I enabled the automount for both servers, but I always get the error:Permission denied when I cd /mount.
however, when I disabled the automount and enable the exportfs on the nfs server and manually mount the remote system to the nfs client and it works well.
I wonder what is the possible reason for my automount failure.
here is the auto.direct from nfs client:
/mount -ro,soft,retry=2,proto=udp nfserver:/mount
I am using account root.
anyone can help?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 04:22 AM
тАО08-06-2009 04:22 AM
SolutionWhat are the directory permissions of the top-most mounted directory?
ll -d /mount
Automount requires exportfs on the NFS server just like a manual mount: there is no difference in the NFS server side. A mount is a mount.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 04:32 AM
тАО08-06-2009 04:32 AM
Re: Permission denied for NFS auto mount(exportfs works)
I agree with Matti. For automount also you need to export the directory with proper permissions you need same like NFS mount.
The only difference for automount and NFS client is, automount will mount/umount on demand basis whereas NFS client will mount the directory permenantly.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 04:33 AM
тАО08-06-2009 04:33 AM
Re: Permission denied for NFS auto mount(exportfs works)
Here is a sample(Linux) /etc/exports file.
#
/share/centos/5/iso *(rw)
/share/video *(rw,no_root_squash)
Note the no_root_squash remarks.
This is a way of suppressing the default behaviour of NFS which is to block root remote mounts.
To give help I would need to see the following:
/etc/exports configuration of the server.
/var/adm/syslog/syslog.log output on the server during the mount attempt.
Permissions on the server for the /mount/ folder. Very bad name by the way.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 04:42 AM
тАО08-06-2009 04:42 AM
Re: Permission denied for NFS auto mount(exportfs works)
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2009 04:44 AM
тАО08-06-2009 04:44 AM