Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2022 20:03:51 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        Rob Wing <rob.fx907@gmail.com>, Alexander Motin <mav@freebsd.org>, Freebsd current <freebsd-current@freebsd.org>
Subject:   Re: ZFS PANIC: HELP.
Message-ID:  <d1db05269410cb5d8b0ba00b264d26e9@lerctr.org>
In-Reply-To: <20220225091120.Horde.76VjoVNtr5BsqAw_5ftjpRZ@webmail.leidinger.net>
References:  <07c0c9c34b4a4133acab597c96867d27@lerctr.org> <95c7c326-e2f9-6e66-7b97-b9fb2671f4ad@FreeBSD.org> <1b6b2017ba69e6fda1ca237c3016ac61@lerctr.org> <a5f379a6-c2bd-f1e9-a281-bb657f3ccb75@FreeBSD.org> <6182c57bf1859482e72af78037c399e4@lerctr.org> <7abcbe88-446f-44b9-c3a7-0997d3430b57@FreeBSD.org> <2bc12c9ee3e6dd71b65079116ff2b845@lerctr.org> <5930f3d2b71c0932f903bb5b88a3c87d@lerctr.org> <e9b95fed-9a3c-623c-c046-f0a7fd609eb6@FreeBSD.org> <CAF3%2Bn_fYSHLxYGp0jUbFg8%2BPFkEJAp7QMCX2BWMk4ePrn0=1yA@mail.gmail.com> <a414d6f4ad21af3044444b22acbe42bd@lerctr.org> <CAF3%2Bn_cevarxBYMJ5%2BGeTex6C%2Be-A79TbpDL-Pd7jsWPKfu=SA@mail.gmail.com> <36d3896af19acc4fdd1712822ba9d420@lerctr.org> <9f6a8ad62fc0dbd6f3a19c7d695bd302@lerctr.org> <c2fb568ba91c61974cb439f6bda1aec3@lerctr.org> <20220225091120.Horde.76VjoVNtr5BsqAw_5ftjpRZ@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--=_c7968c98c9db15b5ca066756c67c3273
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed



On 02/25/2022 2:11 am, Alexander Leidinger wrote:

> Quoting Larry Rosenman <ler@lerctr.org> (from Thu, 24 Feb 2022 20:19:45 
> -0600):
> 
>> I tried a scrub -- it panic'd on a fatal double fault.
>> 
>> Suggestions?
> 
> The safest / cleanest (but not fastest) is data export and pool 
> re-creation. If you export dataset by dataset (instead of recursively 
> all), you can even see which dataset is causing the issue. In case this 
> per dataset export narrows down the issue and it is a dataset you don't 
> care about (as in: 1) no issue to recreate from scratch or 2) there is 
> a backup available) you could delete this (or each such) dataset and 
> re-create it in-place (= not re-creating the entire pool).
> 
> Bye,
> Alexander.
> 
> http://www.Leidinger.net Alexander@Leidinger.net: PGP 
> 0x8F31830F9F2772BF
> http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 
> 0x8F31830F9F2772BF

I'm running this script:
#!/bin/sh
for i in $(zfs list -H | awk '{print $1}')
do
   FS=$1
   FN=$(echo ${FS} | sed -e s@/@_@g)
   sudo zfs send -vecLep ${FS}@REPAIR_SNAP | ssh ler@freenas.lerctr.org 
cat - \> $FN
done

How will I know a "Problem" dataset?

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106
--=_c7968c98c9db15b5ca066756c67c3273
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'font-size: 10pt; font-family: Arial,Helve=
tica,sans-serif'>
<p id=3D"reply-intro">On 02/25/2022 2:11 am, Alexander Leidinger wrote:</p>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<div id=3D"replybody1">
<div style=3D"font-family: Arial; font-size: 14px;">
<p>Quoting Larry Rosenman &lt;<a href=3D"mailto:ler@lerctr.org" rel=3D"nore=
ferrer">ler@lerctr.org</a>&gt; (from Thu, 24 Feb 2022 20:19:45 -0600):</p>
<blockquote style=3D"border-left: 2px solid blue; margin-left: 2px; padding=
-left: 12px;">
<p>I tried a scrub -- it panic'd on a fatal double fault.&nbsp;</p>
<p>Suggestions?</p>
</blockquote>
<p>The safest / cleanest (but not fastest) is data export and pool re-creat=
ion. If you export dataset by dataset (instead of recursively all), you can=
 even see which dataset is causing the issue. In case this per dataset expo=
rt narrows down the issue and it is a dataset you don't care about (as in: =
1) no issue to recreate from scratch or 2) there is a backup available) you=
 could delete this (or each such) dataset and re-create it in-place (=3D no=
t re-creating the entire pool).<br /><br />Bye,<br />Alexander.</p>
<div><a href=3D"http://www.Leidinger.net" target=3D"_blank" rel=3D"noopener=
 noreferrer">http://www.Leidinger.net</a>; <a href=3D"mailto:Alexander@Leidi=
nger.net" rel=3D"noreferrer">Alexander@Leidinger.net</a>: PGP 0x8F31830F9F2=
772BF<br /><a href=3D"http://www.FreeBSD.org" target=3D"_blank" rel=3D"noop=
ener noreferrer">http://www.FreeBSD.org</a>&nbsp; &nbsp; <a href=3D"mailto:=
netchild@FreeBSD.org" rel=3D"noreferrer">netchild@FreeBSD.org</a>&nbsp; : P=
GP 0x8F31830F9F2772BF</div>
</div>
</div>
</blockquote>
<p>I'm running this script:<br />#!/bin/sh<br />for i in $(zfs list -H | aw=
k '{print $1}')<br />do<br />&nbsp; FS=3D$1<br />&nbsp; FN=3D$(echo ${FS} |=
 sed -e s@/@_@g)<br />&nbsp; sudo zfs send -vecLep ${FS}@REPAIR_SNAP | ssh =
ler@freenas.lerctr.org cat - \&gt; $FN<br />done</p>
<p><br /></p>
<p>How will I know a "Problem" dataset?</p>
<p><br /></p>
<div id=3D"signature">
<div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">=
<span class=3D"sig">--&nbsp;<br />Larry Rosenman &nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;<a href=3D"http://www.lerctr.org/~ler" target=3D"_blank"=
 rel=3D"noopener noreferrer">http://www.lerctr.org/~ler</a><br />Phone: +1 =
214-642-9640 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;E-Mail: <a href=3D"mailto:ler@lerctr.org"=
>ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106=
<br /></span></div>
</div>
</body></html>

--=_c7968c98c9db15b5ca066756c67c3273--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d1db05269410cb5d8b0ba00b264d26e9>