Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Showing size of ext3 journal?

Help
2006-03-29
2012-11-28
  • John Stoffel
    John Stoffel
    2006-03-29

    Hi

    How do I determine the size of the existing
    journal on an ext3 filesystem?  tune2fs -l doesn't show this info at all.

    Doing:

      jfsnew:~> sudo tune2fs -J size=102400 /dev/sda1
      tune2fs 1.39-WIP (31-Dec-2005)
      The filesystem already has a journal.

    Isn't really helpful.  I did try to do a 'debugfs' run on my filesystem, but I don't know how to interpret the output of 'logdump'
    to just determine the size:

        .
        .
        .
        Found expected sequence 4212, type 1 (descriptor block) at block 1210
        Found expected sequence 4212, type 2 (commit block) at block 1219
        Found expected sequence 4213, type 1 (descriptor block) at block 1220
        Found expected sequence 4213, type 2 (commit block) at block 1229
        Found expected sequence 4214, type 2 (commit block) at block 1230
        No magic number at block 1231: end of journal.

    Thanks,
    John
    john@stoffel.org