Operating System - HP-UX
1820223 Members
4103 Online
109620 Solutions
New Discussion юеВ

Re: Permission denied when wanted to mount file system

 
Quare
Advisor

Permission denied when wanted to mount file system

Hi guys,

i'm a new guy in unix. Can someone help me.i got this message when i want to mount below directory.

"root@db98:/# mount db98dr:/oracle/EN1/saparch /oracle/EN1/standby/drsaparch
Permission denied"

i have checked at /etc/exports at db98dr and it stated /oracle/EN1/saparch -anon=65534

What else can i do to make this mount work out?

Please help.

Rgrds
10 REPLIES 10
Rajeev  Shukla
Honored Contributor

Re: Permission denied when wanted to mount file system

use -o root=db98 in exportfs file..
or try exporting on db98dr as
/etc/exportfs -i -o root=db98 oracle/EN1/saparch
RAC_1
Honored Contributor

Re: Permission denied when wanted to mount file system

root is treated as anonymous user. You will have to re-export the mount with explicit root option.
-o root=host_name
There is no substitute to HARDWORK
Arunvijai_4
Honored Contributor

Re: Permission denied when wanted to mount file system

Hello,

Check this link, Common Problems with NFS in NFS services admin guide,

http://docs.hp.com/en/5991-1811/ch08s01.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Quare
Advisor

Re: Permission denied when wanted to mount file system

Hi there,

i did what u all suggest but the result remain the same.

what else can i do.

Rgds
RAC_1
Honored Contributor

Re: Permission denied when wanted to mount file system

Just modifying the file is not enough. You will have to re-export the shares.

exportfs -av (on server) now try mounting the share.
There is no substitute to HARDWORK
Quare
Advisor

Re: Permission denied when wanted to mount file system

Hi Guys,

how to change mod -rw-r----- to -rw-rw-rw-?

Rdgs
Arunvijai_4
Honored Contributor

Re: Permission denied when wanted to mount file system

# chmod 666

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Permission denied when wanted to mount file system

Is it your thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=985707

Try with the solution there.

-Muthu

Easy to suggest when don't know about the problem!
Tvs
Regular Advisor

Re: Permission denied when wanted to mount file system

hi.

can u try with

/oracle/EN1/saparch -anon=0 # give all machines root access

regards


tvs
Dave Olker
Neighborhood Moderator

Re: Permission denied when wanted to mount file system

Hi Muthukumar,

I wrote a long explanation of how to troubleshoot these problems in the link you provided. Now that link is gone. Any idea why? Were these duplicate threads? Is there any way to get that thread back or do I have to type in those instructions again?

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo