One or more devices has experienced an error resulting in data corruption

Status
Not open for further replies.

Lucas Rey

Contributor
Joined
Jul 25, 2011
Messages
180
Hello community, I'm experiencing the following errors on freenas-boot volume (already scrubbed):
Code:
root@nas:~ # 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 repaired 0 in 0 days 00:00:42 with 21 errors on Fri Jun  8 07:41:20 2018
config:

		NAME		STATE	 READ WRITE CKSUM
		freenas-boot  ONLINE	   0	 0	21
		  ada0p2	ONLINE	   0	 0	42

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

		freenas-boot/ROOT/11.1-U4@2018-03-23-07:41:41:/usr/local/pydevd_attach_to_process/winappdbg/crash.py
		freenas-boot/ROOT/11.1-U4@2018-03-23-07:41:41:/usr/local/pydevd_attach_to_process/winappdbg/debug.py
		freenas-boot/ROOT/11.1-U4@2018-03-23-07:41:41:/usr/local/sbin/arcconf
		freenas-boot/ROOT/11.1-U4@2018-03-23-07:41:41:/usr/local/sbin/dnssec-keyfromlabel

From smart check it seems isn't hardware problem:
Code:
root@nas:~ # smartctl -a /dev/ada0
smartctl 6.6 2017-11-05 r4594 [FreeBSD 11.1-STABLE amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:	 JMicron based SSDs
Device Model:	 KINGSTON SS100S28G
Serial Number:	08GB60026001
Firmware Version: D100309a
User Capacity:	8,012,390,400 bytes [8.01 GB]
Sector Size:	  512 bytes logical/physical
Rotation Rate:	Solid State Device
Form Factor:	  2.5 inches
Device is:		In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:	Fri Jun  8 07:45:22 2018 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
										was never started.
										Auto Offline Data Collection: Disabled.
Self-test execution status:	  (  32) The self-test routine was interrupted
										by the host with a hard or soft reset.
Total time to complete Offline
data collection:				(   30) seconds.
Offline data collection
capabilities:					(0x1b) SMART execute Offline immediate.
										Auto Offline data collection on/off support.
										Suspend Offline collection upon new
										command.
										Offline surface scan supported.
										Self-test supported.
										No Conveyance Self-test supported.
										No Selective Self-test supported.
SMART capabilities:			(0x0003) Saves SMART data before entering
										power-saving mode.
										Supports SMART auto save timer.
Error logging capability:		(0x01) Error logging supported.
										General Purpose Logging supported.
Short self-test routine
recommended polling time:		(   1) minutes.
Extended self-test routine
recommended polling time:		(   1) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME		  FLAG	 VALUE WORST THRESH TYPE	  UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate	 0x000b   100   100   050	Pre-fail  Always	   -	   16777215
  2 Throughput_Performance  0x0005   100   100   050	Pre-fail  Offline	  -	   0
  3 Unknown_JMF_Attribute   0x0007   100   100   050	Pre-fail  Always	   -	   0
  5 Reallocated_Sector_Ct   0x0013   100   100   050	Pre-fail  Always	   -	   0
  7 Unknown_JMF_Attribute   0x000b   100   100   050	Pre-fail  Always	   -	   0
  8 Unknown_JMF_Attribute   0x0005   100   100   050	Pre-fail  Offline	  -	   0
  9 Power_On_Hours		  0x0012   100   100   000	Old_age   Always	   -	   10907
 10 Unknown_JMF_Attribute   0x0013   100   100   050	Pre-fail  Always	   -	   0
 12 Power_Cycle_Count	   0x0012   100   100   000	Old_age   Always	   -	   256
168 SATA_Phy_Error_Count	0x0012   100   100   000	Old_age   Always	   -	   3
175 Bad_Cluster_Table_Count 0x0003   100   100   010	Pre-fail  Always	   -	   1
192 Unexpect_Power_Loss_Ct  0x0012   100   100   000	Old_age   Always	   -	   0
194 Temperature_Celsius	 0x0022   040   100   000	Old_age   Always	   -	   40 (Min/Max 30/60)
197 Current_Pending_Sector  0x0012   100   100   000	Old_age   Always	   -	   0
240 Unknown_JMF_Attribute   0x0013   100   100   050	Pre-fail  Always	   -	   0
170 Bad_Block_Count		 0x0003   100   100   010	Pre-fail  Always	   -	   2 13 5
173 Erase_Count			 0x0012   100   100   000	Old_age   Always	   -	   113 545 423

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description	Status				  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline	   Interrupted (host reset)	  00%	 10847		 -

Selective Self-tests/Logging not supported

So, how can I fix the errors in the files? I already done the scrub without results.

Thank you
Lucas
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Did you see the action line?

Code:
action: Restore the file in question if possible.


For these types of problems on the boot pool, we recommend backing up (saving) your configuration, reinstalling FreeNAS and then restoring your configuration. I would use a new boot device.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
I would recommend similar action, backup the config file but then you need to run SMART tests on this drive and it being a SSD, odds are it is still okay.

Are you running FreeNAS 11.1-U4, did you try to upgrade to -U5 (I'm not recommending it, just asking a question), have a power loss, anything occur at all? If this were a USB Flash Drive then I'd recommend replacement but since it's a SSD...
 

Lucas Rey

Contributor
Joined
Jul 25, 2011
Messages
180
Thank you for replies, yes, it's ssd disk (not usb one), moreover very old disk (8 Gb) :smile:
I'm just asking if there's a way to fix without reinstalling (I have to found another SSD disk), but if it's not possible I'll do it asap. Thank you.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
You could install the same version of FreeNAS on another system or virtual machine. Then try to get good copies of the files from that installation and"restore"!them in your current environment.

I just had another thought. Do you have any older boot environments (BE)? You could try rolling back to an earlier BE. And, upgrade again to your current version.

Given that your SSD is only 8GB, I would look st replacing it in the future. Here in the US, I can buy s generic 120GB SSD for $25 at Microcenter.
 
Status
Not open for further replies.
Top