Root-NFS: Server returned error -13
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 nlockmgrCan anyone guess which is the problem?
--
----------------------------------------------------------------------
| David de Andrés Martínez | Fault Tolerant Systems research Group | | | | | Computer Science Engineer | Email: [email protected] | | 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/
Quoted 2 lines · In message <[email protected]> you wrote:
I'm trying to boot from NFS but I can't access the directory.
...
Quoted 1 line
Root-NFS: Server returned error -13 while mounting
errno 13 = Permission denied
Quoted 1 line
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: [email protected] 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/
Quoted 12 lines
torreta mountd[20966]: Blocked attempt of 158.42.50.66 to mount /tftpboot/158.42.50.66
....The
/etc/exportslooks like:
..../home/ddandres/export158.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/
Quoted 7 lines · David de Andrés Martínez
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
Quoted 6 lines
torreta mountd[20966]: NFS mount of /tftpboot/158.42.50.66 attempted
The
/etc/exportslooks like:
..../home/ddandres/export158.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/