Re: Weird result while smart testing a Winchester Digital drive
Christian Franke <[email protected]>
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
Meino Cramer wrote: > Hi, > > On my Gentoo - Linux I smart tested (offline) my Winchester Digital > drive (SATA) > > > smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.14.13-RT] (local build) > Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org > > === START OF INFORMATION SECTION === > Model Family: Western Digital Caviar Green (AF) > Device Model: WDC WD10EARS-00Y5B1 > Serial Number: WD-WMAV51276611 > LU WWN Device Id: 5 0014ee 001f5fb47 > Firmware Version: 80.00A80 > User Capacity: 1,000,204,886,016 bytes [1.00 TB] > ... > and got (beside other things) this report: > > 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 1 > 198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 1 > > #14 Extended offline Completed: read failure 90% 14484 4288352511 This LBA 4288352511 is bogus. It is 2+ times larger than disk's max LBA (1000204886016 / 512 - 1 = 1953525167). The value is likely from the old self-test log (-l selftest, -a) which was only designed for 28-bit LBA addresses. The firmware apparently returns a bogus (32-bit) value for > 28-bit LBAs. Try the extended self-test log (-l xselftest, -x). It might report the correct LBA. > (the #14 is there due to my fruitless experiments - see below) > > The offline test immediately stops when hitting the bad sector. 90% of > the disk was never tested. > > By the way: I started smartctl as 'smartctl -d sat' as recommended by > 'smartctl -d test'. Should not make any difference. Option -d test prints the -d TYPE used if -d is not specified. > I swappoffed the swap (...) and did a > > dd if=/dev/zero of=/dev/sda2 bs=512 conv=notrunc > > and it fails with an I/O-error at a certain point. This is as expected - the "certain point" is the end of the partition :-) The dd command lacks a 'count=...' argument. Thanks, Christian ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk