From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abraham Choi Subject: Question about JBD2 transactions Date: Mon, 21 Mar 2016 02:23:55 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: linux-ext4@vger.kernel.org Return-path: Received: from plane.gmane.org ([80.91.229.3]:56486 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752123AbcCUCaJ (ORCPT ); Sun, 20 Mar 2016 22:30:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ahpbY-0004Wq-SC for linux-ext4@vger.kernel.org; Mon, 21 Mar 2016 03:30:05 +0100 Received: from 166.125.251.10 ([166.125.251.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Mar 2016 03:30:04 +0100 Received: from north.choi by 166.125.251.10 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Mar 2016 03:30:04 +0100 Sender: linux-ext4-owner@vger.kernel.org List-ID: Hi all, Frist of all, thank you for Ext4's developer. I have encounterd a crash problem of ext4 file system on Kernel 3.18.20 with mounting rw,seclabel,nosuid,nodev,relatime,discard,noauto_da_alloc,data=ordered 0 0. [ 22.361511] EXT4-fs error (device sda8): ext4_mb_generate_buddy:757: group 0, block bitmap and bg descriptor inconsistent: 21208 vs 21219 free clusters I think, the reason is that recovered transactions has not recovered over 39809 during booting. Booting N-2 [ 16.416979] (jbd2_journal_recover, 279): JBD2: recovery, exit status 0, recovered transactions 39665 to 39728 Last commit_sequence=39796 Booting N-1 [ 16.626582] (jbd2_journal_recover, 279): JBD2: recovery, exit status 0, recovered transactions 39730 to 39797 Last commit_sequence=39866 Booting N [ 14.118542] (jbd2_journal_recover, 279): JBD2: recovery, exit status 0, recovered transactions 39799 to 39809 The root casue will be explained the more detail in the follwing. Jounral Blocks ... ... I'm wondering that journal has all zero data, only 1 block. How it can be possible? Any tips or help would be appreciated. Regards, Abraham Choi