CRITICAL: The boot volume state is DEGRADED

Status
Not open for further replies.

Myopia

Dabbler
Joined
Jan 13, 2016
Messages
16
I'm using FreeNAS for some years again, but now I ran into some issues. I got a mail from my FreeNAS, with the following message:

CRITICAL: The boot volume state is DEGRADED: One or more devices has experienced an error resulting in data corruption. Applications may be affected.

status says:
Code:
[root@freenas ~]# zpool status -v																								  
  pool: archive																													
 state: ONLINE																													
status: Some supported features are not enabled on the pool. The pool can														  
		still be used, but some features are unavailable.																		  
action: Enable all features using 'zpool upgrade'. Once this is done,															  
		the pool may no longer be accessible by software that does not support													
		the features. See zpool-features(7) for details.																			
  scan: scrub repaired 0 in 2h47m with 0 errors on Sun Jun 17 02:48:00 2018														
config:																															
																																	
		NAME											STATE	 READ WRITE CKSUM												
		archive										 ONLINE	   0	 0	 0												
		  raidz1-0									  ONLINE	   0	 0	 0												
			gptid/5bfba636-c382-11e5-a785-3ca82aa0da90  ONLINE	   0	 0	 0												
			gptid/5ccd9c79-c382-11e5-a785-3ca82aa0da90  ONLINE	   0	 0	 0												
			gptid/5da3c4a2-c382-11e5-a785-3ca82aa0da90  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: scrub repaired 2K in 0h31m with 7 errors on Tue Jul  3 04:16:06 2018														
config:																															
																																	
		NAME										  STATE	 READ WRITE CKSUM													
		freenas-boot								  DEGRADED	 0	 0	 7													
		  gptid/b7214029-ad5a-11e5-81d5-3ca82aa0da90  DEGRADED	 0	 0	27  too many errors								  
																																	
errors: Permanent errors have been detected in the following files:																
																																	
		freenas-boot/ROOT/11.0-U4@2017-03-12-14:27:13:/bin/dd																	  
		freenas-boot/ROOT/11.0-U4@2017-03-12-14:27:13:/usr/local/lib/perl5/site_perl/mach/5.20/sys/proc.ph						
		freenas-boot/ROOT/11.0-U4@2017-03-12-14:27:13:/usr/local/lib/perl5/site_perl/mach/5.20/sys/procctl.ph					  
		freenas-boot/ROOT/11.0-U4@2017-03-12-14:27:13:/usr/local/lib/perl5/site_perl/mach/5.20/sys/procdesc.ph					
		freenas-boot/ROOT/11.0-U4@2017-03-12-14:27:13:/usr/local/lib/perl5/site_perl/mach/5.20/sys/queue.ph						
		freenas-boot/ROOT/11.0-U4@2017-03-12-14:27:13:/usr/local/lib/perl5/site_perl/mach/5.20/sys/syscall.ph					  
		freenas-boot/ROOT/11.0-U4@2017-03-12-14:27:13:/usr/local/go/pkg/tool/freebsd_amd64/asm							

What could be wrong? And what to do?
 
Last edited by a moderator:

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
Your boot pool is degraded. If you stated your hardware as per the forum rules you could have got a more detailed reply.

What you need to do is get a new boot device, install FreeNAS and reload your configuration. If you have not saved a configuration, do so before scrapping this boot device.
 

Myopia

Dabbler
Joined
Jan 13, 2016
Messages
16
System information:
HP MicroSvr Gen8 G1610T
Build
FreeNAS-11.0-U4 (54848d13b)
Platform Intel(R) Celeron(R) CPU G1610T @ 2.30GHz
Memory 12088MB
 

Myopia

Dabbler
Joined
Jan 13, 2016
Messages
16
So I just fresh install FreeNAS 11.1 and then restore the 11.0-U4 configuration file?
 

jro

iXsystems
iXsystems
Joined
Jul 16, 2018
Messages
80
So I just fresh install FreeNAS 11.1 and then restore the 11.0-U4 configuration file?

That would be a good first step. You can backup your config by going to the web UI > System > General > "Save Config". After you reinstall, you'll restore the config on that same page.

Do you have your OS installed on a USB flash drive? If so, you might as well get another flash drive and reinstall on that instead. Those drives don't last indefinitely, but thankfully they're cheap and easy to replace.
 

Myopia

Dabbler
Joined
Jan 13, 2016
Messages
16
I've have succesfully installed a fresh version and updated the configuration file. Thumbs up for FreeNAS! It all went smoothly.

I got a few warnings:
  • WARNING: July 16, 2018, 9:13 p.m. - smartd_daemon is not running.
  • WARNING: July 16, 2018, 9:13 p.m. - New feature flags are available for volume archive. Refer to the "Upgrading a ZFS Pool" section of the User Guide for instructions.
Upgrading a ZFS pool, can this be done without any risk? And why would I do it?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
WARNING: July 16, 2018, 9:13 p.m. - smartd_daemon is not running.
Make sure you disable SMART for your USB boot drive as thins can prevent it from starting.
WARNING: July 16, 2018, 9:13 p.m. - New feature flags are available for volume archive. Refer to the "Upgrading a ZFS Pool" section of the User Guide for instructions.
I try not to update things without reason. As this is not a security thing, I would just leave it unless you have a backup. Its a low risk thing but why take a chance. Feel free to read up on it and make your own call.
 

jro

iXsystems
iXsystems
Joined
Jul 16, 2018
Messages
80
The features added are the sha512 and skein hash functions. These are only useful if you have dedupe enabled on the pool in question. If you aren't using dedupe, you can skip this upgrade and just uncheck the warning in the status box.

When new features are released, you can read about them on FreeBSD's zpool-features man page: https://www.freebsd.org/cgi/man.cgi?query=zpool-features&sektion=7&n=1

There's some cool stuff in the works, so don't be afraid to upgrade your pool when you want to try out new stuff. It's generally a very safe operation unless you have backwards compatibility requirements on the pool (i.e., you want to replicate the pool to a system running an older version of FreeNAS/BSD, etc.).
 

Myopia

Dabbler
Joined
Jan 13, 2016
Messages
16
Thank you all for the great support! I'm very happy with my FreeNAS setup, which is running for 2,5 year. Sadly the SD card with the FreeNAS was degraged, but reinstallation and restoring configuration is very easy to do. Maybe in the future I will setup a new FreeNAS at a different location for data mirroring. :D
 
Status
Not open for further replies.
Top