login
Header Space

 
 

Re: server crash: ccd + fsck -> data loss?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Sebastian Rother <sebastian.rother@...>
Cc: <misc@...>
Date: Tuesday, March 13, 2007 - 9:40 am

On 3/12/07, Sebastian Rother <sebastian.rother@jpberlin.de> wrote:


Came home and my X windows was frozen? This never happens. Tried to
ssh in and it seems dead. So I reboot, and fsck. Hundreds of errors...
fix 'em all! Programs begin segfaulting, another reboot, another fsck,
hundreds of more "errors" for fsck to fix. fsck segaults! sh
segfaults! Kernel panics!

It was bad ram. Replaced it. Booted bsd.rd, mounted the partitions,
tar xp'd from a recent tape backup and was back in business in less
than 1 hour.

Story is, fsck corrupted my data. Each pass corrupted more and more
data. Massive data loss! Lesson is, with a tape backup I was back in
business in less than an hour.

On 3/12/07, Sebastian Rother <sebastian.rother@jpberlin.de> wrote:

Maybe instead of buying bigger disks you should look into a backup solution.


You can restore these by using hexedit on the raw disk.
http://archives.neohapsis.com/archives/openbsd/2005-01/1717.html

If you can see it with hexdump, you can probobly go out of your way
with a calculator to use dd with offsets etc. hexedit is user friendly
though.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
server crash: ccd + fsck -&gt; data loss?, Sebastian Rother, (Mon Mar 12, 11:08 pm)
Re: server crash: ccd + fsck -> data loss?, Jeff Quast, (Tue Mar 13, 9:40 am)
Re: server crash: ccd + fsck -&gt; data loss?, Joachim Schipper, (Tue Mar 13, 5:38 am)
Re: server crash: ccd + fsck -&gt; data loss?, Otto Moerbeek, (Tue Mar 13, 2:48 am)
Re: server crash: ccd + fsck -&gt; data loss?, Sebastian Rother, (Tue Mar 13, 3:29 am)
Re: server crash: ccd + fsck -&gt; data loss?, Antti Harri, (Tue Mar 13, 4:51 am)
Re: server crash: ccd + fsck -&gt; data loss?, Darren Spruell, (Tue Mar 13, 12:27 am)
speck-geostationary