[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YoJmWmN6UMnzxLpI@mit.edu>
Date: Mon, 16 May 2022 10:57:30 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: "Lakshmipathi.G" <lakshmipathi.g@...il.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: fast_commit option not recognized/supported by e2fsck?
On Mon, May 16, 2022 at 03:00:14PM +0530, Lakshmipathi.G wrote:
> e2fsck 1.46.4 (18-Aug-2021)
> Using EXT2FS Library version 1.46.4, 18-Aug-2021
> $ uname -a
> Linux db 5.13.0-1022-aws #24~20.04.1-Ubuntu SMP Thu Apr 7 22:14:11 UTC
> 2022 aarch64 aarch64 aarch64 GNU/Linux
>
> Now I did a reboot and the system hangs. It shows the following error
> message. Any thoughts on what's going wrong here? thanks!
>
> ```
> Begin: Will now check root file system ... fsck from util-linux 2.34
> [/usr/sbin/fsck.ext4 (1) -- /dev/nvme0n1p2] fsck.ext4 -a -C0 /dev/nvme0n1p2
> /dev/nvme0n1p2 has unsupported feature(s): fast_commit
> e2fsck: Get a newer version of e2fsck!
E2fsck 1.46.4 supports fast commit. I'm guessing what's going on is
that the version of e2fsck in the initial ramdisk is pre-1.46 and so
it didn't support fast commit --- and the root file system is checked
before it is mounted using scripts and binaries in the initrd.
After installing e2fsprogs, you need to update / recreate the
initramfs. How to do this is distro-dependent, but since you are
using Ubuntu, try this:
sudo update-initramfs -u -k all
See the man page for update-initramfs and mkinitramfs for more
information.
Cheers,
- Ted
P.S. fast commit is a relatively new feature, and we are still fixing
bugs in fast commit. So please be careful before using it in a
production system, especially if it is mission- or life- critical. If
you really want to use it, you may want to be using newer kernels than
5.13.0, such as 5.15 LTS.
Powered by blists - more mailing lists