*BSD News Article 96913


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!ix.netcom.com!fortress.broadcom.com!scorpion.broadcom.com!usenet
From: jsin@scorpion.broadcom.com (John Sin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help with FreeBSD 2.2.2-RELEASE NFS/automounter problem
Date: 3 Jun 1997 17:14:58 -0700
Organization: Broadcom Corporation
Lines: 43
Message-ID: <5n2c22$3m1$1@scorpion.broadcom.com>
References: <5n05bh$2ci$1@scorpion.broadcom.com> <5n1cf7$k04$1@news.eecs.umich.edu>
NNTP-Posting-Host: scorpion.broadcom.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42229

In article <5n1cf7$k04$1@news.eecs.umich.edu>,
Peter M. Chen <pmchen@life.eecs.umich.edu> wrote:
>I also have problems with amd on 2.2.2 (I use it to mount remote file systems,
>not local disk as you do).  I posted to comp.unix.bsd.freebsd.misc but got no
>info.  Interestingly, the amd distributd with 2.2.1 works just fine.  I suspect
>it's got something to do with the switch to NFSv3, but I haven't looked into
>it much.  I just use 2.2.1.

What kind of problems do you have?  At least for me, I haven't seen a
problem with NFS in general; only when I'm re-mounting local file system
via NFS.

I did some more testing, and now it appears that the problem doesn't
involve amd at all.

Here's what I did:
	mount localhost:/ /mnt
	cp /tmp/bigfile /mnt/tmp/bigfile.copy

The file has to be non-trivial in size - I've gotten it to fail at 2.5MB
or so, but it seems to work OK if the file is about 1.2MB.  Copying FROM
/mnt/tmp to /tmp works -- so problem is with writing only.

Since I'm using localhost (127.0.0.1), I think it's safe to say that the
ethernet driver isn't involved in the equation.  I also tried SCSI disks
as well as IDE drives, and the problem occurs with both.

And, here's the output of "ps axl | grep nfs":

UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
  0    96     1   9   2  0   232  116 accept Is    ??    0:00.01 nfsd: master
  0   100    96   0 -14  0   224  104 uihget D     ??    0:00.51 nfsd: server
  0   101    96   0  -1  0   224  104 nfsrcv D     ??    0:00.05 nfsd: server
  0   102    96   0 -14  0   224  104 uihget D     ??    0:00.01 nfsd: server
  0   103    96   0 -14  0   224  104 uihget D     ??    0:00.00 nfsd: server
  0   109     1   0   2  0   208   88 sbwait D     ??    0:00.24 nfsiod -n 4
  0   110     1   0  -1  0   208   88 nfsrvc D     ??    0:00.06 nfsiod -n 4
  0   111     1   0  -1  0   208   88 nfsrvc D     ??    0:00.01 nfsiod -n 4
  0   112     1   0  -1  0   208   88 nfsrvc D     ??    0:00.01 nfsiod -n 4
100   385   170   0  -1  0   260  156 nfsrvc D+    ??    0:00.14 cp /tmp/file

Doesn't look very healthy, are they?
I will file a bug report also