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

Re: Need help recovering from a power outage



Paul E Condon <pecondon@mesanetworks.net> writes:

> I have a Sarge machine on which there is a 60GB HD
> I use it to run simulations. About 30GB on HD is some
> useful results, but it has suddenly become somewhat
> inaccessible because the ext3 journal became corrupted
> during the outage. By mounting the partition ext2, I
> can see the data files and they look OK. I think I
> need to delete the journal, but HOW? All the utils 
> that I have found assume that the journal is surely
> good, and attempt to run it before checking for any
> disk corruption. Here, it seems that this is exactly
> the wrong thing to do. I think I have enough spare
> space on another HD to copy the files, but it would
> be so much simpler if I could just zap the journal.
> Any ideas?

You can remove the journal with tune2fs -O ^has_journal (see the manual
page for details) and then recreate it. Although I don't think it's
strictly necessary to run e2fsck after you've removed the journal, it
wouldn't hurt either.

Martin



Reply to: