lunedì 20 maggio 2013

Error mounting ext3 partition: no journal found

After some power failures, I can't mount my HDD ext3 partition.
The kernel says:
EXT4-fs (sde1): mounting ext3 file system using the ext4 subsystem
EXT4-fs error (device sde1): ext4_iget:3889: inode #8: comm mount: bad extra_isize (33280 != 256)
EXT4-fs (sde1): no journal found 

The solution was to recreate the journal of ext33 partition (from http://www.watters.ws/mediawiki/index.php/Repair_ext3_journal_errors):

tune2fs -O ^has_journal /dev/sdXY

e2fsck -f /dev/sdXY

tune2fs -j /dev/sdXY