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 1Ocmos-0001jv-Gk for garchives@archives.gentoo.org; Sat, 24 Jul 2010 22:03:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE75CE0A9E for ; Sat, 24 Jul 2010 22:03:45 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id AEC79E0769 for ; Sat, 24 Jul 2010 21:46:18 +0000 (UTC) Received: by iwn42 with SMTP id 42so1639241iwn.40 for ; Sat, 24 Jul 2010 14:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=8qNZFc8fUaJRpz+LerpGxTI2pWfHuzoUvwkuBt5Ohuk=; b=EfY+hCrWGHWCnUStrj4p58tiP9EibF745kj3D+ToTuKrJ4rZY//KD5EKHmX1JKNzl2 KIYOZHtNxjc/iUUTy3BjRzFN2yBa0Fzfjyvl/NNeqBRajOzu0C6mK7DgKs9Xg1iLJh9Z JCgZ4xDPJaBsovjKQY5z9uvErKRlVMGUKatog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=nlLxO9yE1N6NcHEPwpQctBEjF7opheDUKKs0LW30PYRXoxkQF2zHUrpGoEnrmUeGEO SsRfFUoxBgh6hgwuUNtKp/FtVEOpI5X1CgvJlqn8Yg5SyOiWE1sX6dXhxNP6hcAjbzvg 5KLmoeTZhucAymrcVWZd5Lom2fFcPjrlUak0k= Received: by 10.231.16.76 with SMTP id n12mr5695048iba.194.1280007978421; Sat, 24 Jul 2010 14:46:18 -0700 (PDT) Received: from [192.168.2.36] (adsl-76-198-244-142.dsl.okcyok.sbcglobal.net [76.198.244.142]) by mx.google.com with ESMTPS id e8sm1752890ibb.14.2010.07.24.14.46.16 (version=SSLv3 cipher=RC4-MD5); Sat, 24 Jul 2010 14:46:17 -0700 (PDT) Message-ID: <4C4B5F2A.6000208@gmail.com> Date: Sat, 24 Jul 2010 16:46:18 -0500 From: James Wall User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problems booting my server - ext2 - e2fsck References: <4C4B45B2.4000508@konstantinhansen.de> <201007242225.30909.alan.mckinnon@gmail.com> In-Reply-To: <201007242225.30909.alan.mckinnon@gmail.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: d0218f1b-80f8-4377-99d8-d2bc73ed4c13 X-Archives-Hash: 24f1a9902f93f250e792a6e450344dfb On 7/24/2010 3:25 PM, Alan McKinnon wrote: > On Saturday 24 July 2010 21:57:38 KH wrote: >> Hi there, >> >> my server was running strait for 8 month now. I did updates regularly >> but still used an 2.6.2x kernel. Never switched it of. Now someone from >> houskeeping pulled the plug for the vacuum cleaner ... >> >> Anyway the box won't boot anymore. grub starts up. Kernel boots. Then >> there is checking root file system (or something like that).The message >> is that my ext2 file system can not be read. That I might want to try >> the alternativ superblock by running #e2fsck -b 8193 >> >> Well, I put the hdd in an external usb and conected it to my >> workstation. As I thought hda3 (is /dev/sde3) is an ext3 filesystem. >> Also badblocks and e2fsck did not show any problem with the hdd. >> >> /etc/fstab is corect (i hope), too. >> >> What am I missing? How can I get the server running, again? > > You said you ran e2fsck and it was OK. What was the command? > > Normally with an e2fsck on a journalled fs, the app will replay the journal > and make a few minor checks. This takes about 4 seconds, not the 40 minutes it > takes to do a ful ext2 check. > > I think you might need to fsck without the journal. I know there's a way to do > this but a cursory glance at the man page didn't reveal it. Maybe an ext user > will chip in with the correct method > > > Run e2fsck -f /dev/hda3 to force check a partition. I have had to do that when my kids yanked all the drives out of a server that I was setting up. :-) -- No trees were harmed in the sending of this message. However, a large number of electrons were terribly inconvenienced.