ext4 strange messages

michabbs

Well-Known Member
May 5, 2020
141
20
58
I have root filesystem in lvm:

Code:
/dev/mapper/pve-root on / type ext4 (rw,relatime,errors=remount-ro)

From time to time I get this in dmesg:

Code:
[27141.449117] EXT4-fs (dm-4): orphan cleanup on readonly fs
[27141.454531] EXT4-fs (dm-4): 1 orphan inode deleted
[27141.454539] EXT4-fs (dm-4): recovery complete
[27141.466775] EXT4-fs (dm-4): mounted filesystem (uuid) ro with ordered data mode. Quota mode: none.
[27238.389363] EXT4-fs (dm-4): unmounting filesystem (uuid).

Besides this everything seems to work fine. What is happening? Any ideas?
 
That usually means you had an unclean shutdown of some sort, a power loss or crash, or a device was removed without unmounting it first. That sometimes leaves the filesystem meta-data in an inconsistent state. The messages are just letting you know that some cleanup was done.
 
Last edited: