OCI - Getting "EXT4-fs warning: mounting fs with errors, running e2fsck is recommended."
APPLIES TO:
Oracle Cloud Infrastructure
Linux OS
SYMPTOMS
While mounting the filesystem a warning message such as one of the following is triggered in the messages:
kernel: EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
kernel: EXT4-fs (sdb1): warning: mounting fs with errors, running e2fsck is recommended
Cause
Filesystems can become corrupted for a variety of reasons, the most notable of which are:
**Connection failures during write operation
**Bad hardware (intermittent hardware failure)
**Faulty network connections
**Software/firmware bugs
**Incorrect file system resizes operations, such as logical volume resizing.
Solution
The above error messages indicate the filesystem is not clean or damaged. First it is recommended to verify whether a good backup exists before attempting a repair.