From owner-freebsd-current@FreeBSD.ORG Thu Mar 17 17:00:41 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 304A71065672 for ; Thu, 17 Mar 2011 17:00:41 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 05B248FC0C for ; Thu, 17 Mar 2011 17:00:40 +0000 (UTC) Received: by iwn33 with SMTP id 33so3540019iwn.13 for ; Thu, 17 Mar 2011 10:00:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.43.51.135 with SMTP id vi7mr2203723icb.336.1300381239887; Thu, 17 Mar 2011 10:00:39 -0700 (PDT) Received: by 10.231.85.198 with HTTP; Thu, 17 Mar 2011 10:00:39 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Mar 2011 18:00:39 +0100 Message-ID: From: Olivier Smedts To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 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 17:00:41 -0000 2011/3/17 Freddie Cash : > 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/s= pace_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. =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. =A0No dmu_free_range() >> errors. =A0No solaris assert. =A0No kernel panic. =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. =A0:( =A0Adding or removing any > data from the pool still causes it to panic with the dmu_free_range() > assertion. Does resilvering help after the forced import ? > > -- > Freddie Cash > fjwcash@gmail.com > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."