在克隆过程中,“不可读扇区”的计数器开始攀升,速度也变得缓慢。 This is the moment most rescues are either saved by patience — or killed by someone cancelling to 'try a different setting'.
坏扇区是磁盘表面无法再可靠读取的微小区域。 A healthy drive hides a few by remapping them;故障驱动器增加它们的速度比隐藏它们的速度快。在克隆过程中,该工具会与每个人面对面交流。 What the errors mean, and how a good rescue handles them, is the difference between a booted server and a box of parts.
When a normal read fails, the drive itself retries — re-reading the spot many times, adjusting the head, hoping the data comes back. That internal struggle is why a clone's speed collapses around damaged areas from, say, 150 MB/s to a few MB/s.工具不坏,克隆不卡; the drive is fighting for every sector. On a badly damaged drive this can stretch a clone from one hour to most of a day. Knowing that in advance is what stops people cancelling a 90%-complete rescue out of impatience.
专业方法(由 Linux 救援媒体上的 ddrescue 以及克隆工具中的救援或忽略错误模式使用)翻转了自然顺序:
The logic is simple: get 99% of the server safely onto the new drive before spending hours grinding on the 1% that may never come back. If the drive dies during the retries, you still hold a nearly complete, bootable copy instead of nothing.
Each lost sector takes a 512-byte or 4 KB slice out of whatever file owned it. A lost sector inside a text file costs a few characters; inside a database or a virtual disk it can make the whole file unusable.从未触及损坏区域的文件可以完美复制 - 在大多数驱动器上占绝大多数。克隆后,刻意测试重要的事情:打开帐户数据库、共享文档、邮件存储。 A file that refuses to open was damaged on the old drive before you started; no clone setting could have saved it.
对于一个安静、旋转、只是很弱的驱动器来说,重试是值得的。它们对于发出咔嗒声、沉闷声或从 BIOS 中消失的驱动器来说是有害的:这些声音意味着机械损坏,每多一个小时的打磨都会在表面上留下划痕,并带走健康的区域。诚实守则:
启动新驱动器并让 Windows 检查其自身的一致性:在健康的新驱动器上运行 chkdsk C: /f(切勿对即将失效的驱动器进行压力测试),然后对系统文件运行 sfc /scannow。这些修复属于救援之后的事情,因为他们假设底层的硬件是可信的——这最终是真的。 chkdsk 报告损坏的文件是旧驱动器最后几周的真实成本;如果您有常规备份,请从其中恢复它们。
Use the middle path: a rescue or ignore-errors mode that skips a bad area after a few tries and returns later.纯粹的“永远重试”可以将克隆在一个死点上停放几个小时,而驱动器的其余部分 - 以及您的停机时间窗口 - 等待。
不一定。 100% of the readable data was copied; a file sitting on an unreadable sector arrives damaged. That damage happened on the old drive, usually over weeks.从备份中恢复该特定文件(如果存在)。
有时,耐心地使用救援工具进行第二次扫描可以恢复更多的扇区,因为一个弱点可能会在五十次尝试中读取一次。期待小的收获,而不是奇迹——并权衡它们与再次运行垂死驱动器的风险。