Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1296934pxb; Fri, 1 Oct 2021 07:45:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvB/jOTFVxrqcoMGr59QC6KM3M3c4nUgVlWSzUYbWQtsEN12TTeYY5j/hmwLzOcXoG6/Iz X-Received: by 2002:aa7:d99a:: with SMTP id u26mr14746369eds.320.1633099514764; Fri, 01 Oct 2021 07:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633099514; cv=none; d=google.com; s=arc-20160816; b=Sh0iOb3/Qoh+fd4G7xEoUo09jv7qejqqF+O7t+emY+TFySfFNk0e5lnWEGYPFQ3Xs3 88aedRWlq0TQBH+nfmrfMQFmaJfpxntYecLUsfYJWMgz/xZCU5bSiJjUvuBMheOJ+FlR 6u4zpI7Z1BNXYnuKLeDQe8luxhfVAYS6PlRMeLZHQUEwIu49iouJI4+xezkLfuhsLkQG rDXS0CgYu+AQ1ALQ36zxyuGn7ihRWjZRa5w+C7aOTeAPVSKItxovSgpDc3xlHVsoAu/j ld8jXZ+2Lq6Tk9P0ZTW8CjJBS3mmWkQ3f4jOkq6779sQ+qVMmcoJgdGqc1NAIrx7Sq3u U+pQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2bbccypBfCl5grM4ulXy/1PBqbZWvw/APc7+0O/bpNI=; b=XAAaKrP5R/xJoG2+ew8YJwbzON2O/YACWbDNQUWaq5quHya9RGvufRDjqZrmOhZJ7Y mwP1twDPnhGLr6aNCUNyz9jEI5nVgqYikZMvNmDUZHThbuJvFjYWi0XfjEGnsE2KgpCL e9BuGdGV5UMwz8eOcQ/TsoJkQVzU+rzz0c82lNr+leLaNQzzOxBrL6r/ZxcCwZ5lTT3b myIZh60gw2uPhQj5dT7/O/Hb1qzpbJQpvw9A09uoPYNAVsY/kQAno1gBWa9tF5nLz6pf 6An51XNIbBubsRj2pnF5v9rRwCoHHOw8v3e2v4dqs7Cs2/vlUnEnYhJFxpE6RyVpeG2C L6yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DR0lfw8+; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v1si7616408ejk.111.2021.10.01.07.44.40; Fri, 01 Oct 2021 07:45:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DR0lfw8+; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354598AbhJAOoc (ORCPT + 99 others); Fri, 1 Oct 2021 10:44:32 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:38700 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231679AbhJAOob (ORCPT ); Fri, 1 Oct 2021 10:44:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633099367; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2bbccypBfCl5grM4ulXy/1PBqbZWvw/APc7+0O/bpNI=; b=DR0lfw8+XcbWwnhsPLdXRNcjBavgDWM2/Ug4UWUXB6r10H0pdYLH6WMNoYGfE7V6q6BrAf 6+w917lTTd+reKymaa9tAOGDFC8ylKPb1kgkJIiFvEVL0jfjCWCSlkndvUQoT38V1uMwW6 /LqxNE8PQG8VviAvE0OJz7c/+LO+JJM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-479-JGm3cxasMZqlTjXzgzYCDw-1; Fri, 01 Oct 2021 10:42:46 -0400 X-MC-Unique: JGm3cxasMZqlTjXzgzYCDw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 23ECCDF8A6; Fri, 1 Oct 2021 14:42:45 +0000 (UTC) Received: from work (unknown [10.40.194.14]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 026FC5F91D; Fri, 1 Oct 2021 14:42:43 +0000 (UTC) Date: Fri, 1 Oct 2021 16:42:39 +0200 From: Lukas Czerner To: Theodore Ts'o Cc: Andreas Dilger , Alok Jain , linux-ext4@vger.kernel.org Subject: Re: Issue with extension of ext4 filesystem on Rhel7 Message-ID: <20211001144239.fgizeucgzhingeio@work> References: <81899623-90FE-4AFA-AAB6-5ABB21903CBB@dilger.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Oct 01, 2021 at 09:35:36AM -0400, Theodore Ts'o wrote: > On Thu, Sep 30, 2021 at 11:52:20PM -0600, Andreas Dilger wrote: > > On Sep 30, 2021, at 23:43, Alok Jain wrote: > > > > > > I have a problem while extending the ext4 filesystem on my block > > > device which was 12Tb now extended to 32tb. I uses growpart then > > > e2fsck followed by resize which failed, Any idea how to address > > > this? > > > > > > [root@prod-dev1 ~]# resize2fs /dev/sdj1 > > > > > > resize2fs 1.42.9 (28-Dec-2013) > > > > > > resize2fs: New size too large to be expressed in 32 bits Hi, as others have already mentioned, unfortunatelly your file system does not have 64-bit feature enabled and so you won't be able to simply resize past 16TB. This feature was made default after RHEL7 GA, but sadly it was likely too late for you, sorry about that. You can try the advice given here, or you can contact RH support as they might have some solution for you. However I am affraid it will always involve backup for the reasons already mentioned. > > Finally, in addtion to e2fsprogs 1.42.9 being Very, Very Old, if you > are using such a prehistoric version of e2fsprogs, it's likely that > the Linux kernel, and other portions of your Linux userspace, are > antedeluvian as well. That means not only are you missing bug fixes, > you are likely missing many security bug fixes as well. As I am sure you know RH is regularly fixing bugs and security bugs especially and supporting RHEL releases for a very long time. As long as 10 years or even longer with ELS, that's much longer than say meager 3 years. You can find more details here https://access.redhat.com/support/policy/updates/errata/#Life_Cycle_Dates -Lukas