From: daid kahl <daidxor@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] recovery from /var corruption?
Date: Fri, 26 Feb 2010 20:47:12 +0900 [thread overview]
Message-ID: <3ac129341002260347t7dd00f01s562763cd3187514@mail.gmail.com> (raw)
In-Reply-To: <5bdc1c8b1002251933s6a250b99v607c97e09f41d4fe@mail.gmail.com>
On 26 February 2010 12:33, Mark Knecht <markknecht@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 and then repaired the partition. The
> machine booted cleanly as far as I can tell.
Hey buddy!
This happened to me, too! See below for my savage ranting for a good laugh.
My rule for this is rsnapshot my present system as it is, grab a disk
image backup (taken less frequently), and then go to town with
portage.
I emerged 620 packages today. (Much more in fact if I count
rebuilding and stuff.) Only OO.o update is remaining in world.
I don't think there's a good and safe way around it. I find inode
corruption can be sneaky and hit other stuff. Assuming your backs all
exist and stuff, then you can hit up stuff like rsync with the update
flag for your personal files between newest and safest backups.
Rant:
Okay, so Mac OS is getting it to the face now, officially, and forever
in my world. I've almost kind of said this before, and I can't
remember why I don't follow my own advice, but nothing can be worse
than twice-monthly 10% inode corruption.
Now check this out:
The e2fs program is told "do not mount sda3" and "if you ever do,
mount it ro." Even though Mac OS is crazy enough not to use
/etc/fstab, it will still (supposedly) listen to rules in here. I
found some very retarded way of effectively serial-device referencing
sda3, and I said, "do not mount this drive at boot, and if you do, do
it ro." Then I went into a Disk Utility thing. I told that the same
thing. So that's three times I've said, "Never touch this drive with
a 10 foot pole, plz thx!" Yeah, please explain to me how an
unmounted, only ro drive can receive rectal examination of 11.4%
inode corruption.
Others, please take this as a lesson (in some form or another). I
think it's the badly coded e2fs program, but that thing is so bad that
if it is to blame, it happened after I tried to uninstall the program
too, so who knows. So I'm going to put a tiny Tiger install this
weekend so I can get nice boot, a few firmware accesses (kill the
silly booting sound, and delay an annoying 20 second boot delay in the
case there is no EFI partition...ugh). And then I am going to never
look at it's ugly face again.
System Rescue CD, partimage, and rsnapshot are my friends!
(I had so many packages because over the holidays I didn't do sync and
world updates, and then I decided to go back to the wonderful ~x86,
but since I was super busy and I don't like backing up a system that's
untested, then I didn't have good backups of the updates. Maybe a
poor choice, but in any case, that was not the reason I was trying to
kick myself in the face.
Be bloody lucky,
or don't use retarded softwarez---
daid
>
> So, something went bad and I managed to sneak around it for a while
> and now I'm sort of living with the machine wondering what to do.
>
> 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? emerge -e @world and then wait for the next event? Do nothing and
> wait?
>
> We've got decent personal data backups as well as basic /etc data.
>
> Thanks,
> Mark
>
>
next prev parent reply other threads:[~2010-02-26 12:06 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
2010-02-26 18:48 ` Mark Knecht
2010-02-26 11:47 ` daid kahl [this message]
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=3ac129341002260347t7dd00f01s562763cd3187514@mail.gmail.com \
--to=daidxor@gmail.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