Root-NFS: Server returned error -13

3 messages, 3 authors, 2001-10-25 · open the first message on its own page

Root-NFS: Server returned error -13

From: David de Andrés Martínez <hidden>
Date: 2001-10-25 16:36:18

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/

Re: Root-NFS: Server returned error -13

From: Laurent Pinchart <hidden>
Date: 2001-10-25 16:46:52


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/

Re: Root-NFS: Server returned error -13

From: Mark Hatle <hidden>
Date: 2001-10-25 16:55:20

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help