From owner-freebsd-current@FreeBSD.ORG Tue Apr 20 06:40:12 2010 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 3D50A10656C1 for ; Tue, 20 Apr 2010 06:40:12 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id 7D7448FC19 for ; Tue, 20 Apr 2010 06:40:11 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id BE64645DF4; Tue, 20 Apr 2010 08:40:09 +0200 (CEST) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1F43445C89; Tue, 20 Apr 2010 08:40:04 +0200 (CEST) Date: Tue, 20 Apr 2010 08:40:06 +0200 From: Pawel Jakub Dawidek To: "Jason J. W. Williams" Message-ID: <20100420064006.GE1728@garage.freebsd.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Oiv9uiLrevHtW1RS" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: ZFS behavior when device disappears 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: Tue, 20 Apr 2010 06:40:12 -0000 --Oiv9uiLrevHtW1RS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 13, 2010 at 05:39:30PM -0600, Jason J. W. Williams wrote: > Hello, >=20 > Currently, we're an OpenSolaris shop but with the way things are going > over at Oracle/Sun we're starting to evaluate our options for keeping > ZFS but moving off Solaris. One of my concerns is that FreeBSD is > implementing ZFSv14 (ZFS itself is up to v23 I believe). For quite a > long time, ZFS under Solaris had a real problem with the following > scenario: >=20 > * Hard drive starts to die > * Controller and SCSI subsystem continue to retry an I/O rather than > failing fast > * Even if the I/O does fail fast ZFS doesn't really notice a spike in > I/O failures and continues to use the drive. > * Result: I/O on the zpool stalls completely while the I/Os continue > to be tried against the drive. >=20 > This got fixed in later revs of OpenSolaris by enhancements to ZFS and > greater integration with the Fault Management Architecture (FMA) of > Solaris...lots of I/Os failing on a drive get communicated to ZFS who > then offlines the drive out of the pool. >=20 > My question is, what is the situation in FreeBSD 8 with ZFS if that > type of situation occurs? I believe FreeBSD does whatever OpenSolaris did for this version of ZFS. There is nogoing work to bring v24 to FreeBSD. Basic functionality works already, but a lot work is still needed. At some point I'll see what we can do about it, because we don't have FMA in FreeBSD and we would need to find another way to deal with it. I've limited time I can spend on ZFS right now, so I'm making small steps, but I'm making good progress too. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --Oiv9uiLrevHtW1RS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvNTEYACgkQForvXbEpPzRr4wCg6hu3HRwsb0MRhxBI4A50gfdy xZEAoI+qDVY5ZqCqze0rRLVskInWHy/d =xHmW -----END PGP SIGNATURE----- --Oiv9uiLrevHtW1RS--