Re: Query regarding ext4 filesystem

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

 



>    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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux