HELP->>mount: nfssrv:/nfsdir failed, reason given by server: Permission denied

HELP->>mount: nfssrv:/nfsdir failed, reason given by server: Permission denied

Post by Johnny E » Mon, 08 Feb 1999 04:00:00



Hi
I have nfs server and client, both RH5.0, and I cant mount an nfs filesystem
from one to another.
the /etc/exports on nfssrv is:

/nfsdir  *(rw,no_root_squash)

and when I try to mount:


/mountdir
mount: nfssrv:/nfsdir failed, reason given by server: Permission denied

what going on here???
any idea will be highly appreciated!
thanks,
Johnny El

 
 
 

HELP->>mount: nfssrv:/nfsdir failed, reason given by server: Permission denied

Post by Vladymyr Iljyc Leni » Mon, 08 Feb 1999 04:00:00



> Hi
> I have nfs server and client, both RH5.0, and I cant mount an nfs filesystem
> from one to another.
> the /etc/exports on nfssrv is:

> /nfsdir  *(rw,no_root_squash)

> and when I try to mount:


> /mountdir
> mount: nfssrv:/nfsdir failed, reason given by server: Permission denied

> what going on here???
> any idea will be highly appreciated!
> thanks,
> Johnny El

text from `man exports`
Machine Name Format
   single host
        ....
   netgroups
        ....
   wildcards (you have using it)
        Machine names may contain the wildcard characters * and ?. This
can be used to make             the exports file more compact; for instance,
*.cs.foo.edu matches all hosts in the           domain cs.foo.edu. However,
these wildcard characters do not match the dots in a            domain name, so
the above pattern does not include hosts such as a.b.cs.foo.edu.
   IP networks
        ....
   =public
        ....
end of text

then you see, your wildcard match only localhost at all
but i don't understand, why you need export some directory to the world
via nfs?

                                                                = lenin =

 
 
 

HELP->>mount: nfssrv:/nfsdir failed, reason given by server: Permission denied

Post by Johnny E » Tue, 09 Feb 1999 04:00:00


im not trying to export this to the net, this is for the lan.
there is no problem to export the fs to solaris, but to RH50 there is a
problem.
J



>> Hi
>> I have nfs server and client, both RH5.0, and I cant mount an nfs
filesystem
>> from one to another.
>> the /etc/exports on nfssrv is:

>> /nfsdir  *(rw,no_root_squash)

>> and when I try to mount:


>> /mountdir
>> mount: nfssrv:/nfsdir failed, reason given by server: Permission denied

>> what going on here???
>> any idea will be highly appreciated!
>> thanks,
>> Johnny El

>text from `man exports`
>Machine Name Format
>   single host
>   ....
>   netgroups
>        ....
>   wildcards (you have using it)
>        Machine names may contain the wildcard characters * and ?. This
>can be used to make the exports file more compact; for instance,
>*.cs.foo.edu matches all hosts in the domain cs.foo.edu. However,
>these wildcard characters do not match the dots in a domain name, so
>the above pattern does not include hosts such as a.b.cs.foo.edu.
>   IP networks
>        ....
>   =public
> ....
>end of text

>then you see, your wildcard match only localhost at all
>but i don't understand, why you need export some directory to the world
>via nfs?

> = lenin =