removing external journal

Folkert van Heusden folkert.mobiel at
Thu Jun 27 20:37:56 UTC 2013

>>>>> I have a system with an ext4 filesystem with its journal on an other
>>>>> device (an SSD).
>>>>> Now this SSD dropped of the sata bus so the filesystem went r/o.
>>>>> I would like to remove the journal but it says it can't because
>>>>> needs_check is set.
>>>> What does it actually say?  there is no needs_check flag AFAIK.
>>> I think he means "needs_recovery" - EXT3_FEATURE_INCOMPAT_RECOVER
>>> set when journal recovery is needed after an unclean shutdown.
>> Yes, that's the one.
>>> What you want is to run (per the tune2fs(8) man page, maybe something
>>> should go into the e2fsck(8) man page as well?):
>>>    tune2fs -f -O ^has_journal /dev/XXX
>> That one was denied because of the needs_recovery.
> Even with the "-f" ?

I did not dare to do that.

> Hum, that sounds like it might be a bug then.  What version?

This is util-linux 2.20.1 from debian package 2.20.1-5.4.



More information about the Ext3-users mailing list