[BusyBox] mount nfs error msg
Bradley A. Barrett
brad at patton.com
Thu Feb 13 08:38:03 UTC 2003
It's not a BusyBox "error" but it probably is a BusyBox "quirk". There are
several tricks to getting BusyBox to mount an NFS volume.
1) BusyBox mount defaults to NFS version 3. You need to make sure that your
NFS server supports v3, and that your host kernel is compiled to support v3.
Or you can force version 2 by adding "-o vers=2" to the mount command.
2) You're getting RPC errors because you don't have a portmap daemon running
on your host. You can either run a portmap daemon, or bypass it with the "-o
nolock" option.
3) Someone has reported needing to force BusyBox mount to mount version 2.
This is a "-o mountvers=2".
See the following for more:
1) http://www.busybox.net/lists/busybox/2002-July/011918.html
2) http://www.busybox.net/lists/busybox/2001-December/010603.html
3) http://www.busybox.net/lists/busybox/2002-May/011467.html
In your case the problem is almost certainly #2. You're probably past #3,
but #1 could still come up, so that's why I mentioned it.
Brad
------
Brad Barrett
Staff Engineer, Patton Electronics
brad at patton.com
On Thursday 13 February 2003 01:59 am, Wolfgang Denk wrote:
> In message <001101c2d30d$d37bb290$0200a8c0 at ycigrnd.ycig.com> you wrote:
> > busybox0.6.5 with kernel 2.4.20-pre7
> >
> > when I mount nfs like
> >
> > #mount -t nfs 192.168.0.241:/home/leo/eldk/ppc_8xx /mnt
> > #RPC: sendmsg returned error 101
> > #portmap: RPC call returned error 101
> > #RPC: sendmsg returned error 101
> > #portmap: RPC call returned error 101
> > #RPC: sendmsg returned error 101
> > #portmap: RPC call returned error 101
>
> What makes you think this could be a BB error?
>
> -> grep 101 /usr/include/*/errno.h
> /usr/include/asm/errno.h:#define ENETUNREACH 101 /* Network
> is unreachable */
>
> > but it really successfully mount on the remote nfs server,
> > I did not know why it will say so.
>
> It tells you why: Network is unreachable
>
> This has nothing to do with busybox. Check your target's network
>
> configuration (and maybe have a look at www.denx.de/re/DPLG.html).
>
> Best regards,
>
> Wolfgang Denk
More information about the busybox
mailing list