2.6.x NFS and NFSD

From: Wakko Warner (wakko@animx.eu.org)
Date: Wed Jul 30 2003 - 17:51:15 EST


Anyone had any luck with either of these?

2.6.x as a server:
I'm using nfs-kernel-server v1.0.5-1 (debian).
Config Ops:
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y << I didn't configure this, where'd it come from?
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
This is in /etc/exports:
/ vegeta(rw,no_root_squash,async,nohide)

on the machine vegeta, I mount this machine (kingkai:/ /mnt), cd to /mnt, do
ls, and ls hangs. client uses kernel 2.4.20 with NFSv3 enabled and it was
mounted v3.

2.6.x as a client:
If the server is using 2.4.x with the kernel nfs server, all's fine except
for nohide. I have a 2.4.21 alpha machine exporting / and /raid-0 with the
nohide option. If I mount it to /mnt and cd /mnt/raid-0 there's nothing
there. On 2.4.20 client this works. (NFSv3 here)

If the server is using the userspace nfs server (I don't like exporting all
those mount points with nohide and this works for me on most machines that I
access occasionally. I assume userspace is NFSv2. 2.2beta47-12) Kernel
2.6.x will simply say the nfs server is not responding if I do an ls. If I
copy a file (not using tab completion), it seems to work.

client options:
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set

Now on a positive note, my hp scanjet 5370c works with 2.6.0-test2 great
where as 2.4 it doesn't. the NFS is holding me back.

P.S.
Vegeta: kernel 2.4.20, userspace nfs, inspiron 8100 1ghz pIII 256mb ram
        NIC: intel 10/100
Kingkai: Kernel 2.6.0-test1, kernel nfs, home build 700mhz pIII 256mb ram
        NIC: 3com 3cr990srv 10/100 MainBoard: MSI MS-6163 v2
Alpha: Kernel 2.4.21, kernel nfs, AlphaServer 1000A 4/266 160mb ram
        NIC: Dec Tulip 10/100

All machines use ext3 as the local filesystem.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:47 EST