Re: kernel panic during zfs pool import

From: Toomas Soome <tsoome_at_me.com>
Date: Thu, 18 Aug 2022 19:45:48 UTC

> On 18. Aug 2022, at 18:46, Santiago Martinez <sm@codenetworks.net> wrote:
> 
> Hi everyone,
> 
> I have a server running 13.1-stable that was powered off (gracefully) and now is been powered on again and we have the following problem.
> 
> The server boots almost properly, kernel load and when zfs import other pools it panic with the following message.
> 
> "panic : Solaris (panic) zfs: adding existent segment to range tree (offset=4af2ca9000 size=a0000)".
> 
> if i boot into single user and the pools (most specifically pool01 ) is not imported then there is no panic. but as soon as we try to import pool01 we get that panic error. it worth mentioning that the pool imported/online before.
> 
> Have two question:
> 
> *    How i can tell to not import the pool automatically during boot so sever is not stuck in a boot/panic/reboot infinite loop?

removing zpool.cache should do. unfortunately, you would need to boot alternate root (usb/cd/net) for that.

> 
> *    Anybody know what this panic means?
> 

in short - bug. I’d try to boot current and import pool there - maybe the issue is fixed in current…

rgds,
toomas

> Thanks in advance!
> 
> Santi
> 
> 
>