Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 10:02:43 -0500 (EST)
From:      Bruce Campbell <bruce@engmail.uwaterloo.ca>
To:        questions@freebsd.org
Subject:   nfs_fsync: not dirty
Message-ID:  <Pine.GSO.4.05.10203271001060.11440-100000@engmail.uwaterloo.ca>

next in thread | raw e-mail | index | archive | help

(note: in any replies please cc: my userid, as I am not on the mailling
lists)

I recently installed a FreeBSD 4.5-RELEASE system, with /home NFS mounted
to a Network Appliance file server.  After about 1 day of use, it panic'ed
with the message below in /var/log/messages.  It has not panic'ed since.
I have 2 other almost identically configured 4.5-RELEASE systems installed
at the same time, which have not yet panic'ed.  The only difference is that
those 2 are running the GENERIC kernel, while "engpfile1" has
a "maxusers 500" kernel (see kernel config file info below).

Some web searches on the string "nfs_fsync: not dirty" have revealed 2 other
instances, one in 1999 on a 3.3-STABLE, and another in Jan 2002 on 4.5-STABLE

see...

http://borg.vcsa.org/hyperarc/20000101/question/1248.html

http://freebsd.hanirc.org/holyboard/holyboard.cgi?db=stable&mode=view&now=1&no=34636&jd=-1&search_type=title&search_string=not%20dirty

What would cause this problem ?  Is this truly a panic
condition, or could the 

  panic("nfs_fsync: not dirty");

in nfs_vnops.c be replaced with...

  BUF_UNLOCK(bp);
  continue;

?

/var/log/messages extract

Mar 26 12:30:07 engpfile1 /kernel: panic: nfs_fsync: not dirty
Mar 26 12:30:07 engpfile1 /kernel:
Mar 26 12:30:07 engpfile1 /kernel: syncing disks... 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Mar 26 12:30:07 engpfile1 /kernel: Copyright (c) 1992-2002 The FreeBSD Project.


uname -a

FreeBSD engpfile1.uwaterloo.ca 4.5-RELEASE FreeBSD 4.5-RELEASE #1: Fri Mar 15 21:35:25 EST 2002     root@engpfile1.uwaterloo.ca:/usr/src/sys/compile/ENGPFILE  i386


diff /usr/src/sys/i386/conf/ENGPFILE /usr/src/sys/i386/conf/GENERIC

< ident         ENGPFILE
< maxusers      500
---
> ident         GENERIC
> maxusers      0


/etc/rc.conf extract

nfs_client_enable="YES"
nfs_client_flags="-n 4"


/etc/fstab extract

engfile-eng2net:/vol/vol0/home /home    nfs     rw,soft,intr    0       2
engfile-eng2net:/vol/vol1/home /home2   nfs     rw,soft,intr    0       2

where engfile-eng2net is a Network Appliance file server

nfs V3 is being used.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.05.10203271001060.11440-100000>