From owner-freebsd-current@FreeBSD.ORG Wed Mar 16 23:17:14 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 A5566106564A for ; Wed, 16 Mar 2011 23:17:14 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5DD138FC19 for ; Wed, 16 Mar 2011 23:17:13 +0000 (UTC) Received: by gyg13 with SMTP id 13so999346gyg.13 for ; Wed, 16 Mar 2011 16:17:13 -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:content-type:content-transfer-encoding; bh=ETc3pdTsfpe7TW/71f91B4r3jzFb2yUKq+cWs588yKU=; b=en8C2VcjqgVC7EZyFdS1U2sGIu7Sk8D+zKgM4Z/bDT+RPKulw6o5Vghijy9tt+Evf5 Sh7fanG2NG4QEr6K0bl7qagKGuSs6OvD52hT2A2Vzy7Qsfr4pNq09O9aRk7vBqt/NHmv qFkv66E0ljCdRu/CipBAsUiAqlQRvZeu6HeNM= 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 :content-type:content-transfer-encoding; b=aDD+ejx1sikfglDVNVhplNsbrgaoTGi2S2JHkd1Ok7CxvRS/Xz+tzHNA/ytIfslY6m Om4Dsg0tAWQvKh85CjzkYcTk1YW0FwCPTgYvfpn02fOgzFJmmiKZ+1Uzix/qadVOv9WX BzOoqVOGCk6faCw6AoTfx4ldC55L8Q+LcxJZo= MIME-Version: 1.0 Received: by 10.91.79.12 with SMTP id g12mr669814agl.168.1300317432842; Wed, 16 Mar 2011 16:17:12 -0700 (PDT) Received: by 10.90.83.18 with HTTP; Wed, 16 Mar 2011 16:17:12 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Mar 2011 16:17:12 -0700 Message-ID: From: Freddie Cash To: FreeBSD-Current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Wed, 16 Mar 2011 23:17:14 -0000 On Wed, Mar 16, 2011 at 4:03 PM, Freddie Cash wrote: > Anytime I try to import my pool built using 24x HAST devices, I get > the following message, and the system reboots: > > panic: solaris assert: dmu_free_range(os, smo->smo_object, 0, -1ULL, > tx) =3D=3D 0, file: > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/spa= ce_map.c, > line: 484 > > Everything runs nicely if I don't import the pool. > > Doing a "zpool import" shows that one of the HAST devices is FAULTED > "corrupted data". > > Haven't tried anything to remove/replace the faulted device, just > wanted to see if anyone knew what the above error meant. > > Pool was created using r219523 and successfully copied over 1 TB of > data from another ZFS system. =C2=A0Had some issues with gptboot this > morning and the system locking up and rebooting a bunch, and now the > pool won't import. Along with this ZFS import issue, it seems that hastd doesn't like it when you fire up 24 hast devices all at once (via for loop), each with over 100 MB of dirty data in it. hast dumps core, kernel panics, and system reboots. If I do 1 hast device every 2 seconds (or however long it takes to manually type "hastctl role primary disk-a1") then it starts up fine. So, I can now panic my 9-CURRENT system by either: - starting 24 hast devices at once, or - importing a ZFS pool made up of those 24 hast devices, with 1 corrupted device Isn't testing fun? :) I have a bunch of vmcore files from the hast crashes, not really sure what to do with them, though. --=20 Freddie Cash fjwcash@gmail.com