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 1PwUDK-0004AR-S6 for garchives@archives.gentoo.org; Mon, 07 Mar 2011 06:46:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 168BC1C007; Mon, 7 Mar 2011 06:45:11 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id D4E1D1C007 for ; Mon, 7 Mar 2011 06:45:10 +0000 (UTC) Received: by ywl2 with SMTP id 2so2620210ywl.40 for ; Sun, 06 Mar 2011 22:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=orIvXFzGP3y6LiTbjs5eSE7DbE3mb/oF3GMX9MwUmok=; b=mf1L+m8pbuvvMUc7dgDaKWQaQNl1BdwCC02rYCsOCe47u8EiYXPXmiVYFTYYi59Yxw dGu7y9b1qrxURLDu8vOB4248S/RdyS3H7iy+wKutxOMPw/nFPt6xccUZjuztW4d5+ExR aFz50pH6rgDgeYVjIv4EvX4SmtH1yGx2sDk6Q= 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=PTaLd5tK3qzc1qf3lZg4gBRjBcf2lWyyNLJIBborucY5dVppbtj5xUBkVlTXjRtpAO yGAhb/22kV/AVle7NWXAX1Wamuk6x8K62CG3muU6I+BKOK3SWqqvrmXlx8e0t1OpfWG/ ydT3KzHHLMSZS3EGJCMDEzA0kVZmwzB04LCEU= Received: by 10.90.138.8 with SMTP id l8mr2262395agd.155.1299480310317; Sun, 06 Mar 2011 22:45:10 -0800 (PST) Received: from [192.168.2.5] (adsl-0-94-193.jan.bellsouth.net [65.0.94.193]) by mx.google.com with ESMTPS id e24sm1720379ana.22.2011.03.06.22.45.08 (version=SSLv3 cipher=OTHER); Sun, 06 Mar 2011 22:45:09 -0800 (PST) Message-ID: <4D747EF2.4060507@gmail.com> Date: Mon, 07 Mar 2011 00:45:06 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.17) Gecko/20110304 Gentoo/2.0.12 SeaMonkey/2.0.12 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] How do I show list of bad blocks on a disk? References: <4D747A72.20601@asyr.hopto.org> In-Reply-To: <4D747A72.20601@asyr.hopto.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 182c54796899f8fadd0696767ab6a299 Thanasis wrote: > on 03/06/2011 07:07 PM Nikos Chantziaras wrote the following: > =20 >> Before leaving home, I started an fsck.ext4 on a filesystem (500GB) >> that resides on a disk that I suspect is damaged: >> >> fsck.ext4 -c -c -f /dev/sdb1 >> >> =20 > You can check the SMART (Self-Monitoring, Analysis, and Reporting > Technology) data, which is built-in in all hard drives today, and allow= s > you to see the status or overall =E2=80=9Chealth=E2=80=9D of a hard dri= ve. > > ( smartctl -a /dev/sdb ) > > =20 You can also tell it to run a selftest too. Example commands to look int= o: smartctl -t long /dev/ and for the results, usually a good while later: smartctl -l selftest /dev/ If you think heat may be a issue, try this: smartctl -a /dev/ | grep Temp With all this, you should be able to find out if you are good to go or=20 got a drive going bad. Dale :-) :-)