Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2024 10:30:31 -0400
From:      Chris Ross <cross+freebsd@distal.com>
To:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: Unable to replace drive in raidz1
Message-ID:  <AC67D073-D476-41F5-AC53-F671430BB493@distal.com>
In-Reply-To: <5ED5CB56-2E2A-4D83-8CDA-6D6A0719ED19@distal.com>
References:  <5ED5CB56-2E2A-4D83-8CDA-6D6A0719ED19@distal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh, sorry.  Failed to indicate versions.  I was running 13.2 on amd64, =
and
while facing this problem have updated to 14.1.  The current state is
14.1, and I=E2=80=99m still seeing the same, but I started in 13.2 and =
saw this.

> On Sep 6, 2024, at 10:24, Chris Ross <cross+freebsd@distal.com> wrote:
>=20
> Hello.  I have searched the interwebs a bit and seen tell of this and =
others
> like it, but I haven=E2=80=99t found a solution.
>=20
> I have a pool with three 3-disk raidz1 vols.  I want to replace the =
disks
> in the first vdev with larger disks.  I=E2=80=99ve done this before, =
but may=E2=80=99ve
> done something wrong here.
>=20
> I belive I used =E2=80=9Czpool remove tank da3=E2=80=9D, but command =
history doesn=E2=80=99t
> have that.  I=E2=80=99ve used many commands since I started.  I =
might=E2=80=99ve
> =E2=80=9Czpool offline=E2=80=9Dd the device.  I=E2=80=99m sorry I =
don=E2=80=99t remember the original
> command.
>=20
> Then replaced the disk and rebooted.  This of course renumbered the
> disks.  :-(. But, finding the new/replacement disk (da10), I try to
> =E2=80=9Czpool replace tank da3 da10=E2=80=9D.
> This always produces:
>=20
> cannot replace da3 with da10: already in replacing/spare config; wait =
for completion or use 'zpool detach=E2=80=99
>=20
> Now, I can=E2=80=99t use =E2=80=9Czpool detach=E2=80=9D I=E2=80=99ve =
learned because that doesn=E2=80=99t work
> on zraid.  And I can=E2=80=99t tell what it _thinks_ is happening.  I =
even
> Did a scrub of the pool and let that finish, but am still seeing the
> same.
>=20
> I have now:
>=20
> =E2=80=948<=E2=80=948<=E2=80=948<---
>>>>>>> zpool status -v tank
>  pool: tank
> state: DEGRADED
> status: One or more devices are faulted in response to persistent =
errors.
> 	Sufficient replicas exist for the pool to continue functioning =
in a
> 	degraded state.
> action: Replace the faulted device, or use 'zpool clear' to mark the =
device
> 	repaired.
>  scan: scrub repaired 0B in 17:14:03 with 0 errors on Fri Sep  6 =
09:08:34 2024
> config:
>=20
> 	NAME                      STATE     READ WRITE CKSUM
> 	tank                      DEGRADED     0     0     0
> 	  raidz1-0                DEGRADED     0     0     0
> 	    da3                   FAULTED      0     0     0  external =
device fault
> 	    da1                   ONLINE       0     0     0
> 	    da2                   ONLINE       0     0     0
> 	  raidz1-1                ONLINE       0     0     0
> 	    diskid/DISK-K1GMBN9D  ONLINE       0     0     0
> 	    diskid/DISK-K1GMEDMD  ONLINE       0     0     0
> 	    diskid/DISK-K1GMAX1D  ONLINE       0     0     0
> 	  raidz1-2                ONLINE       0     0     0
> 	    diskid/DISK-3WJDHJ2J  ONLINE       0     0     0
> 	    diskid/DISK-3WK3G1KJ  ONLINE       0     0     0
> 	    diskid/DISK-3WJ7ZMMJ  ONLINE       0     0     0
>=20
> errors: No known data errors
> =E2=80=948<=E2=80=948<=E2=80=948<=E2=80=94
>=20
> I=E2=80=99ll note that before the switcharoo, the second and third =
vdev=E2=80=99s listed
> =E2=80=9Cda4 da5 da6=E2=80=9D and =E2=80=9Cda7 da8 da9=E2=80=9D.  The =
moving around of names caused the
> above, which again I=E2=80=99ve seen before, and am fine with.
>=20
> (Oh, you can see I ran a =E2=80=9Czpool offline -f=E2=80=9D on it most =
recently.  But
> that was in the list of things I=E2=80=99ve tried that haven=E2=80=99t =
helped.)
>=20
> Please let me know if someone knows how I=E2=80=99ve gotten to this =
state, and
> what I need to do to correct it.  What is the "in replacing/spare =
config=E2=80=9D
> meaning?
>=20
>                      - Chris
>=20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AC67D073-D476-41F5-AC53-F671430BB493>