From owner-freebsd-questions@FreeBSD.ORG Thu May 11 16:03:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AABE016A478 for ; Thu, 11 May 2006 16:03:25 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id A044E43D78 for ; Thu, 11 May 2006 16:03:24 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 31629 invoked from network); 12 May 2006 02:03:23 +1000 Received: from 210-84-51-24.dyn.iinet.net.au (HELO localhost) (210.84.51.24) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 12 May 2006 02:03:23 +1000 Date: Fri, 12 May 2006 02:03:19 +1000 From: Norberto Meijome To: Alastair Rankine Message-ID: <20060512020319.329c95a7@localhost> In-Reply-To: References: <3655B84C-03FA-454B-A601-72DCEE8AE4E7@optusnet.com.au> <20060511105934.76e4dad7@localhost> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Filesystem corruption when drives are mirrored, but not otherwise X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 16:03:31 -0000 On Thu, 11 May 2006 21:59:49 +1000 Alastair Rankine wrote: > On 11/05/2006, at 10:59 AM, Norberto Meijome wrote: > > > On Wed, 10 May 2006 22:45:10 +1000 > > Alastair Rankine wrote: > > > >> Disabling write > >> caching seems to have fixed the problem. > > > > excuse my ignorance, but where do you do this? BIOS? > > Set hw.ata.wc="0" in /boot/loader.conf > > See tuning(7) for more info. thx should have thought of this :) > > > I'm running GEOM mirrors on amd64 with SATA (I assume you mean PATA > > when you > > say ATA). > > Nope, I'm using SATA on a Promise FastTrak S150 TX2plus. > > What controller are you using? Software raid actually - the box has Nvidia RAID in the bios but didnt work (at all?) so ended up using gmirror in different layouts. A low end box :( The controllers are 2 x nVidia nForce CK804 SATA300. atapci1: port 0x1440-0x1447,0x1434-0x1437,0x1438-0x143f,0x1430-0x1433,0x1410-0x141f mem 0xdd002000-0xdd002fff irq 22 at device 7.0 on pci0 & atapci2: port 0x1458-0x145f,0x144c-0x144f,0x1450-0x1457,0x1448-0x144b,0x1420-0x142f mem 0xdd003000-0xdd003fff irq 23 at device 8.0 on pci0 Drives are 4 x WDC WD2500JS-00MHB0 02.01C03 > > Do you get a decent write speed? > > cstream -o tmpfile -v 1 -n 384m -i - > > ... is a good benchmark for sequential writes (cstream is in the ports). [numard@cerberus] [Fri May 12 01:56:24 2006] /tmp $ cstream -o tmpfile -v 1 -n 384m -i - 402653184 B 384.0 MB 6.91 s 58254333 B/s 55.56 MB/s definitely not great throughput, but it'll have to do for now :-( thanks a lot for the time to share your knowledge :) Beto