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

Re: ext3 journal

David Dawson wrote:

> How does one locate the ext3 journal?

The journal is hidden from the user.  It is not a file that you can
locate.  You can, however, locate the journal inode:

$ dumpe2fs /dev/hda1 | grep Journal
dumpe2fs 1.37 (21-Mar-2005)
Journal inode:            8

> In particular I want to be able to for example, remount the partition as
> ext2, secure-delete the journal, fsck if required, and remount as ext3.

What is your goal?  You can always mount a cleanly unmounted ext3
file system as ext2. 

You can disable the journal (== convert the file system to ext2)
with tune2fs:  

$ tune2fs -O ^has_journal /dev/hda1

This will also free the journal inode.


Send personal mail to dennis@... only.  Off-list 
mails to lists@stosberg.net will not reach me.

Reply to: