Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2019 12:59:24 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   Re: Kernel panic and ZFS corruption on 11.3-RELEASE
Message-ID:  <20190829055924.GA34810@admin.sibptus.ru>
In-Reply-To: <f54f4af8-58d9-bdba-8fc9-73c2a1a0d8b6@holgerdanske.com>
References:  <20190828025728.GA1441@admin.sibptus.ru> <f54f4af8-58d9-bdba-8fc9-73c2a1a0d8b6@holgerdanske.com>

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

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

David Christensen wrote:
>=20
> > after which the ZFS pool became corrupt:
> >=20
> >    pool: d02
> >   state: FAULTED
> > status: The pool metadata is corrupted and the pool cannot be opened.
> > action: Recovery is possible, but will result in some data loss.
> > 	Returning the pool to its state as of =D0=B2=D1=82=D0=BE=D1=80=D0=BD=
=D0=B8=D0=BA, 27 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2019 =D0=B3. 23=
:51:20
> > 	should correct the problem.  Approximately 9 minutes of data
> > 	must be discarded, irreversibly.  Recovery can be attempted
> > 	by executing 'zpool clear -F d02'.  A scrub of the pool
> > 	is strongly recommended after recovery.
> >     see: http://illumos.org/msg/ZFS-8000-72
> >    scan: resilvered 423K in 0 days 00:00:05 with 0 errors on Sat Sep 30=
 04:12:20 2017
> > config:
> >=20
> > 	NAME	    STATE     READ WRITE CKSUM
> > 	d02	    FAULTED	 0     0     2
> > 	  ada2.eli  ONLINE	 0     0    12
> >=20
> > However, "zpool clear -F d02" results in error:
> > cannot clear errors for d02: I/O error
> >=20
> > Do you know if there is a way to recover the data, or should I say fare=
well to several hundred Gb of anime?
>=20
> <snip>
>=20
>=20
> I would:
>=20
> 1.  Take a binary image of the raw disk (e.g. backup).

The data is not worth the trouble.

>=20
> 2.  Move the disk to an 11.2 system and work on it. Or alternatively,=20
> remove the 11.3 system disk and install an 11.2 system disk.

Fortunately, I have an 11.2 guest in bhyve. I exported the pool from the
host system, made the physical device with the problematic pool
available to the guest, and voila: https://termbin.com/6kh8
My pool is up and running. Thank you!

I'm only wondering now, if I did an export/import on a 11.3 system,
would it have made any difference?

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJdZ2m8AAoJEA2k8lmbXsY0s1cH/1bndThgYuQNTdeNknIoEnjb
2GRJwggs/0f8QwvWiziVGvN1PhhDJYnDivgaljFVKJwecc9tobh/D+G57fjm2JKN
pNTSIWDQ5VmPCPpb8a6ezGBrYHaY9zJVrZ2YjAV2E68Ghh3VHnpwXxs3Il2OasPw
HFVm/37miIl6gH+1OngLs1S+A5/q8sq3596qRfbrNaBT2z4rve5gI5Y85xq8Gn7V
4/N6JY9kO9K88cAwKv7qPv4etqoJlsR/tQ41+GqhEENz2iziyi/Ogw0PWWnHS6q3
1O5dVSENddFvj5XHHBy3WJbgeHuDlkmt9c4kkrM3s57CbcK09mAZolAd+gM29Wg=
=9jf/
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--



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