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

Re: ext3 partition unmountable



Andrew, for future reference, a much simpler way of debugging this
sort of problem (which doesn't require interpreting od -x dumps) is to
ask the user to use the command:

dumpe2fs -f -h /dev/hdd1

To clear the feature flag, you can use the debugfs program:

% debugfs
debugfs:  open -w -f /tmp/testfs
debugfs:  features   
Filesystem features: filetype FEATURE_I16 sparse_super
debugfs:  feature ^feature_i16
debugfs:  features
Filesystem features: filetype sparse_super
debugfs:  quit

> I managed to fix it by running e2fsck off one of the backup 
> superblocks - that seems to have repaired the broken bits:

> Then I just reran "tune2fs -j", and mounted it as ext3.  I hope that
> was the correct approach, but its working in any case :)  Don't quite
> know why/how the superblock got corrupted like that in the first
> place :-/

Well, sounds like the in-core copy of the superblock got corrupted
somehow, or perhaps a passing bit of cosmic radiation flipped the bit
as it was getting written back to disk.  If you can get it to do it
repeatably it, or if it even happens once or twice more, we'd
definitely want to know more about it.

							- Ted





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