Boot USB Stick: scrub found errors on it.

Perm1990

Dabbler
Joined
Feb 25, 2016
Messages
43
Hello.

The scrub on the USB boot stick results in errors:
# zpool status -v freenas-boot
pool: freenas-boot
state: ONLINE
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: scrub in progress since Mon Oct 5 05:53:43 2020
1.84G scanned at 376M/s, 0 issued at 0/s, 14.4G total
0 repaired, 0.00% done, no estimated completion time
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 2
gptid/43848064-e490-11e5-a609-b05ada8776b4 ONLINE 0 0 4

errors: Permanent errors have been detected in the following files:
freenas-boot/ROOT/11.3-U5@2020-04-16-05:12:13:/usr/local/lib/libpkg.so.4
freenas-boot/ROOT/11.3-U5@2020-04-16-05:12:13:/usr/local/x86_64-portbld-freebsd11.0/bin/ar


Questions:
  • What is the best option here?
    • It is possible to just restore the corrupt files? What is the best option here?
    • It is possible to 'just' start the installation integrity verification against the online repository and repair the installation?
    • It is better to replace the USB stick and have a new installation + restore the settings?
  • It is possible to have two USB stick in parallel as the boot pool? I.e. if one of them become damages, just replace it and resilver the boot pool...
Thank you in advanced.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
It is better to replace the USB stick and have a new installation + restore the settings?
Yes.

It is possible to have two USB stick in parallel as the boot pool?
Possible. Hard to track which is the failed one as there is usually no external indication of serial number and USB ports aren't in any kind of standard order.
Better is to use an SSD or two SSDs... nothing special, just a cheap small one will usually do the job. Usually Kingston SSDs seem to be cheap where I am and work well.
 
Top