Error in scrub of boot pool

Status
Not open for further replies.

catnas

Explorer
Joined
Dec 12, 2015
Messages
57
My FreeNAS is headless and run off a small USB thumbdrive, which I haven't touched since I got it running stable. It looks like a scrub was running last night and I woke up to the below error.

I am not being prompted to take any action in the web GUI. How should I resolve this? Pulling the USB and starting over from scratch isn't super exciting because the system is headless and that's going to take an afternoon (or more) for me.

Thanks in advance.

Code:
Checking status of zfs pools:
NAME  SIZE  ALLOC  FREE  EXPANDSZ  FRAG  CAP  DEDUP  HEALTH  ALTROOT
{MainPoolName}  7.25T  5.42T  1.83T  -  12%  74%  1.00x  ONLINE  /mnt
freenas-boot  14.4G  3.06G  11.3G  -  -  21%  1.00x  ONLINE  -

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 repaired 0 in 0h20m with 1 errors on Tue Mar 28 04:05:52 2017
config:

   NAME  STATE  READ WRITE CKSUM
   freenas-boot  ONLINE  0  0  1
	 gptid/51eb3f24-a548-11e5-8ed3-d05099799cb9  ONLINE  0  0  4  block size: 8192B configured, 8388608B native

errors: 1 data errors, use '-v' for a list

-- End of daily output --
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
You will want to run zpool status -v freenas-boot to see what exactly is corrupted.

The easiest fix is to get another USB and make it a mirror of your first. Then, you can either replace the first USB with a replacement, or downgrade back to a single (the good) USB and toss the original.
 

catnas

Explorer
Joined
Dec 12, 2015
Messages
57
You will want to run zpool status -v freenas-boot to see what exactly is corrupted.

The easiest fix is to get another USB and make it a mirror of your first. Then, you can either replace the first USB with a replacement, or downgrade back to a single (the good) USB and toss the original.

Ran the command, got this back:

Code:
errors: Permanent errors have been detected in the following files:
	   //usr/local/www/dojo/dojox/geo/charting/resources/data/Americas.json
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
edit: struck previous sentence.

This might, or might not, be the beginning of the end for your boot device, save a copy of your configuration and have a replacement device waiting in the wings.
 
Last edited:

catnas

Explorer
Joined
Dec 12, 2015
Messages
57
Thanks, guys.

I just used the 'attach' command to mirror my current USB onto a new one. It's resilvering right now (although, very, very slowly). Once that is done, should I (and how?) replace the corrupted file? Will I need to clear the error so that it doesn't continue to report a problem?

usr/local/www/dojo/dojox/geo/charting/resources/data/Americas.json
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Just reinstall, way faster and easier.

Sent from my Nexus 5X using Tapatalk
 

catnas

Explorer
Joined
Dec 12, 2015
Messages
57
Just reinstall, way faster and easier.
That does make sense, but for me to do that would mean disconnecting and lugging a monitor over to my NAS, hooking it up, unplugging, lugging it back, and reconnecting. It's sort of a last resort, honestly.

I am guessing that once I've mirrored my boot USB everything should be back to normal. My only concern now is replacing the damaged file and clearing the error.
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Just reinstall, way faster and easier.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^+1

Your motherboard has these management features listed below for "headless" access, you don't need to move your monitor.


BMC Controller - ASPEED AST2300: IPMI (Intelligent Platform Management Interface) 2.0 with iKVM support
and IPMI Dedicated LAN - 1 x Realtek RTL8211E for dedicated management LAN
 

catnas

Explorer
Joined
Dec 12, 2015
Messages
57
Just reinstall, way faster and easier.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^+1

Your motherboard has these management features listed below for "headless" access, you don't need to move your monitor.


BMC Controller - ASPEED AST2300: IPMI (Intelligent Platform Management Interface) 2.0 with iKVM support
and IPMI Dedicated LAN - 1 x Realtek RTL8211E for dedicated management LAN


Alright, you guys convinced me. thanks!

(By the way, I've decided to mirror the boot usb because the drives are so cheap... no real reason not to. I installed with just 1 Usb to start, and make sure everything was fine. Then, once everything was good, I attached a 2nd brand new USB. That resilver finished in seconds at over 19 mB/s, compared with trying to resilver from the bad USB which was proceeding at 500 kB/s - 1 mB/s. So, I'm sold that the old USB drive was on its way out.)

Thanks for working through this with me everyone. Much appreciated. This is a great community.
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Glad you got it worked out!
 
Status
Not open for further replies.
Top