[Ocfs2-tools-devel] [PATCH] Make tunefs.ocfs2 understand all journal options.

Sunil Mushran sunil.mushran at oracle.com
Thu Nov 24 09:09:50 PST 2011


On 11/24/2011 5:48 AM, Michal Srb wrote:
> I've got the answer; Yes, they resized their filesystem from<16TB to 23TB.
> Apparently the resize function doesn't check if the journal will be able to
> address the new size.
>
> fsck.ocfs2 on the resized partition says that the filesystem is clean, but
> attempt to mount it fails with this error:
> (mount.ocfs2,18503,0):ocfs2_journal_addressable:2096 ERROR: The journal cannot
> address the entire volume. Enable the 'block64' journal option with
> tunefs.ocfs2
>
> So to get the behavior consistent, it should be either done:
> 1) change the man page, change the kernel message and check the journal when
> doing resize
> or
> 2) implement the journal block64 option to tunefs.ocfs2
> I'd like to contribute with the second option. :-)

We'll still need a check in resize which disallows resize across the 
boundary
without block64 set.



More information about the Ocfs2-tools-devel mailing list