[BusyBox] NFS mount problems?

Geoffrey Espin espin at idiom.com
Fri May 17 09:47:03 UTC 2002


On Fri, May 17, 2002 at 09:57:00AM +0200, Robert Schwebel wrote:
> # mount -t nfs -o nolock 192.168.1.2:/exports /mnt
> # ls -l /mnt
> drwxr-xr-x    2 root     root         4096 Apr 19  2002 home
> But the directory is empty: 
> The server is a Debian-2.2 nfs-kernel-server; the fs is an ext3 fs. 

First, I take back my comment that "-o mountvers=2" is of little use.
If you build a kernel without CONFIG_NFS_V3 (why?) then you must
pass that option to mount.


If you have another Linux system you could try mounting /exports there.
Or you could try have the host mount its own exported fs, e.g.

  % su                    # on "Debian-2.2 nfs-kernel-server"
  % vi /etc/exports
    /home 127.0.0.1(rw)   # add this loopback export of home or whatever

  % exportfs -ra          # re-export filesystems (maybe you've not done this?)
  % mkdir /hometest
  % mount -t nfs 127.0.0.1:/home /hometest
  % df

Now you can be assured that you're exporting from your host system.

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



More information about the busybox mailing list