knfsd: nfsd_create: dentry linux/fs not negative!

Istvan Marko (imarko@pacificnet.net)
12 Oct 1998 12:54:17 -700


Running the script enclosed on an NFS mounted directory served by
clean 2.1.125 knfsd causes the following messages within a few
iterations.

On the client:
tar: linux/fs/noquot.c: Could not create file: No such file or directory
tar: linux/fs/ufs/file.c: Could not write to file: Invalid argument
tar: linux/fs/ufs/file.c: Could not change access and modification times: Stale NFS file handle
tar: linux/fs/ufs/file.c: Cannot change mode to 0644: Stale NFS file handle
tar: linux/fs/affs/file.c: Could not write to file: Invalid argument
tar: linux/fs/affs/file.c: Could not change access and modification times: Stale NFS file handle
tar: linux/fs/affs/file.c: Cannot change mode to 0644: Stale NFS file handle
tar: Error exit delayed from previous errors

On the server:

nfsd_create: dentry test/linux not negative!
nfsd_create: dentry linux/fs not negative!

I can only reproduce this when the filesystem is exported as async. I
have tried the following NFS clients, same result:

linux-2.0.3{4,5,pre6}
solaris 2.5.1

Here is the test script:

#! /bin/sh
#
# TESTDIR should be the NFS moutned directory
# TARFILE should be a fairly large archive with lots of files
#

TESTDIR=${1:-/mnt/nfs}
TARFILE=~/stuff/patches/linux-2.1.119.tar.gz
echo Running in $TESTDIR

cd $TESTDIR
rm -rf test
mkdir test

while (cd test;tar xzf $TARFILE)
do
echo -n .
rm -rf test
mkdir test
done

-- 
	Istvan

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/