From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from imap.thunk.org ([74.207.234.97]:36870 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750830AbeCGFIs (ORCPT ); Wed, 7 Mar 2018 00:08:48 -0500 Date: Wed, 7 Mar 2018 00:08:46 -0500 From: "Theodore Y. Ts'o" To: rong zhao Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: resize2fs hang at read function Message-ID: <20180307050846.GC7507@thunk.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Mar 07, 2018 at 11:01:40AM +0800, rong zhao wrote: > > I downloaded the latest e2fsprogs source code from kernel.org, it works. I'm not sure what the difference is, but I'm *shocked* that RHEL 7.4 is still using e2fsprogs 1.42.x. There are a very large number of resize2fs bugs, especially with very large file systems, with e2fsprogs 1.42.x. Especially in the case of off-line resizes with a lage ext4 file system, with a resize2fs from e2fsprogs 1.42.x, data corruption is almost a certainty. If you have used resize2fs 1.42.x on that file system, I would suggest running e2fsck on your large ext4 file system unmounted when you have a chance, to make sure it's in a good and healthy state. Regards, - Ted