From owner-freebsd-current@FreeBSD.ORG Wed Aug 29 10:43:22 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E547F16A417 for ; Wed, 29 Aug 2007 10:43:22 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 5BDC413C474 for ; Wed, 29 Aug 2007 10:43:21 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l7TAhJfW051834; Wed, 29 Aug 2007 12:43:19 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l7TAhEPU047100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Aug 2007 12:43:14 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l7TAhDmL050530; Wed, 29 Aug 2007 12:43:13 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l7TAhDXc050529; Wed, 29 Aug 2007 12:43:13 +0200 (CEST) (envelope-from ticso) Date: Wed, 29 Aug 2007 12:43:13 +0200 From: Bernd Walter To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20070829104312.GS45279@cicely12.cicely.de> References: <20070828211440.470805B3B@mail.bitblocks.com> <200708282324.05834.max@love2party.net> <86absa3aaa.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86absa3aaa.fsf@ds4.des.no> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: Max Laier , freebsd-current@freebsd.org, Pawel Jakub Dawidek , Pascal Hofstee Subject: Re: ZFS kernel panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2007 10:43:23 -0000 On Wed, Aug 29, 2007 at 12:27:57PM +0200, Dag-Erling Smørgrav wrote: > Max Laier writes: > > This is complete nonsense! As you pointed out earlier zfs doesn't > > know anything about the nature of the error. There is only one > > sensible way to deal with a disk error - unless it is transient - and > > that is stopping all (write) access to the drive. As you can't easily > > move a mounted drive with opened files into read-only mode, a panic is > > the only way to make sure. > > Actually, remounting the disk read-only upon encountering a write error > is standard behaviour in Linux. And it didn't even tell, but that's another story. Anyway - I prefer the panic unless a better solution is available or possible, like fsync/write error or even better just switch to another block. In case of redundancy however it may be best if the disk is taken completely out of use, since many kind write errors produce highe latencies, which slows down the system. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de