Way to figure out data discs going bad.
Michael Simpson
mikie.simpson at gmail.com
Fri Dec 12 11:30:41 UTC 2008
On 12/11/08, Walters, Mark <Mark.Walters at mckesson.com> wrote:
>
> I've always used:
>
> # dd if=/dev/sdb of=/dev/null bs=512
>
dd can choke at the first bad block
i use ddrescue for this instead
# ddrescue /dev/sda /dev/null /var/disclog
it will continue through errors and the above command will give you a
list of errors in a logfile
<http://linux.die.net/man/1/ddrescue>
mike
More information about the redhat-list
mailing list