33
[unsolved] btrfs corruption?
(lemmy.world)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Few possibilities here:
Could be something wrong with the SSD - is it a Samsung one by any chance? There was a firmware issue that caused the SSD lifespan to degrade at a higher rate than normal... This article only covers the 980 but I believe there were a few models affected
https://www.tomshardware.com/news/samsung-980-pro-ssd-failures-firmware-update
It also could be that whatever files were corrupted have been deleted (maybe browser cache files etc.) or the allocated block is corrupted but contains no files within it. After running a scrub, the names of files within a corrupted block are shown in dmesg - if there's none then I think you're fine, but strongly consider replacing the SSD/updating its firmware/checking its SMART diagnostic data to see if its ok.
The error counter can be reset with
btrfs dev sta --reset
to see if these errors pop up again after trying a resolutionIt's a
KINGSTON SA2000M81000G
. Here is a "datasheet".I've looked up some of the inode numbers in the logs and they point to some application state data in /var so reinstalling application could bring those files back.
I've never touched SMART before since I've assumed it's an HDD thing. Anyway. I've installed smartmontools. nvme ssds don't report smart stats like for hdds so this answer suggested looking for Percentage used in stead.
It could be true that the firmware is not optimal but I could not find any news about that like you have for the 980. gnome software should keep firmware up to date in the background but just for good measure I ran it in live environment as well. I will probably get a new ssd at some point in the future and maybe use this old one for non critical storage in the future.