Package: e2fsprogs Version: 1.42.12-1.1 Severity: important I have an ext4 file system with external journal. Journal device died and file system is in RO mode.
In order to switch back to internal journal I need to remove reference to external journal, run fsck and re-create journal: tune2fs -O ^has_journal /dev/md2 ~~~~ The needs_recovery flag is set. Please run e2fsck before clearing. ~~~~ fsck.ext4 -C0 /dev/md2 ~~~~ e2fsck 1.42.12 (29-Aug-2014) tmp: Attempt to read block from filesystem resulted in short read while reading block 0 fsck.ext4: Attempt to read block from filesystem resulted in short read while checking ext3 journal for tmp tmp: ********** WARNING: Filesystem still has errors ********** ~~~~ (fsck fails with "-E journal_only" as well). tune2fs -O ^needs_recovery /dev/md2 ~~~~ Clearing filesystem feature 'needs_recovery' not supported. ~~~~ As you can see there is a deadlock: I can't remove reference to non existent external journal before running _fsck_ which refuses to work when journal is not available. Catch-22? -- Cheers, Dmitry Smirnov GPG key : 4096R/53968D1B --- Do your duty as you see it, and damn the consequences. -- George S. Patton
signature.asc
Description: This is a digitally signed message part.