busybox with NFS version 4 ?

Steven Shiau steven at nchc.org.tw
Tue Jul 25 06:43:51 UTC 2006


The same program "mount" from busybox 1.2.0 can mount directory from
nfs3 server successfully by:
mount -t nfs -o ro 192.168.100.254:/tftpboot/node_root /sysroot
However, when I tried to run it like:
mount -t nfs4 -o ro 192.168.100.254:/ /sysroot
It complained "mount: Mounting 192.168.100.254:/ on /mnt failed: Invalid
argument"

nfs4 is not compatible with nfs3, I am trying to following this
http://nfsv4.bullopensource.org/doc/NFS3_NFS4_migration.pdf
to migrate from nfs3 to nfs4.
Now only succeeded with the program "mount" from util-linux, not "mount"
from busybox. I wish it can be done in busybox.

Thanks.

Regards,
Steven.


Rob Landley wrote:
> On Monday 24 July 2006 2:53 am, Steven Shiau wrote:
>> Hello,
>> I am trying to use busybox 1.2.0 in my i386 linux box to mount a NFS
>> server with nfs version 4, but it seems that busybox right now does not
>> support "mount -t nfs4" ? Since I got an error:
>> "mount: Mounting 192.168.100.254:/ on /mnt failed: Invalid argument"
>> Where am I wrong ? If not, is there any plan to support nfs4 in the
>> future version ?
> 
> Nobody's ever tried to use nfs4 with busybox before, it seems.
> 
> We recognize the string "nfs" and have special support for it (if you enable 
> that in the config).  Will nfs4 work with the normal nfs setup?
> 
> Rob

-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 9762755A



More information about the busybox mailing list