removing external journal

Eric Sandeen sandeen at redhat.com
Thu Jun 27 19:43:41 UTC 2013


On 6/27/13 3:57 AM, Folkert van Heusden wrote:
> Eric, Andreas,
> 
>>>> 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" ?

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

-Eric




More information about the Ext3-users mailing list