Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Neil Bothwick
On Thu, 25 Feb 2010 19:33:23 -0800, Mark Knecht wrote: So I got my wife's machine booted today using a install disk and played a bit with e2fsck. The machine stopped being happy last night due to some sort of corruption on the /var partition. e2fsck complained about 3 or 4 files and then

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Alex Schuster
Mark Knecht writes: Do I just watch the logs looking for problems? I have no way of knowing right now whether this was a disk problem that's going to come back, a 1 time deal due to power, or something else entirely. As these cheap machines that don't use RAID what's the right way to go?

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread daid kahl
On 26 February 2010 12:33, Mark Knecht markkne...@gmail.com wrote: So I got my wife's machine booted today using a install disk and played a bit with e2fsck. The machine stopped being happy last night due to some sort of corruption on the /var partition. e2fsck complained about 3 or 4 files

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Mark Knecht
On Fri, Feb 26, 2010 at 1:46 AM, Alex Schuster wo...@wonkology.org wrote: Mark Knecht writes: Do I just watch the logs looking for problems? I have no way of knowing right now whether this was a disk problem that's going to come back, a 1 time deal due to power, or something else entirely.

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Alex Schuster
Mark Knecht writes: Yes, I do use smartctl on some other machines although I'm not very good about it and your write-up is helpful so thanks for that. My wife's machines is older and and I don't think SMART is supported on her drive. Note the lack of a * on the SMART line in hdparm

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Mark Knecht
On Fri, Feb 26, 2010 at 8:01 AM, Alex Schuster wo...@wonkology.org wrote: Mark Knecht writes:    Yes, I do use smartctl on some other machines although I'm not very good about it and your write-up is helpful so thanks for that.    My wife's machines is older and and I don't think SMART is

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Alex Schuster
Mark Knecht writes: On Fri, Feb 26, 2010 at 8:01 AM, Alex Schuster wo...@wonkology.org wrote: Okay, but it still states: *SMART error logging *SMART self-test So maybe smartctl -t long /dev/hda still works? Just give it a try. No, -t long fails the same

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread daid kahl
On 26 February 2010 12:33, Mark Knecht markkne...@gmail.com wrote: So I got my wife's machine booted today using a install disk and played a bit with e2fsck. The machine stopped being happy last night due to some sort of corruption on the /var partition. e2fsck complained about 3 or 4 files

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Mark Knecht
On Fri, Feb 26, 2010 at 9:27 AM, Alex Schuster wo...@wonkology.org wrote: Mark Knecht writes: On Fri, Feb 26, 2010 at 8:01 AM, Alex Schuster wo...@wonkology.org wrote: Okay, but it still states:          *    SMART error logging          *    SMART self-test So maybe smartctl -t

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Volker Armin Hemmann
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

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Paul Hartman
On Fri, Feb 26, 2010 at 11:59 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: protip: if you are running badblocks (or ddrescue) on a probably damaged device - attach it with an usb adapter. That way your box is still usable. +1, i had a bad drive and it's so much easier to

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Mark Knecht
On Fri, Feb 26, 2010 at 9:59 AM, Volker Armin Hemmann volkerar...@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

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Volker Armin Hemmann
On Freitag 26 Februar 2010, Mark Knecht wrote: On Fri, Feb 26, 2010 at 9:59 AM, Volker Armin Hemmann volkerar...@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

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Mark Knecht
On Fri, Feb 26, 2010 at 10:26 AM, Mark Knecht markkne...@gmail.com wrote: SNIP 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

Re: [gentoo-user] recovery from /var corruption?

2010-02-26 Thread Mark Knecht
On Fri, Feb 26, 2010 at 9:38 AM, daid kahl daid...@gmail.com wrote: On 26 February 2010 12:33, Mark Knecht markkne...@gmail.com wrote: So I got my wife's machine booted today using a install disk and played a bit with e2fsck. The machine stopped being happy last night due to some sort of

[gentoo-user] recovery from /var corruption?

2010-02-25 Thread Mark Knecht
So I got my wife's machine booted today using a install disk and played a bit with e2fsck. The machine stopped being happy last night due to some sort of corruption on the /var partition. e2fsck complained about 3 or 4 files and then repaired the partition. The machine booted cleanly as far as I