From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nl53x-0006Dg-GH for garchives@archives.gentoo.org; Fri, 26 Feb 2010 18:37:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A8E1E09BA; Fri, 26 Feb 2010 18:37:05 +0000 (UTC) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by pigeon.gentoo.org (Postfix) with ESMTP id 1437EE09BA for ; Fri, 26 Feb 2010 18:37:04 +0000 (UTC) Received: by fxm22 with SMTP id 22so407166fxm.26 for ; Fri, 26 Feb 2010 10:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=1DRvOAe0GzztO53jnQuH3TSsjXfAWYqm/McP/glX8m4=; b=uU8gnKgxktfLJhNTRWf3Y9dvjx51rPjD7wSbYeByWC3aBtOrH/GPAYx5vnAFXqXjfx QtF+CFf+nFBHw+NXWDdiH0OerUxndEhQME3slOcHXFoGjtpG7KKvx1Qr0W/FwSFqgPZg 8uazR1xj7m23req3w8SxDLPUnGeJF4tSo7Qhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=jkWlVjW8ORwJhSr81+9VmDgC/m5tO/D3mZ2SEk3MOONx7KdckAfPC82LBBX/R8sFbT slq6mfMMqwVmSjABVPiL4gdqIdtaoQ936OC/aJubQa2e+Huhq0yU2q57Kl615ItXwRHd ov9KI65WPsL28fhoBcDzf3Huc9YmEzw/8n/qo= Received: by 10.102.202.7 with SMTP id z7mr575188muf.92.1267209424385; Fri, 26 Feb 2010 10:37:04 -0800 (PST) Received: from energy.localnet (ip-80-226-1-7.vodafone-net.de [80.226.1.7]) by mx.google.com with ESMTPS id e10sm1241592muf.8.2010.02.26.10.37.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Feb 2010 10:37:03 -0800 (PST) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] recovery from /var corruption? Date: Fri, 26 Feb 2010 19:37:00 +0100 User-Agent: KMail/1.13.0 (Linux/2.6.32.8r4; KDE/4.4.0; x86_64; ; ) References: <5bdc1c8b1002251933s6a250b99v607c97e09f41d4fe@mail.gmail.com> <201002261859.00344.volkerarmin@googlemail.com> <5bdc1c8b1002261026p4e5d1c22ucc0725511ec400e6@mail.gmail.com> In-Reply-To: <5bdc1c8b1002261026p4e5d1c22ucc0725511ec400e6@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201002261937.00427.volkerarmin@googlemail.com> X-Archives-Salt: 26d90a14-d063-4d88-baa9-b09396b420fd X-Archives-Hash: 8464c37c996b2c0aa38319e8f063b4fe On Freitag 26 Februar 2010, Mark Knecht wrote: > On Fri, Feb 26, 2010 at 9:59 AM, Volker Armin Hemmann > > 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.