linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Root-NFS: Server returned error -13
@ 2001-10-25 16:36 David de Andrés Martínez
  2001-10-25 16:46 ` Wolfgang Denk
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David de Andrés Martínez @ 2001-10-25 16:36 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all,

I'm trying to boot from NFS but I can't access the directory.
The NFS server is torreta (158.42.50.79)
The client is stk823L (158.42.50.66)

Here is the error message:
....
Looking up port of RPC 100003/2 on 158.42.50.79
Looking up port of RPC 100005/2 on 158.42.50.79
Root-NFS: Server returned error -13 while mounting
/tftpboot/158.42.50.66
VFS: Unable to mount root fs via NFS, trying floppy
....

The server shows the following /var/log/messages:
....
torreta mountd[20966]: NFS mount of /tftpboot/158.42.50.66 attempted
from 158.42.50.66
torreta mountd[20966]: NFS client stk823L.disca.upv.es tried to access
/tftpboot/158.42.50.66
torreta mountd[20966]: Blocked attempt of 158.42.50.66 to mount
/tftpboot/158.42.50.66
....

The /etc/exports looks like:
....
/home/ddandres/export 158.42.50.66(rw,no_root_squash)
....

The /etc/hosts is:
127.0.0.1	localhost
158.42.50.79	torreta.disca.upv.es	torreta
158.42.50.66	stk823l.disca.upv.es	stk823L

The "rpcinfo -p" command sais:
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp    791  mountd
    100005    2   udp    791  mountd
    100005    1   tcp    794  mountd
    100005    2   tcp    794  mountd
    100003    2   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100021    1   udp   1072  nlockmgr
    100021    3   udp   1072  nlockmgr
    100021    1   tcp   1579  nlockmgr
    100021    3   tcp   1579  nlockmgr

Can anyone guess which is the problem?

--
----------------------------------------------------------------------
| David de Andrés Martínez   | Fault Tolerant Systems research Group |
|                            |                                       |
| Computer Science Engineer  | Email: ddandres@disca.upv.es          |
| Doctorate Student          | Phone: +34 96 387.75.74 Ext 75774     |
|                            | Fax: +34 96 387.75.79                 |
-------Address--------------------------------------------------------
|                 DISCA-EUI                                          |
|                 Universidad Politécnica de Valencia                |
|                 Campus de Vera #14                                 |
|                 Valencia E-46021                                   |
|                 Spain                                              |
----------------------------------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Root-NFS: Server returned error -13
  2001-10-25 16:36 Root-NFS: Server returned error -13 David de Andrés Martínez
@ 2001-10-25 16:46 ` Wolfgang Denk
  2001-10-25 16:46 ` Laurent Pinchart
  2001-10-25 16:55 ` Mark Hatle
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2001-10-25 16:46 UTC (permalink / raw)
  To: David de Andrés Martínez; +Cc: linuxppc-embedded


In message <3BD83F82.BE5C66A5@disca.upv.es> you wrote:
>
> I'm trying to boot from NFS but I can't access the directory.
...
> Root-NFS: Server returned error -13 while mounting

errno 13 = Permission denied

> torreta mountd[20966]: Blocked attempt of 158.42.50.66 to mount

Seems onvious: you have blocked access for the target to your server;
check your host access control files (/etc/hosts.allow).

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Whenever people agree with me, I always think I must be wrong.
- Oscar Wilde

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Root-NFS: Server returned error -13
  2001-10-25 16:36 Root-NFS: Server returned error -13 David de Andrés Martínez
  2001-10-25 16:46 ` Wolfgang Denk
@ 2001-10-25 16:46 ` Laurent Pinchart
  2001-10-25 16:55 ` Mark Hatle
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2001-10-25 16:46 UTC (permalink / raw)
  To: owner-linuxppc-embedded; +Cc: linuxppc-embedded


>
>
>torreta mountd[20966]: Blocked attempt of 158.42.50.66 to mount
>/tftpboot/158.42.50.66
>....
>
>The /etc/exports looks like:
>....
>/home/ddandres/export 158.42.50.66(rw,no_root_squash)
>....
>
/etc/exports obviously doesn't allow 158.42.50.66 to access
/tftpboot/158.42.50.66

Laurent Pinchart


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Root-NFS: Server returned error -13
  2001-10-25 16:36 Root-NFS: Server returned error -13 David de Andrés Martínez
  2001-10-25 16:46 ` Wolfgang Denk
  2001-10-25 16:46 ` Laurent Pinchart
@ 2001-10-25 16:55 ` Mark Hatle
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2001-10-25 16:55 UTC (permalink / raw)
  To: David de Andrés Martínez; +Cc: linuxppc-embedded


David de Andrés Martínez wrote:
>
> Hi all,
>
> I'm trying to boot from NFS but I can't access the directory.
> Root-NFS: Server returned error -13 while mounting
> /tftpboot/158.42.50.66

> torreta mountd[20966]: NFS mount of /tftpboot/158.42.50.66 attempted

> The /etc/exports looks like:
> ....
> /home/ddandres/export 158.42.50.66(rw,no_root_squash)
> ....

If you notice the kernel is attempting to mount "/tftpboot/158.42.50.66"
while you have "/home/ddandres/export" as your only export.

What you need to do is set a symbolic link from /tftpboot/158.42.50.66
to /home/ddandres/export.  (Depending on the nfs server that might be
enough..  if not you will need to add "/tftpboot/158.42.50.66" to your
/etc/exports file..

--Mark

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-10-25 16:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-25 16:36 Root-NFS: Server returned error -13 David de Andrés Martínez
2001-10-25 16:46 ` Wolfgang Denk
2001-10-25 16:46 ` Laurent Pinchart
2001-10-25 16:55 ` Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).