Replaced boot mirror drive stuck in "replacing" status.

dstocks

Cadet
Joined
May 19, 2020
Messages
6
I have two usb flash thumb drives mirrored for my boot device. One of them failed. I followed the instructions to replace it using the GUI with a brand new flash stick, but the new drive didn't come online. I then tried two more new sticks and they didn't come online either. On the fourth try (yet another, this time used flash drive because I ran out of new ones) the drive came online! However, it is still in "replacing" status and not in the mirror set. I've attached a screen shot of the status. You will see the 3 failed drive replacements (labeled "old") and the successful one (/dev/da0p2) which went online after resilvering.

I've included the output of a "sudo zpool status -v" below.

One more small question: any ideas why one drive is labeled the device name and the other the gptid in my Primary_Storage_Pool?

Thanks for any help!

- Don

pool: Primary_Storage_Pool
state: ONLINE
scan: resilvered 32.0M in 0 days 00:00:12 with 0 errors on Thu Apr 30 18:24:17 2020
config:

NAME STATE READ WRITE CKSUM
Primary_Storage_Pool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da3p2 ONLINE 0 0 0
gptid/4e3c8d37-7db9-11ea-89ec-1418779ea009 ONLINE 0 0 0

errors: No known data errors

pool: freenas-boot
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://illumos.org/msg/ZFS-8000-8A
scan: resilvered 1.01G in 0 days 01:02:08 with 4 errors on Mon May 18 15:05:40 2020
config:

NAME STATE READ WRITE CKSUM
freenas-boot DEGRADED 0 0 11
mirror-0 DEGRADED 0 0 27
replacing-0 UNAVAIL 0 0 0
da0p2/old FAULTED 1 187 36 too many errors
da0p2/old FAULTED 0 313 0 too many errors
da0p2/old FAULTED 0 198 0 too many errors
da0p2 ONLINE 0 0 0
da1p2 ONLINE 0 0 33

errors: Permanent errors have been detected in the following files:

freenas-boot/ROOT/default@2020-04-25-19:27:43:/usr/local/sbin/dnssec-dsfromkey
freenas-boot/ROOT/default@2020-04-25-19:27:43:/usr/local/libexec/gcc9/gcc/x86_64-portbld-freebsd11.0/9.2.0/cc1obj
freenas-boot/ROOT/default@2020-04-25-19:27:43:/usr/local/tools/lsiget/lsigetfreebsd_051915.tgz


Capture.PNG
 

dstocks

Cadet
Joined
May 19, 2020
Messages
6
The system created the mirror/replacing group where the new flash drive /dev/da0p2 resides. Is /dev/da0p2 now mirroring /dev/da1p2? Even though da0p2 is nested under mirror/replacing? It won't let me detach the "old" devices. How can I move /dev/da0p2 up to mirror and delete the "replacing" vdev? Thank you!
 
Top