how to identify the correct usb drive to replace it (mirror boot pool)

Keven

Contributor
Joined
Aug 10, 2016
Messages
114
hi,

it's been a couple time i receive this email

* Boot pool status is ONLINE: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected..

my boot pool is running on a mirror 2 usb drive. the first is a 8GB Sony (7-8 years old) and the second is a sandisk cruzer 16GB (1 years old). I suspect that it is the Sony that is starting to go away, but because i can't run smart test on usb drive i cannot be sure. anyway i have decide to made the switch to an SSD since they become so cheap. now i want to replace the Sony, but i don't see how to identify the sony usb in the "Boot Pool Status" page. i only see the mirror with 2 gptid device, but it is not matching the serial number of my usb drive...

freenas-boot000ONLINE
mirror000ONLINE
/dev/gptid/4ac8579a-46b8-11e9-a905-0cc47a855da0000ONLINEmore_vert
/dev/gptid/4ae916a8-46b8-11e9-a905-0cc47a855da0000ONLINEmore_vert


i don't know how to find the gptid of the usb drive in the shell.


one of the email i received mentioning the boot pool error said the following

pool: freenas-boot
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
using 'zpool clear' or replace the device with 'zpool replace'.
see: http://illumos.org/msg/ZFS-8000-9P
scan: scrub repaired 0 in 0 days 00:28:51 with 0 errors on Thu Apr 2 04:13:51 2020
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/4ac8579a-46b8-11e9-a905-0cc47a855da0 ONLINE 0 0 0
gptid/4ae916a8-46b8-11e9-a905-0cc47a855da0 ONLINE 0 0 2



also side question. Is it possible to run a mirror of 3 drive for the boot pool?
 

subhuman

Contributor
Joined
Nov 21, 2019
Messages
121
gptid/4ae916a8-46b8-11e9-a905-0cc47a855da0 ONLINE 0 0 2
This is the one with 2 checksum errors listed.

anyway i have decide to made the switch to an SSD since they become so cheap.
Good choice. USB keys have been discouraged recently because, as you've experienced, they wear out too quickly.
also side question. Is it possible to run a mirror of 3 drive for the boot pool?
The wording of that section (2.3.3) in the manual seems to imply you can:
Code:
Use the arrow keys to highlight the destination SSD, hard drive, USB stick, or virtual disk. Press the spacebar to
select it.

To mirror the operating system device, move to additional devices and press spacebar to select them also.
If all of the selected devices are larger than 64 GiB and none are connected through USB, a 16 GiB swap
partition is also created. 
 
Top