Opensuse 15.6 Plasma.
I have a btrfs system on a m.2
I usually don’t swithc off my computer unles I have updates that require restarting, I have it set to suspend to RAM whan I’n not using it in 10 minutes (I have measure consuption and is more or less the same that when poweroff about 5W).
Some weeks ago my system went ro, I don’t know why. I powered of the pc, started again and everything worked fine. The same issue is happening sometimes, and the lap between times is getting smaller (now more or less once a day or two).
I have done some test
andromeda:~ # smartctl -a /dev/nvme0n1
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.4.0-150600.23.42-default] (SUSE RPM)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: CT1000P2SSD8
Serial Number: 2051E4DF0793
Firmware Version: P2CR031
PCI Vendor/Subsystem ID: 0xc0a9
IEEE OUI Identifier: 0x6479a7
Total NVM Capacity: 1,000,204,886,016 [1.00 TB]
Unallocated NVM Capacity: 0
Controller ID: 1
NVMe Version: 1.3
Number of Namespaces: 1
Namespace 1 Size/Capacity: 1,000,204,886,016 [1.00 TB]
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 6479a7 fff0000000
Local Time is: Tue Apr 1 18:33:56 2025 CEST
Firmware Updates (0x12): 1 Slot, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005e): Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x0e): Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg
Maximum Data Transfer Size: 64 Pages
Warning Comp. Temp. Threshold: 70 Celsius
Critical Comp. Temp. Threshold: 85 Celsius
Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 3.50W - - 0 0 0 0 0 0
1 + 1.90W - - 1 1 1 1 0 0
2 + 1.50W - - 2 2 2 2 0 0
3 - 0.0700W - - 3 3 3 3 5000 1900
4 - 0.0020W - - 4 4 4 4 13000 100000
Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 1
1 - 4096 0 0
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 32 Celsius
Available Spare: 100%
Available Spare Threshold: 5%
Percentage Used: 2%
Data Units Read: 95,606,050 [48.9 TB]
Data Units Written: 50,648,442 [25.9 TB]
Host Read Commands: 715,125,587
Host Write Commands: 479,002,506
Controller Busy Time: 9,257
Power Cycles: 7,595
Power On Hours: 6,309
Unsafe Shutdowns: 87
Media and Data Integrity Errors: 0
Error Information Log Entries: 4,896
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Error Information (NVMe Log 0x01, 16 of 16 entries)
Num ErrCount SQId CmdId Status PELoc LBA NSID VS Message
0 4896 0 0x0006 0x4004 0x004 0 1 - Invalid Field in Command
1 4895 0 0x3000 0x4004 0x004 0 1 - Invalid Field in Command
2 4894 0 0x0010 0x4005 0x028 0 0 - Invalid Field in Command
Read Self-test Log failed: Invalid Field in Command (0x2002)
this last one just after restarting after a ro remounting.
andromeda:~ # dmesg | grep -i -A10 -B10 'BTRFS error'
[ 11.992850] audit: type=1400 audit(1743524900.788:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="klogd" pid=1187 comm="apparmor_parser"
[ 11.993386] audit: type=1400 audit(1743524900.788:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=1179 comm="apparmor_parser"
[ 11.993898] audit: type=1400 audit(1743524900.788:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1180 comm="apparmor_parser"
[ 11.994393] audit: type=1400 audit(1743524900.788:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1180 comm="apparmor_parser"
[ 11.994898] audit: type=1400 audit(1743524900.788:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ping" pid=1178 comm="apparmor_parser"
[ 11.995481] audit: type=1400 audit(1743524900.788:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/lessopen.sh" pid=1191 comm="apparmor_parser"
[ 11.996037] audit: type=1400 audit(1743524900.788:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="samba-rpcd-spoolss" pid=1186 comm="apparmor_parser"
[ 11.996631] audit: type=1400 audit(1743524900.788:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="syslogd" pid=1189 comm="apparmor_parser"
[ 11.997107] audit: type=1400 audit(1743524900.788:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="samba-dcerpcd" pid=1183 comm="apparmor_parser"
[ 11.997617] audit: type=1400 audit(1743524900.788:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="samba-rpcd-classic" pid=1185 comm="apparmor_parser"
[ 11.997682] BTRFS error (device nvme0n1p1): parent transid verify failed on logical 49450893312 mirror 1 wanted 349472898974925 found 820429
[ 11.999181] BTRFS error (device nvme0n1p1): parent transid verify failed on logical 49450893312 mirror 1 wanted 349472898974925 found 820429
[ 12.008171] BTRFS error (device nvme0n1p1): parent transid verify failed on logical 49450893312 mirror 1 wanted 349472898974925 found 820429
[ 12.021130] EXT4-fs (sda2): mounted filesystem c7ea78b9-9996-4903-8347-f5e97ae0e4b0 r/w with ordered data mode. Quota mode: none.
[ 13.057405] loop31: detected capacity change from 0 to 8
[ 13.106097] vboxdrv: loading out-of-tree module taints kernel.
[ 13.107051] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[ 13.122745] vboxdrv: Found 12 processor cores/threads
[ 13.140772] vboxdrv: TSC mode is Invariant, tentative frequency 3892926656 Hz
[ 13.142014] vboxdrv: Successfully loaded version 7.1.4 r165100 (interface 0x00340001)
[ 13.350684] VBoxNetFlt: Successfully started.
[ 13.355927] VBoxNetAdp: Successfully started.
[ 13.397629] NET: Registered PF_QIPCRTR protocol family
--
[ 21.098728] RPC: Registered tcp-with-tls transport module.
[ 21.098729] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 21.124661] /dev/vmmon[2157]: Module vmmon: registered as misc device
[ 21.124674] /dev/vmmon[2157]: Using tsc_khz as TSC frequency: 3897938
[ 21.124676] /dev/vmmon[2157]: Module vmmon: initialized
[ 21.147375] Guest personality initialized and is inactive
[ 21.147433] VMCI host device registered (name=vmci, major=10, minor=119)
[ 21.147438] Initialized host personality
[ 21.162959] NET: Registered PF_VSOCK protocol family
[ 21.164391] Key type dns_resolver registered
[ 21.177354] BTRFS error (device nvme0n1p1): parent transid verify failed on logical 49450893312 mirror 1 wanted 349472898974925 found 820429
[ 21.177548] BTRFS error (device nvme0n1p1): tree first key mismatch detected, bytenr=1405485056 parent_transid=821233 key expected=(5308416,1,0) has=(5340532,1,0)
[ 21.178190] BTRFS error (device nvme0n1p1): tree first key mismatch detected, bytenr=1405485056 parent_transid=821233 key expected=(5308416,1,0) has=(5340532,1,0)
[ 21.178493] BTRFS error (device nvme0n1p1): tree first key mismatch detected, bytenr=1405485056 parent_transid=821233 key expected=(5308416,1,0) has=(5340532,1,0)
[ 21.197960] ppdev: user-space parallel port driver
[ 21.285275] NFS: Registering the id_resolver key type
[ 21.285288] Key type id_resolver registered
[ 21.285292] Key type id_legacy registered
[ 22.270370] userif-3: sent link down event.
[ 22.270390] userif-3: sent link up event.
[ 29.401877] systemd-journald[697]: /var/log/journal/c4738ed998b24c38bf3e11ec17b3718d/user-1001.journal: Journal file corrupted, rotating.
[ 642.924161] BTRFS error (device nvme0n1p1): parent transid verify failed on logical 49450893312 mirror 1 wanted 349472898974925 found 820429
[ 642.924206] BTRFS error (device nvme0n1p1): qgroup scan failed with -5
Well there are errors in the btrfs filesystem.
But I don’t know if they may be causes by any powerloss I have had (I don’t remember but maybe I had one) or because of faulty hardware.
What should I do?
best regards