You are not logged in.

#1 2019-10-14 08:23:19

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,653
Website

[SOLVED] EXT4-fs warning on systemd-tmpfiles-clean.service

Hi all,

on one of my systems I encounter the following journal records:

Okt 13 17:20:59 965 systemd[1]: Starting Cleanup of Temporary Directories...
Okt 13 17:20:59 965 kernel: EXT4-fs warning: 24 callbacks suppressed
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978229: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error: 24 callbacks suppressed
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978229: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978232: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978232: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978245: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978245: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978250: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978250: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978249: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978249: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978248: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978248: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978256: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978256: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978255: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978255: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978253: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978253: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 kernel: EXT4-fs warning (device sda2): ext4_dirent_csum_verify:368: inode #12978254: comm systemd-tmpfile: No space for directory leaf checksum. Please run e2fsck -D.
Okt 13 17:20:59 965 kernel: EXT4-fs error (device sda2): htree_dirblock_to_tree:995: inode #12978254: comm systemd-tmpfile: Directory block failed checksum
Okt 13 17:20:59 965 systemd[1]: systemd-tmpfiles-clean.service: Succeeded.

These EXT4-fs warnings repeat with the systemd-tmpfiles-clean.service.
If you need the full journal: http://ix.io/1YBN

A web search did not yield any useful information for that error.
What's happening there?
I cannot run e2fsck -D as proposed, since the FS is mounted as / and the system is located 550 km away, so I only have SSH available.

Last edited by schard (2019-10-22 14:04:03)


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#2 2019-10-20 07:30:07

andym
Member
From: France
Registered: 2019-01-16
Posts: 61

Re: [SOLVED] EXT4-fs warning on systemd-tmpfiles-clean.service

Try searching for

No space for directory leaf checksum

There are some useful suggestions there.

You might use smartctl to check the disks

Offline

#3 2019-10-22 14:03:46

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,653
Website

Re: [SOLVED] EXT4-fs warning on systemd-tmpfiles-clean.service

I just wanted to SMART-Test the deivce, but I could not install smartmontools.

$ sudo pacman -Syu smartmontools
:: Synchronisiere Paketdatenbanken...
 core                                                                                                 133,4 KiB  6,51M/s 00:00 [#############################################################################] 100%
 extra                                                                                               1644,2 KiB  17,8M/s 00:00 [#############################################################################] 100%
 community                                                                                              4,9 MiB  15,2M/s 00:00 [#############################################################################] 100%
 multilib                                                                                             169,7 KiB  0,00B/s 00:00 [#############################################################################] 100%
 homeinfo                                                                                               8,3 KiB   827K/s 00:00 [#############################################################################] 100%
 homeinfo.sig                                                                                         310,0   B  0,00B/s 00:00 [#############################################################################] 100%
:: Starte vollständige Systemaktualisierung...
Fehler: Konnte Datei /var/lib/pacman/local/systemd-243.51-1/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/systemd-libs-243.51-1/desc nicht öffnen: Ungültige Nachricht
Löse Abhängigkeiten auf...
Fehler: Konnte Datei /var/lib/pacman/local/amd-ucode-20190923.417a9c6-1/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/appitf-r34.376a527-1/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/gnutls-3.6.10-1/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/libelf-0.177-1/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/libgpg-error-1.36-2/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/libnl-3.5.0-1/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/libpcap-1.9.1-1/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/libusb-1.0.23-1/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/python-packaging-19.2-2/desc nicht öffnen: Ungültige Nachricht
Fehler: Konnte Datei /var/lib/pacman/local/tzdata-2019c-2/desc nicht öffnen: Ungültige Nachricht
Suche nach in Konflikt stehenden Paketen...
Warnung: Konnte die Metadaten für Paket systemd-243.51-1 nicht vollständig laden
Fehler: Konnte den Vorgang nicht vorbereiten (Ungültiges oder beschädigtes Paket)

After that, I forced an fsck on the next boot.

$ sudo tune2fs -c 1 /dev/sda2

And rebooted the system. It did not come back online after an hour now, so I suspect it's either hanging in the EFI, no longer finding the defective SSD or waiting for manual fsck interaction.
This is also the cause, why I only have the pacman output in German locales. The system is gone for good, so I cannot reproduce the error message with LANG=C.
I advised our tech support to send the system in, but it sure looks like it needs a new SSD.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB