viewing ext3 journal
Andreas Dilger
adilger at clusterfs.com
Thu Jun 29 09:47:07 UTC 2006
On Jun 29, 2006 11:34 +0200, Stefan Drexleri wrote:
> 2006/6/29, Zach Brown <zab at zabbo.net>:
> >
> >No. Stephen was referring to the logdump command available from
> >e2fsprog's debugfs program. Like so:
>
> Don't hit me, but i tried dumb thing:
>
> # sync
> # perl -e 'print "B"x4000;'
> # sync
> # debugfs -R 'logdump -ac /tmp/output' /dev/hda6
>
> # vi /tmp/output
>
> But i didn't find any patterns which look like four thousand equal
> characters.
> I guess, data will be encoded bevor written to disk. Why? How it is done?
Data is not written to the journal normally, only metadata. Try instead
to create a long filename in a directory (up to 256 chars long) and that
will appear in the journal.
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
More information about the Ext3-users
mailing list