Re: Moving ext3 journal file

David Gómez (davidge@jazzfree.com)
Fri, 23 Nov 2001 20:02:28 -0500 (EST)


Hi ;),

> Is there any problem on moving the /.journal file (even renaming
> it) so it doesn't lives on the root? I mean, maintaining its inode
> number, of course ;))
>
> Anyway, ext3 shouldn't (just an idea) show the journal as a
> normal file. It may add some load on the kernel, because the inode
> number should be compared with that of the journal every time a file
> is accessed, but it's just a suggestion ;))

AFAIK the .journal it's visible only when you convert an ext2 to an ext3
filesystem on a mounted partition, it was a problem with 2.4.10 kernel
version, but i'm not sure if posterior releases also show this behavior.
Anyway you can solve it recreating a new journal (remount it to ext2
before doing this):

'chattr -i /.journal;rm /.journal;tune2fs -j /dev/whatever'

David Gómez

"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/