Archive

Posts Tagged ‘journal’

Recreating Journal on ext-fs

August 21, 2010 Leave a comment

Boot into single user and run an fsck first.
Unmount the partition that you are wanting to re-create the journal on.
Run the following commands, where sdaX is the actual partition:
————————
tune2fs -O ^has_journal /dev/sdaX
fsck -y /dev/sdaX
tune2fs -j /dev/sdaX
fsck -y /dev/sdaX
————————
This will remove the journal then recreate the journal inode, insuring that it is clean.

Categories: Linux Tags: , , ,