From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 738DC13877A for ; Sat, 26 Jul 2014 01:49:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3A93E0C13; Sat, 26 Jul 2014 01:49:19 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D908E0C07 for ; Sat, 26 Jul 2014 01:49:18 +0000 (UTC) Received: from localhost ([84.133.129.19]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MOjMY-1X71sw2skg-006A0C for ; Sat, 26 Jul 2014 03:49:16 +0200 Date: Sat, 26 Jul 2014 03:49:15 +0200 From: meino.cramer@gmx.de To: Gentoo Subject: [gentoo-user] [OT] Badblocks on my harddisk Message-ID: <20140726014915.GA3845@solfire> 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=us-ascii Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:orGe3sSugffUIsYoNLEDGRNEU4VWvyR/CtbzB8W8I3N7sD7SUWq EWFPr5o0AKrIBAqmrs7n/NSbAnPBt/o+80RFQ/GP9ik0ftcYh3RZUp8nwZWDxKJDl7lb3gm djqaZie0U7t2jJEx2M5lFHBlxRjJHgMt4NhlsKntawqqGouJgjRmhCH9eXXnjZpqofp6IUL +Kf00pIUKUoTHTtnQvEAg== X-Archives-Salt: 25321ed8-2924-48c6-ae0c-467ece93ca5d X-Archives-Hash: 377b9f630e119d99380427d9bca57a4a Hi, After running smartctl for an extended offline test I got a badblock (information extracted from the report): SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed: read failure 90% 14460 4288352511 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 1 I found a explanation to map the LBA to a partition here: http://smartmontools.sourceforge.net/badblockhowto.html My partition layout is: #> sudo fdisk -lu /dev/sda Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x07ec16a2 Device Boot Start End Blocks Id System /dev/sda1 * 2048 104447 51200 83 Linux /dev/sda2 104448 12687359 6291456 82 Linux swap / Solaris /dev/sda3 12687360 222402559 104857600 83 Linux /dev/sda4 222402560 1953525167 865561304 5 Extended /dev/sda5 222404608 232890367 5242880 83 Linux /dev/sda6 232892416 442607615 104857600 83 Linux /dev/sda7 442609664 652324863 104857600 83 Linux /dev/sda8 652326912 862042111 104857600 83 Linux /dev/sda9 862044160 1071759359 104857600 83 Linux /dev/sda10 1071761408 1281476607 104857600 83 Linux /dev/sda11 1281478656 1491193855 104857600 83 Linux /dev/sda12 1491195904 1953525167 231164632 83 Linux 4288352511 <<< The number reported by smartctl Following the linked document... It seems the bad LBA is not on the checked harddisk. Or (more obvious) I did something wrong... How can I correctly identify the partition, which contains the bad block? How can I get a full list of all bad blocks (if any) from a mounted file systems? How severe is the problem? Thank you very much for any help in advance! Best regards, mcc