如何检测坏道? [英] How to detect bad sectors ?

查看:76
本文介绍了如何检测坏道?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要帮助开发C ++代码,用于将PhysicalDrive0克隆到带有坏块的PhysicalDrive1。



我尝试过的方法:



尝试检测坏扇区但失败了。需要清楚地了解坏扇区,如何检测它们

解决方案

驱动器必须支持SMART。您可以使用WMI检测驱动器是否支持SMART,并使用WMI提取所需的数据。请记住,并非所有驱动器都支持SMART,即使它们支持SMART,它们可能会也可能不会实现所有标准SMART功能。



Google是您的朋友。

Need assistance in developing code in C++ for cloning PhysicalDrive0 to PhysicalDrive1 with bad blocks.

What I have tried:

Have tried detecting bad sector but it fails . Need a clear picture on bad sectors , how to detect them

解决方案

The drive has to support SMART. You can use WMI to detect if the drive supports SMART, and use WMI to pull the data your need. Keep in mind that not all drives support SMART, and even if they do, they may or may not implement all of the standard SMART features.

Google is your friend.


这篇关于如何检测坏道?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆