[Filesystems-devel] Bug#1115891: Bug#1115891: nilfs-tools: Missing fsck.nilfs2 prevents initrd from mounting nilfs2 root partition

Theodore Ts'o tytso at mit.edu
Mon Sep 22 00:13:00 BST 2025


On Sun, Sep 21, 2025 at 11:23:12AM +0200, Christopher Zimmermann wrote:
> 
> I just switched my root partition from ext2 to nilfs2 (is this a bad 
> idea?!?).

Well, there hasn't been zero upstream development, but the most recent
git commit for nilfs-utils (the upstream sources for nilfs-tools) is
April 3rd, 2024.  I am seeing almost no activity on the mailing list;
people are sending patches which are cc'ed to the linux-nilfs mailing
list, but I'm not seeing a replies from the maintainer.  There is
*some* activity on the git tree; a few commits in July and April of
this year.  But it doesn't look like it's under active development.

The weird thing is that supposedly there are hints that there was the
beginning of an fsck for nilfs in 2008(!), but it was never merged
into the git tree:

https://linux-nilfs.vger.kernel.narkive.com/w0lqFaoH/can-t-mount-nilfs-error-searching-super-root

So as to whether it's a bad idea --- without a file system repair
tool, if your file system gets corrupted by either a kernel bug or a
hardware problem --- you might not be able to recover the file system.
So your only alternative might be to reformat the disk and restore
from backups.

It does seem very odd that a file system which was introduced in 2005
(over 20 years ago!) doesn't have an tool to either repair the file
system, or even determine if it might be corrupted in some way.

So I'm not sure I could in good honesty recommend the use of nilfs to
users.  And if they use it, I'd strongly recommend that are making
very frequent backups, since there is no guaratee that if the file
system gets corrupted, you might not be able to mount it, and that
might result in complete data loss.

Cheers,

						- Ted



More information about the Filesystems-devel mailing list