Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 14:10:02 +0200
From:      Julien Cigar <julien@perdition.city>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: Having a disk double listes in a zraid3 pool
Message-ID:  <gvqu7aggg4cqwblypfjiz7xdw5hp2ekqwightqfe44xshno4nt@24fnrr3fvu3l>
In-Reply-To: <82861471-8c7d-a1e0-14aa-9a4e57901af0@digiware.nl>
References:  <82861471-8c7d-a1e0-14aa-9a4e57901af0@digiware.nl>

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

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

On Mon, Jul 17, 2023 at 01:59:32PM +0200, Willem Jan Withagen wrote:
> Hi,
>=20
> I admit it is on Linux, but still hope to find the answer here...
>=20
> When Replacing a broken disk I ended up with 2 times the same disk

How did you replace the broken disk?

The correct way is to issue 1) zpool offline, 2) replace physical disk and
3) gpart backup good_disk|gpart restore -F new_disk 4) zpool replace

Also, don't forget to boot code on the EFI partition

> and thus the zraid is in DEGRADED state:
>   pool: zfs-data
>  state: DEGRADED
> status: One or more devices has experienced an unrecoverable error.  An
>         attempt was made to correct the error.  Applications are unaffect=
ed.
> action: Determine if the device needs to be replaced, and clear the errors
>         using 'zpool clear' or replace the device with 'zpool replace'.
>    see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-9P
>   scan: resilvered 1.09G in 00:01:10 with 0 errors on Mon Jul 17 13:36:10
> 2023
> config:
>=20
>         NAME        STATE     READ WRITE CKSUM
>         zfs-data    DEGRADED     0     0     0
>           raidz3-0  DEGRADED     0     0     0
>             sdb     ONLINE       0     0     0
>             sdd     ONLINE       0     0     0
>             sde     ONLINE       0     0     0
>             sdf     ONLINE       0     0     0
>             sdg     ONLINE       0     0     0
>             sdh     ONLINE       0     0     0
>             sdi     ONLINE       0     0     0
>             sdj     ONLINE       0     0     0
>             sdk     ONLINE       0     0     0
>             sdl     OFFLINE      0     0     0
>             sdl     ONLINE       0     0     0
>           raidz3-1  ONLINE       0     0     0
>             sdm     ONLINE       0     0     0
>             sdn     ONLINE       0     0     0
>             sdo     ONLINE       0     0     0
>             sdq     ONLINE       0     0     5
>             sdp     ONLINE       0     0     5
>             sdr     ONLINE       0     0     0
>             sds     ONLINE       0     0     0
>             sdt     ONLINE       0     0     0
>             sdu     ONLINE       0     0     0
>             sdv     ONLINE       0     0     0
>             sdw     ONLINE       0     0     0
>             sdx     ONLINE       0     0     0
>=20
> errors: No known data errors
>=20
> Any idea how to fix this?
>=20
> Regards,
> --WjW
>=20

--=20
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

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

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

iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmS1L5YACgkQCLYqJMpB
Hmkdsw//Xt9Hhoz+DdAo3bnrYP8+vK/c8cRqZDRNI6OXz75fdsirlTpFVqUFAb1p
BH5JnWqiZOCvUR9zP/jNcdPfCkt3S5QoUunVynJNEpIq9J25zmjkzuMqCJabVlF0
haXzpPcDoSXXOjwHy96lQaBBzOsQ43j9yvIzgASWtWRnd4pVCSMRYAEBHDB/3s1a
FLf47U5584V0UBHsPkEqgFQI7Wwhqk1gqxdpPelxBlOuwMEepHZgZOP67qHprl3W
Y0fH75yzGKFCIR24BVbScy263YUC3n9NFsWJ4lWpv3389pmmilAxRRWz1ZfB9YR7
cPNx9MtshsevFiBNokVNJdooXlYoa+hyXNwlQskZ1L/KPeoaqZJ9ljYKqb8xpLJF
Dg99B7zRW3Y3AZXSdXs6P4sx47BZTViRPea7jNEHPx74BBUfVZX8DViGqw0YRTRF
NLPuAOvbhR3qIg79pSAcshiNL5GP+Zt11dxZwM33R6IJBn24QfDPHRoLP0enJ8sv
wi/iNhMfDk4m1aYRg10Q+dD+iYxqgbvGVFnboCZe5HD7wk7BiB+heSjb+9pQh62S
XnZ8j0zZurRC9rEa9QhuXFlVyDRkZrdl4iXGGKgbgyrPWCk9NynNAkUJ5cpRzAUw
UOqpw7ZIaL6OWj1WOY+eCGGkSruvqQUxuyv2LMKz3O+kfcraSqM=
=4uh9
-----END PGP SIGNATURE-----

--dha46k3cuatci6g7--



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