Re: removing external journal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/27/13 4:37 PM, Folkert van Heusden wrote:
>>>>>> 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.

Ah, ok.  Never mind then.  :)

>> 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.

Presumably it's tools from e2fsprogs not util-linux, but if you
didn't try tune2fs -f and find it to fail, I'm no longer concerned.  :)

Thanks,
-Eric

> 
> Folkert
> 
> --
> www.vanheusden.com
> 

_______________________________________________
Ext3-users mailing list
Ext3-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/ext3-users




[Index of Archives]         [Linux RAID]     [Kernel Development]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Gimp]     [Yosemite News]

  Powered by Linux