Re: ZFS import panic with r219703

From: Olivier Smedts <olivier_at_gid0.org>
Date: Thu, 17 Mar 2011 18:00:39 +0100
2011/3/17 Freddie Cash <fjwcash_at_gmail.com>:
> On Thu, Mar 17, 2011 at 9:24 AM, Freddie Cash <fjwcash_at_gmail.com> wrote:
>> On Wed, Mar 16, 2011 at 4:03 PM, Freddie Cash <fjwcash_at_gmail.com> 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) == 0, file:
>>> /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/space_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.  Had 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.  No dmu_free_range()
>> errors.  No solaris assert.  No kernel panic.  Will 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.  :(  Adding 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_at_gmail.com
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>


-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier_at_gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
Received on Thu Mar 17 2011 - 16:00:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC