Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2023 06:35:33 +0100 (CET)
From:      Sysadmin Lists <sysadmin.lists@mailfence.com>
To:        questions@freebsd.org
Cc:        Andrea Venturoli <ml@netfence.it>
Subject:   Re: ZFS Permanent error <0xffffffffffffffff>:<0x0>
Message-ID:  <1473452120.791291.1672637733468@fidget.co-bxl>
In-Reply-To: <a228c3c0-c091-3dfb-eb6a-d026871a7801@netfence.it>
References:  <0ddaa537-ffa9-af0d-1a5a-1874a67ed2b5@netfence.it> <c4d43906-d8a7-8945-abab-4e6c81e2fc6f@freebsd.org> <5def1695-82b3-3441-c11a-d64ca0c7c30a@netfence.it> <255658040.26515.1669699637761@orville.co-bxl> <47265e09-3aa0-24fa-22cb-56e09bb524f0@netfence.it> <597333482.1125294.1669791240602@ichabod.co-bxl> <2d897f57-5bdc-7497-d374-e7a536d9a440@netfence.it> <905137278.91788.1669965304646@fidget.co-bxl> <a0779f1c-3e33-7bd7-679b-725b27845668@netfence.it> <a228c3c0-c091-3dfb-eb6a-d026871a7801@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
> ----------------------------------------
> From: Andrea Venturoli <ml@netfence.it>
> Sent: Sat Dec 31 11:41:39 CET 2022
> To: <questions@freebsd.org>
> Subject: Re: ZFS Permanent error <0xffffffffffffffff>:<0x0>
> 
> The RAM alas... just removed a faulty module.
> So I hope I don't get any more troubles, even if I don't know how to 
> clear/fix the old one.
> 

Recreating the pool is what ultimately cleared it for me: Attached a backup
disk, booted into a livecd, took a recursive snapshot of zroot, sent it to the
backup disk, destroyed the old pool, recreated it, sent the backed-up datasets
to the old disk.

I initially did the waiting game like you, but then started getting CAM errors
that made the system unusable. I tried refreshing the disk, but that didn't
help:

dd if=/dev/ada0p3 of=/dev/ada0p3 bs=1m

The ZFS metadata errors vanished after recreating the pool. It's about an
hour-long project.

A recursive snapshot of zroot sends everything over with a single command:
livecd# zfs send -vR zroot@migration | zfs recv -vFud new_zroot

And then back again after recreating the pool:
livecd# zfs send -vR new_zroot@migration | zfs recv -vFud zroot

Just have to make sure you're using a livecd with a ZFS version that's equal or
newer.  After all the hassle, I did contemplate setting up a mirror raid.


-- 
Sent with https://mailfence.com  
Secure and private email



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