Emergency

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Jan 25 15:22:19 UTC 2005


On Mon, Jan 24, 2005 at 05:21:11PM +0000, Jason Shein wrote:
> I just got in the door, late on this thread.
> 
> here's my 2 cents.
> 
> I came across this howto a while ago, and it has helped me out of a pinch.
> 
> First, if you have a spare hard drive, make a copy of the data on the
> bad disk (or better yet two) in case the hardware will die, and work on
> the copy.
> 
> Then do:
> 
> # /sbin/mke2fs -n /dev/hda5 -b [blocksize]
> Be sure to use the right block size here!
> 
> You will see output including:
> 
> Superblock backups stored on blocks:
>         8193, 24577, 40961, 57345, 73729
> These are the locations of the superblocks.

Those superblock locations are among the first things mkfs writes to.
They are very likely to be all toast already.  This was a case of
accidentally mkfs'ing not a case of drive corruption or failure.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list