[Bug 1637779] Re: ext4 filesystem fails randomly with checksum error

Gerard Cuello Adell 1637779 at bugs.launchpad.net
Mon Jul 24 09:53:57 UTC 2017


We have an error quiet similar to this one reported.
We are using Ubuntu 14.04 .. but I really think it's not a matter of version though.

We are getting randomly the following errors:
----------
[97030.025645] EXT4-fs error (device sdb5): ext4_iget:4156: inode #26351669: comm apache2: checksum invalid
----------
It's more than one, just to keep it short ;)
All of them are related to the same device sdb5, which we mount the '/var' partition.

Having this errors, and trying to reboot, it gets stuck booting up when it tries to mount the '/var' partition, informing that errors have been found checking the partition.
It shows up with different options (I (ignore) ,S (avoid mounting) ,M (fix manually). Either 'S' or 'M' are able to mount the partition without any trouble. But it's in every boot.

We have tried to boot up from USB recovery tool, and repair those errors
executing the following command: `e2fsck -y /dev/sdb5` with the result I
attached.

We have done it a couple of times, and after a random time these errors
have showed up again. We also changed the disk (moving all the data from
one to another) and it still happens the same.

We would like to know the reason why it happens so randomly. And of
course how to avoid those errors forever!

** Attachment added: "output_e2fsck"
   https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1637779/+attachment/4920264/+files/errors_disk_backup_31.JPG

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1637779

Title:
  ext4 filesystem fails randomly with checksum error

Status in e2fsprogs package in Ubuntu:
  Confirmed

Bug description:
  Description:	Ubuntu 16.10
  Release:	16.10

  package version:
  linux-image-4.8.0-26-generic:
    Installed: 4.8.0-26.28
    Candidate: 4.8.0-26.28
    Version table:
   *** 4.8.0-26.28 500
          500 http://sk.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 Packages
          100 /var/lib/dpkg/status

  
  fresh installation of Ubunut 16.10, all updates included

  While I am working with system after few minutes root filesystem /dev/sdb5 switches into readonly mode
  in dmesg is this:

  [  304.921552] EXT4-fs error (device sdb5): ext4_iget:4476: inode #24577: comm updatedb.mlocat: checksum invalid
  [  304.925565] Aborting journal on device sdb5-8.
  [  304.926507] EXT4-fs (sdb5): Remounting filesystem read-only
  [  304.927416] EXT4-fs error (device sdb5): ext4_journal_check_start:56: Detected aborted journal
  [  304.943408] EXT4-fs error (device sda1): ext4_iget:4476: inode #12: comm updatedb.mlocat: checksum invalid

  when it happens I must do fsck f /dev/sdb1 once, second time it says
  everything is fine. after reboot when I start dto do something it soon
  happens again

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1637779/+subscriptions



More information about the foundations-bugs mailing list