From owner-freebsd-current@FreeBSD.ORG Mon Jul 2 16:10:43 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D755B16A468 for ; Mon, 2 Jul 2007 16:10:43 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 865D013C4CE for ; Mon, 2 Jul 2007 16:10:43 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 09F0820AF; Mon, 2 Jul 2007 18:10:39 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on tim.des.no Received: from dwp.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 7D10C208A; Mon, 2 Jul 2007 18:10:38 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 1001) id 51D5F5266; Mon, 2 Jul 2007 18:10:38 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Nathan Butcher References: <4679CE35.8080907@fusiongol.com> Date: Mon, 02 Jul 2007 18:10:37 +0200 In-Reply-To: <4679CE35.8080907@fusiongol.com> (Nathan Butcher's message of "Thu\, 21 Jun 2007 10\:02\:45 +0900") Message-ID: <86wsxibxc2.fsf@dwp.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Promise SATA300 TX4 card issues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2007 16:10:43 -0000 Nathan Butcher writes: > I've been having problems with my ZFS pool consisting of 4 drives hooked > up to my Prmoise SATA 300TX4 controller. It had been working fine until > to around the 19th of this month, and then I started seeing error > messages whenever I tried to write lots of data to ZFS..... followed by > a nasty lockup with no other debugging information of which to speak of. This is a recurring problem with ZFS and ata disks. It appears that the ata driver doesn't like the ATA_FLUSHCACHE command very much, and ZFS uses it a lot. Turning off atime helps, as does turning off ata write caching (hw.ata.wc=3D0 in loader.conf) - I still get timeouts and transient hangs once in a while, but my server no longer crashes: des@dwp ~% zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT raid 1.45T 298G 1.16T 20% ONLINE - des@dwp ~% uptime 6:09PM up 31 days, 5:02, 4 users, load averages: 0.95, 0.71, 0.66 DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no