Re: Trouble finding bad block on WDC WD1600SB-01KBA0
"Carlos E. R." <[email protected]> Tue, 10 Jan 2017 11:07:49 +0100
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
On 2017-01-10 02:12, mathog wrote: > Hi, > > One system has a WDC WD1600SB-01KBA0 which shows > > 197 Current_Pending_Sector 0x0012 200 200 000 Old_age Always > - 1 > 198 Offline_Uncorrectable 0x0012 200 200 000 Old_age Always > - 0 > 199 UDMA_CRC_Error_Count 0x000a 200 253 000 Old_age Always > - 1 > > Sadly, it does not list the block number in any of the test results > (or the system log files). > > Tried these steps to find the pending sector... > > reboot (to clear cache) There is a way to clear it without reboot. Let me see... [...] > To free pagecache: echo 1 > /proc/sys/vm/drop_caches To free > dentries and inodes: echo 2 > /proc/sys/vm/drop_caches To free > pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches Or issue "sync" at the end. > /sbin/sysctl -q -w vm.drop_caches=3 > using /sbin/sysctl is equivialent to the "echo >/proc/sys/..." line > above > # log in once it came back up > dd if=/dev/sda of=/dev/null bs=512 > > which completed without error. Then tried > > smartctl -t long /dev/sda > > and that also completed without error. > > However "smartctl -a " still shows a pending sector. The same thing happened to me recently. > Is there some other trick to find the thing? I run "badblocks" with the intention of locating them, and they disappeared... -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar) ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Smartmontools-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartmontools-support
signature.asc
(application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlh0snsACgkQtTMYHG2NR9VsHQCfUYoQUkfLbiN0bs4XUHmQneGU biEAmwXKG94xAlpYFLZ4zmHFNJNS6BZW =6bN7 -----END PGP SIGNATURE-----