Miten kiintolevyn diagnostiikkatyökalut tietää, onko toimiala huonosti vai ei?

Sisällysluettelo:

Miten kiintolevyn diagnostiikkatyökalut tietää, onko toimiala huonosti vai ei?
Miten kiintolevyn diagnostiikkatyökalut tietää, onko toimiala huonosti vai ei?

Video: Miten kiintolevyn diagnostiikkatyökalut tietää, onko toimiala huonosti vai ei?

Video: Miten kiintolevyn diagnostiikkatyökalut tietää, onko toimiala huonosti vai ei?
Video: Top 15 Advanced Excel 2016 Tips and Tricks - YouTube 2024, Huhtikuu
Anonim
Kukaan ei halua miettiä, että kovalevy menee huonoon, mutta vähemmän kokematonta ongelmaa yhden kanssa, mutta kuinka vaikea-aseman vianmääritysvälineet todella tietävät, onko sektoreilla huono vai ei? Tänään SuperUser Q & A -postilla on vastauksia utelias lukijan kysymyksiin.
Kukaan ei halua miettiä, että kovalevy menee huonoon, mutta vähemmän kokematonta ongelmaa yhden kanssa, mutta kuinka vaikea-aseman vianmääritysvälineet todella tietävät, onko sektoreilla huono vai ei? Tänään SuperUser Q & A -postilla on vastauksia utelias lukijan kysymyksiin.

Tämän päivän kysymys- ja vastausistunto tulee meihin SuperUserin hyväksi - Stack Exchangein alaosasto, joka on yhteisöllinen Q & A-sivustojen ryhmittely.

Kuva kohtelee Matthew (Flickr).

Kysymys

SuperUser-lukija David haluaa tietää, miten kiintolevyn diagnostiikkatyökalut tietävät, onko toimiala huono:

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?

Kuinka kiintolevyn vianmääritysvälineet tietävät, onko toimiala huono vai ei?

Vastaus

Vastauksemme ovat Stavuc ja Ole Tange. Ensin ylös, 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.

Seuraavaksi Ole Tangen vastaus:

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.

Onko jokin asia lisättävä selitykseen? Kuulkaa kommentit. Haluatko lukea lisää vastauksia muilta tech-tajuilta Stack Exchange-käyttäjiltä? Katso koko keskusteluketju täältä.

Suositeltava: