硬碟診斷工具如何知道扇區是否損壞?

沒有人願意認為硬碟會壞,更不用說遇到問題了,但硬碟診斷工具如何真正知道扇區是否壞呢?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

硬碟診斷工具如何知道扇區是否損壞?

沒有人願意認為硬碟會壞,更不用說遇到問題了,但硬碟診斷工具如何真正知道扇區是否壞呢?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

圖片由Matthew(Flickr)提供。

問題

超級使用者讀者David想知道硬碟診斷工具是如何判斷扇區是否壞的:

When I run across a hard-drive that may be failing, I scan it using ViVARD, which reliably lets me know if the hard-drive needs replacing or not. How do these sorts of tools work? How can they tell a bad sector from a good sector?

硬碟診斷工具如何知道扇區是否損壞?

答案

超級使用者貢獻者Stavr00和oletange為我們提供了答案。首先,Stavr00:

Modern hard-drives implement a system in firmware called S.M.A.R.T. which collects statistics on the hard-drive’s performance and automatically avoids data loss by moving data away from bad sectors.

Diagnostic tools query the hard-drive’s S.M.A.R.T. software in order to build a health check report. Bad sectors are detected upon accessing the hard-drive, avoided, and necessary relocation is done by the S.M.A.R.T. system.

接著是Ole Tange的回答:

I am not familiar with ViVARD, so this is a general answer.

S.M.A.R.T.

S.M.A.R.T. is a part of most modern hard-drives. It registers when the hard-drive sees a bad sector and when the ‘seek or spin up time’ is longer than normal. These are all indicators that a hard-drive is failing.

The way the hard-drive salvages a failing sector is due to error correcting codes (usually Reed-Solomon) that can perform a rescue if a few bits are wrong. If many bits are wrong, then the hard-drive tries salvaging by reading the sector over and over again. When it finally gets it right, it saves it to one of the spare sectors.

Reading Sectors

The hard-drive reallocates sectors with read errors to a set of spare sectors that are reserved for this. The operating system does not usually see this, but sees the whole hard-drive as having no errors. Only when there are no more sectors to reallocate to (or the sector cannot be salvaged) will the operating system see the broken sectors.

But it is possible to bypass error correction. I believe it is different for each model, but maybe ViVARD does it? This way you can read the actual data on the hard-drive. By reading this you will be able to see which sectors have errors, even if the operating system itself sees no errors.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-10 05:15
  • 閱讀 ( 37 )
  • 分類:網際網路

你可能感興趣的文章

如何修復windows中的磁碟i/o錯誤

...裝置錯誤非常常見。它們通常是硬體問題,如電纜故障、硬碟或SSD故障或驅動程式配置錯誤。修復I/O裝置錯誤的方法不止幾種。更好的是,大多數修復只需要幾分鐘,而且非常容易完成。 ...

  • 發佈於 2021-03-11 18:14
  • 閲讀 ( 53 )

如何在windows中恢復丟失的分割槽

...第二個原因是資料損壞。如果作業系統或檔案系統損壞,硬碟可能無**常工作。反過來,這可能會使分割槽不可訪問。 ...

  • 發佈於 2021-03-12 08:47
  • 閲讀 ( 56 )

分割槽表:錯誤的含義及避免方法

... 關於硬碟 ...

  • 發佈於 2021-03-13 14:42
  • 閲讀 ( 49 )

為什麼windows會崩潰?故障排除指南

...線到主機板並由PSU(電源裝置)供電。如果硬體元件(如硬碟驅動器)未正確連線到主機板,則會透過錯誤訊息通知您該問題。 ...

  • 發佈於 2021-03-17 13:14
  • 閲讀 ( 57 )

5個警告訊號您的ssd即將發生故障

固態驅動器(SSD)比傳統的硬碟驅動器(HDD)更快、更穩定、功耗更低。但是固態硬碟並不是完美無缺的,在預期的5到7年的使用壽命之前就可能出現故障。 ...

  • 發佈於 2021-03-18 00:44
  • 閲讀 ( 58 )

如何修復宕機硬碟恢復資料

...說在你死之前,你的生命在你眼前閃現。當我意識到我的硬碟壞了,就有點像那樣。我所能想到的只是幾百張我沒有備份的照片。我下定決心要把他們帶回來,我成功了;算是吧。 ...

  • 發佈於 2021-03-18 06:45
  • 閲讀 ( 54 )

如何測試你的電腦硬體故障:提示和工具知道

... 最常損壞的部件是風扇、硬碟驅動器、CPU和GPU。 ...

  • 發佈於 2021-03-22 08:08
  • 閲讀 ( 44 )

如何在windows 10中修復錯誤程式碼0xc0000225

... 完成後,執行磁碟檢查掃描以檢查硬碟上的錯誤。使用以下命令,如果已更改主分割槽,請將c:替換為主分割槽的字母: ...

  • 發佈於 2021-03-24 06:54
  • 閲讀 ( 96 )

如何在windows10中修復速度較慢的外部硬碟

把外接硬碟**電腦後,發現它比以前慢了?如果你經常使用這個驅動器,這很容易解釋:可能是因為它太舊了或者需要碎片整理。 ...

  • 發佈於 2021-03-25 23:19
  • 閲讀 ( 54 )

Windows10中的chkdsk、sfc和dism有什麼區別?

...ows10的內建診斷工具來嘗試解決問題。CHKDSK、SFC和DISM檢查硬碟的執行狀況並修復損壞的檔案,但這三種工具的工作方式不同,針對的系統區域也不同。 ...

  • 發佈於 2021-03-30 02:33
  • 閲讀 ( 84 )
uncomfortho
uncomfortho

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦