[BusyBox] NFS mount problems?

Geoffrey Espin espin at idiom.com
Thu May 16 16:40:03 UTC 2002


On Thu, May 16, 2002 at 01:02:25PM +0200, Robert Schwebel wrote:
> I'm trying to mount an NFS dir with busybox/glibc (bb CVS from a few days
> ago). I've found somewhere in the archive that the problem with rpc.mountd
> errors on the server might come from an incompatible mount version, so I
> tried the suggested workaround. This is what I get: 
> # mount -t nfs -o mountvers=2 192.168.1.2:/exports/home /mnt
> Can't find /mnt in /etc/fstab
> Looks like the arguments are interpreted the wrong way? 

I'm not sure "mountvers=2" ever really fixed anyone's problems.

The command I usually use is:

    mount -t nfs -o nolock 10.1.1.1:/home /home

And my /etc/fstab is empty.

We'll assume that:

1. 'host' /etc/exports contains:
    /exports/home *(rw)
   or something equivalent.

2. that ping to 'host' works. :-)  [One time it didn't for me... real
    head scratcher.]

3. That Config.h enables BB_FEATURE_NFSMOUNT.
   (You are using glibc, so INCLUDE_RPC in uclibc not relevant).

4. That /mnt is a preexisting (empty) directory.

HTH,
Geoff
-- 
Geoffrey Espin
espin at idiom.com
--



More information about the busybox mailing list