- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mount NFS locally - permission denied
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
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
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
04-29-2008 12:10 AM
04-29-2008 12:10 AM
mount NFS locally - permission denied
On my HPUXv3 box im trying to mount an exported TRU64 directory.
#showmount -e
It's listed in the client fstab
nfs_tru64server_ip:/dir /mount_point nfs nointr,noac,forcedirectio,rw,bg,suid 0 0
mount -F nfs nfs_server_ip:/dir /mount_point gives the message:
nfs mount: ip_address:/dir: Permission denied
Any thoughts where the problem is?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 12:20 AM
04-29-2008 12:20 AM
Re: mount NFS locally - permission denied
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 12:31 AM
04-29-2008 12:31 AM
Re: mount NFS locally - permission denied
eg:
/home/sajjad/tmp1 -access=server2
exportfs -a
check the file permission of /home/sajjad/tmp1
ls -l /home/sajjad/tmp1
give proper permission for that directory
this is the root cause u are getting permission denied error
check u true64 directory i am sure u diddn't give proper permission for that directory just give grant permission
then try
in server2
make a dir
tmp2
mount server1:/home/sajjad/tmp1 /tmp2
cd /tmp2
u can see u file there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 12:40 AM
04-29-2008 12:40 AM
Re: mount NFS locally - permission denied
Verify by running these commands on the NFS server (TRU64):
nslookup
nslookup
Both nslookup commands should give the same name & address pair as a result. If not, you have a DNS problem.
Also check the /etc/hosts file on the tru64 server: if it has obsolete information, it may locally override the good information in DNS.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 02:03 AM
04-29-2008 02:03 AM
Re: mount NFS locally - permission denied
The filesystem has been exported from the tru64 server (exportfs -a)
Sajjad>
Im using 11iv3 so theres no /etc/exports file. It uses dfstab instead. I appreciate the post though.
Matti>
Name resolution is fine from both sides, by hostname and IP. hosts file also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 02:06 AM
04-29-2008 02:06 AM
Re: mount NFS locally - permission denied
drwxr-xr-x 3 500 dba 8192 Nov 6 15:49 tmpsso
Are permissions and owner/group details ok?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 02:12 AM
04-29-2008 02:12 AM
Re: mount NFS locally - permission denied
dear
can u remount it again
i mean stop mount
then remount then it will get rw permission
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 02:13 AM
04-29-2008 02:13 AM
Re: mount NFS locally - permission denied
dear
can u give grant permission to that file
i mean chmod 777 then just check it
please revert back
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 02:14 AM
04-29-2008 02:14 AM
Re: mount NFS locally - permission denied
dear
can u give grant permission to that file
i mean chmod 777 then just check it
please revert back also
can u mount wiht hostname not an ip
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 02:21 AM
04-29-2008 02:21 AM
Re: mount NFS locally - permission denied
Im using 11iv3 so theres no /etc/exports file. /Quote
I think Sajjad was referring to the /etc/exports file on the TRU64 box, not the HP-UX box.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 02:46 AM
04-29-2008 02:46 AM
Re: mount NFS locally - permission denied
Dear Slyder
it was by mistakely happened
thanks and regards
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 02:56 AM
04-29-2008 02:56 AM
Re: mount NFS locally - permission denied
I tried to mount with the hostname. Changed teh permissions to 777 and root:sys. Still the same - permission denied.
It's a strange one.....
nfs_server# showmount -e
Exports list on localhost:
/tmpsso client1 client2
so everythings ok there.
i exported it out to a different tru64 server and it worked but still cant mount it on hpux
Does this look ok? in fstab
nfs_tru64server_ip:/dir /mount_point nfs nointr,noac,forcedirectio,rw,bg,suid 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 03:13 AM
04-29-2008 03:13 AM
Re: mount NFS locally - permission denied
Still puzzled why this made any difference but a fix is a fix. hostame resolving can be tricky
Many thanks to all who contributed.
briano