So I’ve had my root partition formatted with btrfs on my SSD, and recently it started giving the message in the title - after looking around, and mistakenly running btrfs check --repair /dev/sda5
through a Ubuntu live USB caused it to fully breakdown. So, I reinstalled openSuse tumbleweed, making sure to reformat the root partition. For what it’s worth, running GParted from the Ubuntu live USB says that the device descriptor is 2048 bytes, whilst linux reports it as 512 bytes. Googling this error didn’t get me to much place useful, but maybe it is relevant to this problem I’m having.
I reinstalled openSuse and reformatted my SSD / partition 2 days ago, and now it is still giving me these error messages:
Output of dmesg | grep BTRFS
:
2.783614] BTRFS: device fsid fe9d7ed0-5935-4368-8d3f-78afa44986fe devid 1 transid 5586 /dev/sdb5
2.785905] BTRFS: device fsid 4fd0fb30-7b5e-48eb-ad9b-bd456cb53da1 devid 1 transid 635 /dev/sda5
2.807315] BTRFS info (device sda5): disk space caching is enabled
2.807316] BTRFS info (device sda5): has skinny extents
2.813008] BTRFS info (device sda5): enabling ssd optimizations
3.216370] BTRFS info (device sda5): disk space caching is enabled
3.532714] BTRFS info (device sdb5): disk space caching is enabled
3.532716] BTRFS info (device sdb5): has skinny extents
5.156064] BTRFS critical (device sda5): corrupt leaf: root=1 block=5811896320 slot=3, unexpected item end, have 729628220 expect 16109
Output of sudo btrfs scrub start /
:
scrub status for 4fd0fb30-7b5e-48eb-ad9b-bd456cb53da1
scrub started at Wed Apr 25 14:03:52 2018 and finished after 00:00:21
total bytes scrubbed: 10.41GiB with 0 errors
Output of sudo smartctl -a /dev/sda
:
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.16.2-1-default] (SUSE RPM)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SandForce Driven SSDs
Device Model: SanDisk SDSSDX120GG25
Serial Number: 131086402463
LU WWN Device Id: 5 001b44 990f0bf9f
Firmware Version: R211
User Capacity: 120,034,123,776 bytes [120 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, ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Wed Apr 25 14:05:26 2018 AEST
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: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
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: ( 48) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0021) SCT Status supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 117 117 050 Pre-fail Always - 0/167098116
5 Retired_Block_Count 0x0033 100 100 003 Pre-fail Always - 0
9 Power_On_Hours_and_Msec 0x0032 085 085 000 Old_age Always - 13454h+29m+12.720s
12 Power_Cycle_Count 0x0032 098 098 000 Old_age Always - 2792
171 Program_Fail_Count 0x0032 000 000 000 Old_age Always - 0
172 Erase_Fail_Count 0x0032 000 000 000 Old_age Always - 0
174 Unexpect_Power_Loss_Ct 0x0030 000 000 000 Old_age Offline - 361
177 Wear_Range_Delta 0x0000 000 000 000 Old_age Offline - 6
181 Program_Fail_Count 0x0032 000 000 000 Old_age Always - 0
182 Erase_Fail_Count 0x0032 000 000 000 Old_age Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
194 Temperature_Celsius 0x0022 029 044 000 Old_age Always - 29 (Min/Max 9/44)
195 ECC_Uncorr_Error_Count 0x001c 120 120 000 Old_age Offline - 0/167098116
196 Reallocated_Event_Count 0x0033 100 100 003 Pre-fail Always - 0
201 Unc_Soft_Read_Err_Rate 0x001c 120 120 000 Old_age Offline - 0/167098116
204 Soft_ECC_Correct_Rate 0x001c 120 120 000 Old_age Offline - 0/167098116
230 Life_Curve_Status 0x0013 100 100 000 Pre-fail Always - 100
231 SSD_Life_Left 0x0013 099 099 010 Pre-fail Always - 0
233 SandForce_Internal 0x0000 000 000 000 Old_age Offline - 14550
234 SandForce_Internal 0x0032 000 000 000 Old_age Always - 11632
241 Lifetime_Writes_GiB 0x0032 000 000 000 Old_age Always - 11632
242 Lifetime_Reads_GiB 0x0032 000 000 000 Old_age Always - 21378
SMART Error Log not supported
SMART Self-test Log not supported
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
So I’m not sure what exactly is going wrong. I turned off my overclocks for my CPU and RAM as well. Any advice on where to go from here would be helpful