From nobody@FreeBSD.org  Fri Jan 21 17:07:53 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 47C9916A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jan 2005 17:07:53 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3016E43D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jan 2005 17:07:53 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0LH7qEq062936
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 21 Jan 2005 17:07:52 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j0LH7qoD062935;
	Fri, 21 Jan 2005 17:07:52 GMT
	(envelope-from nobody)
Message-Id: <200501211707.j0LH7qoD062935@www.freebsd.org>
Date: Fri, 21 Jan 2005 17:07:52 GMT
From: Sebastian Drge <sebastian.droege@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: nfs-write on gbde partition stalls and continues much later
X-Send-Pr-Version: www-2.3

>Number:         76538
>Category:       kern
>Synopsis:       [gbde] nfs-write on gbde partition stalls and continues much later
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-geom
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 21 17:10:17 GMT 2005
>Closed-Date:    Thu Jun 19 18:48:06 UTC 2008
>Last-Modified:  Thu Jun 19 18:48:06 UTC 2008
>Originator:     Sebastian Drge
>Release:        5.3
>Organization:
>Environment:
FreeBSD hel.yggdrasil 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #1: Tue Jan 18 23:22:54 CET 2005     root@hel.yggdrasil:/usr/obj/usr/src/sys/HEL  i386
>Description:
Hi,
/dev/da0s1d is an partition on a intel raid controller... it's mapped via gbde (with sector size 2048 as in the docs) to /dev/da0s1d.bde
On /dev/da0s1d.bde is an UFS2 fs with softupdates
this is exported with nfs

when I mount this partition on a linux client and write some GB (in many files) to it the transfer stalls at some point (after random time and transfered size).
Now bufdaemon and gbde have both ~40% cpu and on the client it says, that the nfs server isn't responding.
When looking at gkrellm on the server it shows many writes on the harddisks and storcon (an configure/monitor tool for the raid controller) shows in it's cache monitor, that something is writing on the same sectors all the time. I can't write anything or read anything from the partition at that point... it just stalls also
after a while everything turns back to normal operation and everything gets written ok to the disc

Any ideas?
>How-To-Repeat:
1. create a gbde mapping
2. export it with nfs (writeable)
3. write some GB from a client to it
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Sebastian =?ISO-8859-1?B?RHL2Z2U=?= <sebastian.droege@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org, sebastian.droege@gmx.de
Cc:  
Subject: Re: kern/76538: nfs-write on gbde partition stalls and continues
 much later
Date: Fri, 21 Jan 2005 18:51:34 +0100

 --Signature_Fri__21_Jan_2005_18_51_34_+0100_at4W6ZSG7piaZdJp
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 A workaround seems to create a new file on the partition locally...
 
 --Signature_Fri__21_Jan_2005_18_51_34_+0100_at4W6ZSG7piaZdJp
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (GNU/Linux)
 
 iD8DBQFB8UEyBsBdh1vkHyERAoj2AKCrG/PtbiGCm9ZWqLsF2iIe1Y5n0wCfT4TU
 someX40O7j3FyYUVFWGztnM=
 =Klng
 -----END PGP SIGNATURE-----
 
 --Signature_Fri__21_Jan_2005_18_51_34_+0100_at4W6ZSG7piaZdJp--

From: Sebastian =?ISO-8859-1?B?RHL2Z2U=?= <sebastian.droege@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org, sebastian.droege@gmx.de
Cc:  
Subject: Re: kern/76538: nfs-write on gbde partition stalls and continues
 much later
Date: Sat, 22 Jan 2005 15:31:59 +0100

 Well, after some further investigations on this problem I found an
 alway-working workaround... when it stalls I do "dd if=/dev/zero of=test
 count=1024" over ssh where test is on the nfs exported partition.
 the transfer continues and everything goes well until the next stalling
 
 Bye
Responsible-Changed-From-To: freebsd-bugs->freebsd-geom 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Oct 24 20:47:16 GMT 2005 
Responsible-Changed-Why:  
Over to mailing list for evaluation. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76538 

From: Ulf Lilleengen <lulf@stud.ntnu.no>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/76538: [gbde] nfs-write on gbde partition stalls and
	continues much later
Date: Wed, 18 Jun 2008 17:54:24 +0200

 Are we sure this could be a gbde bug at all? And, it's a very old release.
 
 -- 
 Ulf Lilleengen
State-Changed-From-To: open->closed 
State-Changed-By: lulf 
State-Changed-When: Thu Jun 19 18:45:26 UTC 2008 
State-Changed-Why:  
There is a high probability that this have been fixed by now. If you still experience bugs with a supported release of FreeBSD, please inform. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76538 
>Unformatted:
