On Fri, Jan 05, 2007 at 01:25:39PM +0100, Trond Myklebust wrote: > On Fri, 2007-01-05 at 10:42 +0800, Fengguang Wu wrote: > > Hi Neil, > > > > NFS mounting succeeded, but the kernel gives a warning. > > I'm running 2.6.20-rc2-mm1. > > > > # mount -o vers=3 localhost:/suse /mnt > > [ 689.651606] svc: unknown version (3) > > # mount | grep suse > > localhost:/suse on /mnt type nfs (rw,nfsvers=3,addr=127.0.0.1) > > Are you perhaps running the userland NFS server instead of knfsd? The > former will only support NFSv2.
I'm running kernel nfs servers: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 5451 0.0 0.0 0 0 ? S 19:30 0:00 [nfsd] root 5452 0.0 0.0 0 0 ? S 19:30 0:00 [nfsd] root 5453 0.0 0.0 0 0 ? S 19:30 0:00 [nfsd] root 5454 0.0 0.0 0 0 ? S 19:30 0:00 [nfsd] root 5455 0.0 0.0 0 0 ? S 19:30 0:00 [nfsd] root 5456 0.0 0.0 0 0 ? S 19:30 0:00 [nfsd] root 5457 0.0 0.0 0 0 ? S 19:30 0:00 [nfsd] root 5458 0.0 0.0 0 0 ? S 19:30 0:00 [nfsd] root 5449 0.0 0.0 0 0 ? S< 19:30 0:00 [rpciod/0] root 5450 0.0 0.0 0 0 ? S< 19:30 0:00 [rpciod/1] root 5462 0.0 0.0 7940 672 ? Ss 19:30 0:00 /usr/sbin/rpc.mountd statd 5527 0.0 0.0 7892 1084 ? Ss 19:30 0:00 /sbin/rpc.statd root 5538 0.0 0.0 23168 764 ? Ss 19:30 0:00 /usr/sbin/rpc.idmapd My system is Debian etch. And I just found that CONFIG_NFSD_V4 is irrelevant, the message remains even if it is disabled. I'll check more kernel versions. Thanks, Wu - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/