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

Re: viewing ext3 journal



On Jun 29, 2006  11:34 +0200, Stefan Drexleri wrote:
> 2006/6/29, Zach Brown <zab 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.


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