From owner-freebsd-current@FreeBSD.ORG Thu Mar 17 18:03:56 2011 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 1FF40106564A for ; Thu, 17 Mar 2011 18:03:56 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id CFA9C8FC0A for ; Thu, 17 Mar 2011 18:03:55 +0000 (UTC) Received: by gwb15 with SMTP id 15so1392381gwb.13 for ; Thu, 17 Mar 2011 11:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uglKpzYcoSKN3IuXz7uYAK0NReiLD7vHh5pUPYsFKYQ=; b=WKF9SMOdK1c03VZrQbt1BmeRNcc9S6F2tr9AV/NyGF5pnKAF8WXkVRuusxJEf03lIW q05WUDvtGUGUlpTFzYXJu9Lv7qFpx3xMqv5B51/b3ynXdr4kVaEb5OCUKPnMIQu89Dnw yGlJB6YliOOdpcItFkJfZkvQVDAVrbnNtxgfU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IJjwS7O7V60IOrj/dl3Nix8Ahomq22H6IWzTj58NL9YcsqIkAWaGQ5sFcCwGXDhxN0 IGNVu6HAstE5sdJvh0nBjDPS6Iz9krQkleL8VMFix1n7Zuq03Qb3cJFdX+yEwp4x4yfz 65dPuDGAAZ+Of5GPdLp7IfJHCt7WBA6zq/11o= MIME-Version: 1.0 Received: by 10.91.159.7 with SMTP id l7mr176361ago.6.1300385034935; Thu, 17 Mar 2011 11:03:54 -0700 (PDT) Received: by 10.90.83.18 with HTTP; Thu, 17 Mar 2011 11:03:54 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Mar 2011 11:03:54 -0700 Message-ID: From: Freddie Cash To: Olivier Smedts Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-Current Subject: Re: ZFS import panic with r219703 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: Thu, 17 Mar 2011 18:03:56 -0000 On Thu, Mar 17, 2011 at 10:00 AM, Olivier Smedts wrote: > 2011/3/17 Freddie Cash : >>> Hrm, it looks like the "pool roll-back on import" feature is working. >>> >>> # zpool import -F -d /dev/hast storage >>> >>> The above command imported the pool successfully. =C2=A0No dmu_free_ran= ge() >>> errors. =C2=A0No solaris assert. =C2=A0No kernel panic. =C2=A0Will try = hammering on >>> the system a bit to see if that sticks or whether the space_map errors >>> show up again. >> >> Damn, of course that would be too easy. =C2=A0:( =C2=A0Adding or removin= g any >> data from the pool still causes it to panic with the dmu_free_range() >> assertion. > > Does resilvering help after the forced import ? I think this pool is hooped. :( It won't import in any way now, no matter what combination of options I use: readonly, force, roll-back, without the corrupted hast device so it's in a degraded state, etc. The latest panic is: solaris assert: zio-io_type !=3D ZIO_TYPE_WRITE || spa_writable(spa), file: /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs= /zfs/zio.c, line 2321 In case anyone is interested in the results, I've put core.txt.12 up at http://www.sd73.bc.ca/downloads/crash/ which is the core file relating to the above panic. I think after lunch I'm going to destroy the pool and start over. This box went through a lot of crashes and hangs while finding the right loader.conf tunables for hast/zfs and issues with CompactFlash for the OS. Now that I've got those set and figured out, I'm going to start over and see how things go. --=20 Freddie Cash fjwcash@gmail.com