Linux NFS development
 help / color / mirror / Atom feed
* the kernel 2.4 can not mount kernel 2.6 nfs exports.
       [not found] <a61da3d70503301814a08aa5d@mail.gmail.com>
@ 2005-03-31  6:31 ` haichuang xing
  0 siblings, 0 replies; only message in thread
From: haichuang xing @ 2005-03-31  6:31 UTC (permalink / raw)
  To: nfs

in kernel 2.6 server:
/etc/exports:
/home/webadm/htdocs *(ro,all_squash)

in kernel 2.4 server:
#mount -t nfs -o ro nfsserver:/home/webadm/htdocs /mnt/nfs

i get:
mount: wrong fs type, bad option, bad superblock on
nfsserver:/home/webadm/htdocs, or too many mounted file systems

use strace:

strace mount -t nfs -o ro nfsserver:/home/webadm/htdocs /mnt/nfs

i found:

mount("nfsserver:/home/webadm/htdocs", "/mnt/nfs", "nfs",
MS_RDONLY|0xc0ed0000, 0x80598e0) = -1 EINVAL (Invalid argument)

why?

sorry for my poor english.


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-31  6:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <a61da3d70503301814a08aa5d@mail.gmail.com>
2005-03-31  6:31 ` the kernel 2.4 can not mount kernel 2.6 nfs exports haichuang xing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox