Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2022 22:45:48 +0300
From:      Toomas Soome <tsoome@me.com>
To:        Santiago Martinez <sm@codenetworks.net>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: kernel panic during zfs pool import
Message-ID:  <5F75D096-F28C-436E-B5C0-4A0EFA7A5F3C@me.com>
In-Reply-To: <b70a200f-886a-a884-c409-8028b706ff1e@codenetworks.net>
References:  <b70a200f-886a-a884-c409-8028b706ff1e@codenetworks.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_6C9EECB5-362C-43DB-90AF-9D3DE614A4BE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On 18. Aug 2022, at 18:46, Santiago Martinez <sm@codenetworks.net> =
wrote:
>=20
> Hi everyone,
>=20
> 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.
>=20
> The server boots almost properly, kernel load and when zfs import =
other pools it panic with the following message.
>=20
> "panic : Solaris (panic) zfs: adding existent segment to range tree =
(offset=3D4af2ca9000 size=3Da0000)".
>=20
> 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.
>=20
> Have two question:
>=20
> *    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.

>=20
> *    Anybody know what this panic means?
>=20

in short - bug. I=E2=80=99d try to boot current and import pool there - =
maybe the issue is fixed in current=E2=80=A6

rgds,
toomas

> Thanks in advance!
>=20
> Santi
>=20
>=20
>=20


--Apple-Mail=_6C9EECB5-362C-43DB-90AF-9D3DE614A4BE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 18. Aug 2022, at 18:46, Santiago Martinez &lt;<a =
href=3D"mailto:sm@codenetworks.net" class=3D"">sm@codenetworks.net</a>&gt;=
 wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">Hi everyone,<br class=3D""><br class=3D"">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.<br class=3D""><br =
class=3D"">The server boots almost properly, kernel load and when zfs =
import other pools it panic with the following message.<br class=3D""><br =
class=3D"">"panic : Solaris (panic) zfs: adding existent segment to =
range tree (offset=3D4af2ca9000 size=3Da0000)".<br class=3D""><br =
class=3D"">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.<br class=3D""><br class=3D"">Have two =
question:<br class=3D""><br class=3D"">*&nbsp;&nbsp;&nbsp; How i can =
tell to not import the pool automatically during boot so sever is not =
stuck in a boot/panic/reboot infinite loop?<br =
class=3D""></div></div></blockquote><div><br =
class=3D""></div><div>removing&nbsp;<span style=3D"font-family: Hack; =
background-color: rgb(255, 255, 255);" class=3D"">zpool.cache should do. =
unfortunately, you would need to boot alternate root (usb/cd/net) for =
that.</span></div><br class=3D""><blockquote type=3D"cite" class=3D""><div=
 class=3D""><div class=3D""><br class=3D"">*&nbsp;&nbsp;&nbsp; Anybody =
know what this panic means?<br class=3D""><br =
class=3D""></div></div></blockquote><div><br class=3D""></div><div>in =
short - bug. I=E2=80=99d try to boot current and import pool there - =
maybe the issue is fixed in current=E2=80=A6</div><div><br =
class=3D""></div><div>rgds,</div><div>toomas</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
class=3D"">Thanks in advance!<br class=3D""><br class=3D"">Santi<br =
class=3D""><br class=3D""><br class=3D""><br =
class=3D""></div></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_6C9EECB5-362C-43DB-90AF-9D3DE614A4BE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5F75D096-F28C-436E-B5C0-4A0EFA7A5F3C>