Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267839AbUIUQw0 (ORCPT ); Tue, 21 Sep 2004 12:52:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267850AbUIUQw0 (ORCPT ); Tue, 21 Sep 2004 12:52:26 -0400 Received: from clock-tower.bc.nu ([81.2.110.250]:32731 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S267839AbUIUQwY (ORCPT ); Tue, 21 Sep 2004 12:52:24 -0400 Subject: Re: journalling filesystems, linux 2.4.22, SATA drives From: Alan Cox To: Chris Friesen Cc: axboe@suse.de, Bartlomiej Zolnierkiewicz , jgarzik@pobox.com, Linux Kernel Mailing List In-Reply-To: <4150485E.6000501@nortelnetworks.com> References: <4150485E.6000501@nortelnetworks.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1095781763.31269.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 21 Sep 2004 16:49:43 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1156 Lines: 30 On Maw, 2004-09-21 at 16:27, Chris Friesen wrote: > use a journalled filesystem. However the hardware guy says that turning off the > write cache also turns off the automatic error correction on writes, so the > write may return an error rather than being remapped silently. I don't know how vendors handle this however he may be right, or it may be vendor dependant. Have you asked which vendors do this and which don't. Maybe you just need the right drive vendor. The Linux IDE layer will retry a failed write not sure about the 2.4.22 SATA code although the early versions probably were not business ready anyway. > What's the best way for me to deal with this? For IDE you either 1. turn off write caching 2. buy a hardware raid card (which will turn off write caching or have battery backup or both 8)) 3. accept that its unlikely to get burned in normal usage especially with a UPS. Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/