From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] recovery from /var corruption?
Date: Fri, 26 Feb 2010 19:37:00 +0100 [thread overview]
Message-ID: <201002261937.00427.volkerarmin@googlemail.com> (raw)
In-Reply-To: <5bdc1c8b1002261026p4e5d1c22ucc0725511ec400e6@mail.gmail.com>
On Freitag 26 Februar 2010, Mark Knecht wrote:
> On Fri, Feb 26, 2010 at 9:59 AM, Volker Armin Hemmann
>
> <volkerarmin@googlemail.com> wrote:
> > On Freitag 26 Februar 2010, Mark Knecht wrote:
> >> The machine _mostly_ crashed while running badblocks. I say mostly
> >> because the mouse is still alive but I can no longer ssh in and cannot
> >> open a terminal on my wife's desktop or get to the console.
> >
> > because it is not crashed but waiting for the ide timeouts.
>
> So if I let it continue running is it going to come back in the next
> hour or two?
yes
> I am assuming the IDE timeouts are because the drive is
> having trouble, correct? That's the theory here?
yes
> If so then unless the software can mark them bad and somehow create good
files out of bad
> then I'm still left with a machine that is going to need serious work
> done before it's a happy box again, correct?
and with 'serious work' you mean 'replace the harddisk' ...
>
> On the other hand, because I have reasonably good user backups
> (although no real system backups) right now if I bite the bullet and
> build the machine then when my wife gets it back it's hopefully going
> to be more reliable, wouldn't it?
yes
>
> I'm thinking that maybe I just copy a little stuff off the box - /etc
> and the like - and then boot the machine with the Gentoo install CD or
> System Resuce CD and see what the drive is doing?
you could do that.
>
> That doesn't cost me anything to look around, but if SMART won't turn
> on and badblocks is suggesting the drive is having trouble maybe
> running something like badblocks and actually __marking__ blocks as
> bad and then reloading Gentoo would work in the long run? (A lot of
> work though.)
you would need to save the badblocks to a file, than feed that file to mkfs. And
you are not even save - because when a drive starts to have bad blocks the
chance that more are popping up some is pretty high. So you might be lucky and
the drive is able to run for a long while (even maybe mapping out bad blocks
while testing them - so always run badblocks twice), but you have at least a
as a good chance that the whole thing starts over in a couple of weeks.
>
> I'm really not interested in buying new drive because the machine is
> ATA100/133 and if it's not the drive then the money is wasted for a
> new machine. The cheapest at NewEgg is about $40. Why spend the buck
> for an old Intel Centrino machine?
you could take the drive with you when you buy a new machine. Moving harddisks
is not that hard. Or put it in an usb enclosure when you don't need it
anymore. ide-usb enclosures are cheap.
next prev parent reply other threads:[~2010-02-26 18:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-26 3:33 [gentoo-user] recovery from /var corruption? Mark Knecht
2010-02-26 9:09 ` Neil Bothwick
2010-02-26 9:46 ` Alex Schuster
2010-02-26 15:17 ` Mark Knecht
2010-02-26 16:01 ` Alex Schuster
2010-02-26 16:53 ` Mark Knecht
2010-02-26 17:27 ` Alex Schuster
2010-02-26 17:51 ` Mark Knecht
2010-02-26 17:59 ` Volker Armin Hemmann
2010-02-26 18:19 ` Paul Hartman
2010-02-26 18:26 ` Mark Knecht
2010-02-26 18:37 ` Volker Armin Hemmann [this message]
2010-02-26 18:48 ` Mark Knecht
2010-02-26 11:47 ` daid kahl
2010-02-26 17:38 ` daid kahl
2010-02-26 18:57 ` Mark Knecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201002261937.00427.volkerarmin@googlemail.com \
--to=volkerarmin@googlemail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox