From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753994AbaI2LoN (ORCPT ); Mon, 29 Sep 2014 07:44:13 -0400 Received: from cantor2.suse.de ([195.135.220.15]:58830 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbaI2LoL (ORCPT ); Mon, 29 Sep 2014 07:44:11 -0400 Date: Mon, 29 Sep 2014 13:44:08 +0200 From: Jan Kara To: Pavel Machek Cc: kernel list , jack@suse.cz, linux-ext4@vger.kernel.org, tytso@mit.edu, adilger.kernel@dilger.ca Subject: Re: ext4: 3.17? problems Message-ID: <20140929114408.GC2738@quack.suse.cz> References: <20140928104456.GA17400@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140928104456.GA17400@amd> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sun 28-09-14 12:44:56, Pavel Machek wrote: > After update to debian testing, my machine sometimes fails to > reboot. (aptitude upgrade seems to be the trigger). > > So I had to hard power-down the machine. That should be perfectly > safe, as ext4 has a journal, and this is plain SATA disk, right? Yes, it should be safe. > On next boot to Debian stable, I got stacktrace, and messages about > ext4 corruption. Back to Debian testing. systemd ran fsck, determined It would be really good to get those messages... Ideally you could also use e2image -r | bzip2 -c to store fs metadata before doing anything else with the fs to a usb stick. That is invaluable for future analysis. > it can't fix it, dropped me into emergency shell, _but mounted the > filesstem, anyway_. Oops. What kernel versions are you running in Debian testing and stable? My guess would be that kernel had problems only during orphan inode recovery (i.e. when deleting already deleted files) and we let the mount proceed if this fails because it's a relatively harmless problem. > Now I'm getting > > fsck 1.42.12 > ... > Inodes that were part of a corrupted orphan linked list found > Deleted inode has zero dtime > (6 inodes) was part of the orphaned inode list. FIXED. > Block bitmap differences. > Free inode counts wrong. Honza -- Jan Kara SUSE Labs, CR