All of lore.kernel.org
 help / color / mirror / Atom feed
* "Permission Denied" when attempting mount command - Any help appreciated
@ 2006-03-21 20:18 Brookes, John
  2006-03-21 21:33 ` Peter Staubach
  2006-03-21 23:27 ` Trond Myklebust
  0 siblings, 2 replies; 4+ messages in thread
From: Brookes, John @ 2006-03-21 20:18 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: text/plain, Size: 3081 bytes --]

Hello,
I am running redhat linux 4 enterprise version. (I'll be glad to send
more version info, but you'll have to tell me how to find it. :)

The exports file on the server machine is:

/usr/lib    *(async, all_squash)
/root/try/   *(rw)

I added the second line to exports and ran exportfs -ra afterwords.

Running rpcinfo -p on the server box produces:

   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32770  status
    100011    1   udp    641  rquotad
    100011    2   udp    641  rquotad
    100011    1   tcp    644  rquotad
    100011    2   tcp    644  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  34146  nlockmgr
    100021    3   udp  34146  nlockmgr
    100021    4   udp  34146  nlockmgr
    100021    1   tcp  33275  nlockmgr
    100021    3   tcp  33275  nlockmgr
    100021    4   tcp  33275  nlockmgr
    100005    1   udp    662  mountd
    100005    1   tcp    665  mountd
    100005    2   udp    662  mountd
    100005    2   tcp    665  mountd
    100005    3   udp    662  mountd
    100005    3   tcp    665  mountd

Running rpcinfo on the client:

   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32769  status
    100011    1   udp    779  rquotad
    100011    2   udp    779  rquotad
    100011    1   tcp    782  rquotad
    100011    2   tcp    782  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  32771  nlockmgr
    100021    3   udp  32771  nlockmgr
    100021    4   udp  32771  nlockmgr
    100021    1   tcp  33975  nlockmgr
    100021    3   tcp  33975  nlockmgr
    100021    4   tcp  33975  nlockmgr
    100005    1   udp    800  mountd
    100005    1   tcp    803  mountd
    100005    2   udp    800  mountd
    100005    2   tcp    803  mountd
    100005    3   udp    800  mountd
    100005    3   tcp    803  mountd


The mount command and response:

[root@redhat13 mnt]# mount -o intr,timeo=50 ds10.test.lab:root/try
mnt/jbrookes
mount: ds10.test.lab:root/try failed, reason given by server: Permission
denied

I am logged in as root on both machines. I have tried many different
combinations, but same negative result.
Machine A (which is the server in this example) can successfully mount
the volumes on machine B when it is functioning as client, but not the
other way around. (as illustrated by the mount command above.)

Anyone can offer me any clues into this puzzling problem?

Thanks in advance,

John Brookes



[-- Attachment #2: Type: text/html, Size: 9209 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: "Permission Denied" when attempting mount command - Any help appreciated
@ 2006-03-21 21:38 Brookes, John
  0 siblings, 0 replies; 4+ messages in thread
From: Brookes, John @ 2006-03-21 21:38 UTC (permalink / raw)
  To: Peter Staubach; +Cc: nfs

Yes, a forward slash makes no difference. -John B
Thanks

-----Original Message-----
From: Peter Staubach [mailto:staubach@redhat.com]=20
Sent: Tuesday, March 21, 2006 1:33 PM
To: Brookes, John
Cc: nfs@lists.sourceforge.net
Subject: Re: [NFS] "Permission Denied" when attempting mount command -
Any help appreciated


Brookes, John wrote:

> Hello,
> I am running redhat linux 4 enterprise version. (I'll be glad to send
> more version info, but you'll have to tell me how to find it. :)
>
> The exports file on the server machine is:
>
> /usr/lib    *(async, all_squash)
> /root/try/   *(rw)
>
> I added the second line to exports and ran exportfs -ra afterwords.
>
> Running rpcinfo -p on the server box produces:
>
>    program vers proto   port
>     100000    2   tcp    111  portmapper
>     100000    2   udp    111  portmapper
>     100024    1   udp  32768  status
>     100024    1   tcp  32770  status
>     100011    1   udp    641  rquotad
>     100011    2   udp    641  rquotad
>     100011    1   tcp    644  rquotad
>     100011    2   tcp    644  rquotad
>     100003    2   udp   2049  nfs
>     100003    3   udp   2049  nfs
>     100003    4   udp   2049  nfs
>     100003    2   tcp   2049  nfs
>     100003    3   tcp   2049  nfs
>     100003    4   tcp   2049  nfs
>     100021    1   udp  34146  nlockmgr
>     100021    3   udp  34146  nlockmgr
>     100021    4   udp  34146  nlockmgr
>     100021    1   tcp  33275  nlockmgr
>     100021    3   tcp  33275  nlockmgr
>     100021    4   tcp  33275  nlockmgr
>     100005    1   udp    662  mountd
>     100005    1   tcp    665  mountd
>     100005    2   udp    662  mountd
>     100005    2   tcp    665  mountd
>     100005    3   udp    662  mountd
>     100005    3   tcp    665  mountd
>
> Running rpcinfo on the client:
>
>    program vers proto   port
>     100000    2   tcp    111  portmapper
>     100000    2   udp    111  portmapper
>     100024    1   udp  32768  status
>     100024    1   tcp  32769  status
>     100011    1   udp    779  rquotad
>     100011    2   udp    779  rquotad
>     100011    1   tcp    782  rquotad
>     100011    2   tcp    782  rquotad
>     100003    2   udp   2049  nfs
>     100003    3   udp   2049  nfs
>     100003    4   udp   2049  nfs
>     100003    2   tcp   2049  nfs
>     100003    3   tcp   2049  nfs
>     100003    4   tcp   2049  nfs
>     100021    1   udp  32771  nlockmgr
>     100021    3   udp  32771  nlockmgr
>     100021    4   udp  32771  nlockmgr
>     100021    1   tcp  33975  nlockmgr
>     100021    3   tcp  33975  nlockmgr
>     100021    4   tcp  33975  nlockmgr
>     100005    1   udp    800  mountd
>     100005    1   tcp    803  mountd
>     100005    2   udp    800  mountd
>     100005    2   tcp    803  mountd
>     100005    3   udp    800  mountd
>     100005    3   tcp    803  mountd
>
>
> The mount command and response:
>
> [root@redhat13 mnt]# mount -o intr,timeo=3D50 ds10.test.lab:root/try
> mnt/jbrookes
> mount: ds10.test.lab:root/try failed, reason given by server:=20
> Permission denied
>

Is it safe to assume that trying to mount "ds10.test.lab:/root/try"
instead of "ds10.test.lab:root/try" results in the same thing?

    Thanx...

       ps

> I am logged in as root on both machines. I have tried many different
> combinations, but same negative result.
> Machine A (which is the server in this example) can successfully mount

> the volumes on machine B when it is functioning as client, but not the

> other way around. (as illustrated by the mount command above.)
>
> Anyone can offer me any clues into this puzzling problem?
>
> Thanks in advance,
>
> John Brookes
>
>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-21 23:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-21 20:18 "Permission Denied" when attempting mount command - Any help appreciated Brookes, John
2006-03-21 21:33 ` Peter Staubach
2006-03-21 23:27 ` Trond Myklebust
  -- strict thread matches above, loose matches on Subject: below --
2006-03-21 21:38 Brookes, John

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.