Re: how to control how often smartd-runner fires.
Christian Franke <[email protected]> Tue, 24 Jan 2017 07:32:07 +0100
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
Ray Andrews wrote: > It does seem strange that with all the robust tools available in NIX, > that when you loose a sector that it's an ordeal to figure out what's > been corrupted. However slow, one might expect that there'd be a > utility to figure it out even if it had to read the entirety of whatever > it is that is the analogue of the old FAT until it had found all the > files. I use GNU ddrescue to check for bad blocks, do disk images and try to recover bad blocks with read retries: https://www.gnu.org/software/ddrescue/ (On Debian/Ubuntu, it is in the package gddrescue) To check which files are affected by bad blocks, I typically use ifind/istat/ffind from TSK: https://www.sleuthkit.org/sleuthkit/ Ddrutility provides a script which automates this (I didn't test this yet): https://sourceforge.net/projects/ddrutility/ Regards, Christian ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot