From owner-freebsd-current@FreeBSD.ORG Thu Mar 17 16:35:04 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 AE5501065673 for ; Thu, 17 Mar 2011 16:35:04 +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 640F18FC0A for ; Thu, 17 Mar 2011 16:35:04 +0000 (UTC) Received: by gwb15 with SMTP id 15so1343990gwb.13 for ; Thu, 17 Mar 2011 09:35:03 -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=RiU3rXhEtmgc+WMtm+ugj/c/KS8BeT0fDSKZXL27cC0=; b=O+GbNJedt1BcC6aPvwdl8sCiYvE3BHXmvOdlCi0YuXOkuw3B0RR+ewfcXGPUmP4zHC To17TJj2fK5jE8eJF3tMPQiMrbP+oIRySKRHceVwGFV00o/PgkvJ3iPe86BfOl9BfhoR cv0FoiQk8SHpHQUTcj7S6G1cZM8UZDkSD+/Z0= 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=GhzePhmn/GO+EJb5MFlQAuCfbEVODCNP7sj9L/0hO9boqtPgEA5KaYmXZELo+FzIhs zcgxPhZ30mToZr2KThIExoNXEXlHYhEEB04e7MD/tYEIQF4i6aYHheW0VhHKPOw8ZXzD ca52d7pd55MqtjP+HcyRxaFahItoGKEbkDrq8= MIME-Version: 1.0 Received: by 10.91.202.13 with SMTP id e13mr73219agq.33.1300379703496; Thu, 17 Mar 2011 09:35:03 -0700 (PDT) Received: by 10.90.83.18 with HTTP; Thu, 17 Mar 2011 09:35:03 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Mar 2011 09:35:03 -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: Thu, 17 Mar 2011 16:35:04 -0000 On Thu, Mar 17, 2011 at 9:24 AM, Freddie Cash wrote: > 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/sp= ace_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. > > 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_range= () > errors. =C2=A0No solaris assert. =C2=A0No kernel panic. =C2=A0Will try ha= mmering 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. :( Adding or removing any data from the pool still causes it to panic with the dmu_free_range() assertion. --=20 Freddie Cash fjwcash@gmail.com