r/linuxquestions • u/CreatedInQuarantine • 19d ago
Do I need to replace my SSD?
Twice recently I had to manually fsck the vg-root of mapper (let me know if that’s actually how to refer to it) a few days apart after my drive went into read only mode while I was using it. The first time I fixed it by running fsck on the SSD partition, then the second time on the mapper itself. No issues since after several days of use.
I’m running Debian 13 with a more recent kernel, but otherwise everything is the stable release. I encountered this error while trying to boot into the default kernel attached to the stable release.
Did I fix the issue or is the SSD in need of replacement? It’s a SATA I bought in 2020. Really hoping not given the prices of SSDs recently.
Hardware Details:
CPU – AMD Ryzen 7 3700X 8-Core
GPU – NVIDIA 2080
SSD in question - Team Group GX2 2.5" 1TB SATA III
Other SSD - Crucial m.1 NVMe
MB – Aurous x570 Pro Wifi
RAM – G.SKILL Ripjaws V Series 64GB (4 x 16GB)
Here’s the output:
Inode 12583906 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12583908 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12583909 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12584376 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12585293 extent tree (at level 1) could be narrower. IGNORED.
debian: Inode 12585456 extent tree (at level 1) could be narrower. IGNORED.
Debian: Inode 28321045 extent tree (at level 1) could be narrower. IGNORED.
Inode 28588394 extent tree (at level 1) could be narrower. IGNORED.
Inodes that were part of a corrupted orphan linked list found. debian: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4 done.
Failure: File system check of the root filesystem failed
The root filesystem on /dev/mapper/debian--vg-root requires a manual fsck
BusyBox v1.37.0 (Debian 1:1.37.0-6+b7) built-in shell (ash)
Enter 'help' for a list of built-in commands. (initramfs) fsck -f/dev/mapper/debian--vg-root fsck from util-linux 2,41.5 e2fsck 1.47.2 (1-Jan-2025)
Superblock last mount time is in the future.
(by less than a day, probably due to the hardware clock being incorrectly set)
Pass 1: Checking inodes, blocks, and sizes
Inode 12583906 extent tree (at level 1) could be narrower, Inode 12583908 extent tree (at level 1) could be narrower. optimize<y›? yes
(several rows of the last optimization option but for different Inodes), then:
Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes
(This last one for sure occurred again the second time around).
The second time around I had an fsck error code 2 on the SSD but fixed it by going straight to fixing vg-root.
Thanks in advance!
2
u/_Lost-In-The-Weeds_ 19d ago
Possibly, I would pull the smart data and see if its generating errors.
https://linuxconfig.org/how-to-check-an-hard-drive-health-from-the-command-line-using-smartctl
1
u/es20490446e Develops Zenned OS 19d ago
Use
gsmartcontrol.