The journal is located at inode:
# tune2fs -l /dev/sda1 | awk '/Journal inode/ {print $3}'
The size of journal in Bytes is:
# debugfs -R "stat <inodenumber>" /dev/sda1 | awk '/Size: /{print $6}'|head -1
Note: "<>" is necessary around the inode number.
- sandip's blog
- Login or register to post comments