I did some research on the internet but no clue, trying a post here as a last resort...
I work as a sysadmin for a cooperative where almost all our colleagues are using Debian on their computers (~120 PC). We're trying to keep up with Debian releases, and we're installing/upgrading to bullseye since a few months. We noticed after a while that a lot of computers had some serious Grub issues after a while, making boot impossible without running a fsck on boot partition, which got corrupted, and rebuilding Grub. And we have to do that for each computer every few weeks...
Trying to understand what was wrong, and realizing that not all models were affected we found out that the problem was with the SSD : Western Digital SSD WD Green 240 Go M.2 (WDS240G2G0B). When replacing it (with SATA SSD, that is maybe important), no more issue, even after several weeks.
I have some examples of computers that had no problem for a couple of years using Buster, then the issue above when reinstalled in Bullseye, and then fine when the WD SSD was replaced. The other models we have not using this WD SSD never had this issue.
Here are the most (I think) eloquent logs I could find :
Code: Select all
/var/log/syslog:Jun 27 11:00:01 ene-natl-pc-363 kernel: [ 4181.834080] EXT4-fs error (device sda2): htree_dirblock_to_tree:1054: inode #40962: block 331792: comm find: bad entry in directory: rec_len is smaller than minimal - offset=6144, inode=0, rec_len=0, size=1024 fake=0
/var/log/syslog:Jun 28 11:00:02 ene-natl-pc-363 kernel: [46751.776342] EXT4-fs error (device sda2): htree_dirblock_to_tree:1054: inode #40962: block 331792: comm find: bad entry in directory: rec_len is smaller than minimal - offset=6144, inode=0, rec_len=0, size=1024 fake=0
/var/log/syslog:Jun 29 11:00:01 ene-natl-pc-363 kernel: [79795.759952] EXT4-fs error (device sda2): htree_dirblock_to_tree:1054: inode #40962: block 331792: comm find: bad entry in directory: rec_len is smaller than minimal - offset=6144, inode=0, rec_len=0, size=1024 fake=0
/var/log/syslog:Jun 29 14:15:32 ene-natl-pc-363 kernel: [91526.696531] EXT4-fs (sda2): error count since last fsck: 3
/var/log/syslog:Jun 29 14:15:32 ene-natl-pc-363 kernel: [91526.696547] EXT4-fs (sda2): initial error at time 1656320401: htree_dirblock_to_tree:1054: inode 40962: block 331792
/var/log/syslog:Jun 29 14:15:32 ene-natl-pc-363 kernel: [91526.696561] EXT4-fs (sda2): last error at time 1656493201: htree_dirblock_to_tree:1054: inode 40962: block 331792
If anyone has an idea I'd be happy to provide more information...
Thanks !
Edit : partitioning is done this way : EFI (FAT32) - boot (ext2) - "rescue" (ext2) - LVM2 LUKS encrypted, with root, var/log and home within