Hi,
I'm planning to use ext4 filesystem in my ubuntu machine.I am doing
a detailed search on the filesystem.I would like to know where the
journal is stored in ext4 file system? Is it visible?
--
Thanks & Regards,
Nivedita J Nair
> I'm planning to use ext4 filesystem in my ubuntu machine.I am doing
> a detailed search on the filesystem.I would like to know where the
> journal is stored in ext4 file system? Is it visible?
>
You can use debugfs for this - do ``man 8 debugfs'' for more info. The
journal is generally inode 8 (you can do
dumpe2fs -h /dev/FOO | grep "Journal inode:"
to make sure), so in debugfs you can do
stat <8>
ex <8>
to get metadata (size, perms, etc.) and extent information and
logdump <OPTIONS>
to examine the contents of the journal - see the debugfs man page
for <OPTIONS> info.
HTH,
Nick