Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2007 18:10:37 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Nathan Butcher <n-butcher@fusiongol.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Promise SATA300 TX4 card issues
Message-ID:  <86wsxibxc2.fsf@dwp.des.no>
In-Reply-To: <4679CE35.8080907@fusiongol.com> (Nathan Butcher's message of "Thu\, 21 Jun 2007 10\:02\:45 %2B0900")
References:  <4679CE35.8080907@fusiongol.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nathan Butcher <n-butcher@fusiongol.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wsxibxc2.fsf>