Hi
I have a theorical question... I spend 3 hours finding the answer in google, but no luck
Scenario:
One sector need to be read and the sector go bad, the sector is reallocated by the HDD to the spare sectors. In some cases the reallocated info is unaltered and other cases in corrupted. I assume work this way.
If unaltered i assume that is transparent to the Operating System. The HDD controller read the data, reallocate the sector to a spare sector, write the data in the spare sector, mark the original sector as bad. The application and the Operating System is unaware of this. You only have a SMART value changed.
If corrupted, it report something to the Operating System???
NO - You need to check with reiserfsck/chkdsk/etc to detect the file with errors?. Triggered by a suspicion by an SMART Change... is the right path to go?
YES - I assume that an error will popup on your application (triggered by the Operating System) and you can act in consequence. reiserfsck/chkdsk/etc?
Or.. need to identify the corrupted file via other method?
I know with a flavor of RAID or another parity this is not a worry.. but i want to know for other systems/situation
Thanks.
I have a theorical question... I spend 3 hours finding the answer in google, but no luck
Scenario:
One sector need to be read and the sector go bad, the sector is reallocated by the HDD to the spare sectors. In some cases the reallocated info is unaltered and other cases in corrupted. I assume work this way.
If unaltered i assume that is transparent to the Operating System. The HDD controller read the data, reallocate the sector to a spare sector, write the data in the spare sector, mark the original sector as bad. The application and the Operating System is unaware of this. You only have a SMART value changed.
If corrupted, it report something to the Operating System???
NO - You need to check with reiserfsck/chkdsk/etc to detect the file with errors?. Triggered by a suspicion by an SMART Change... is the right path to go?
YES - I assume that an error will popup on your application (triggered by the Operating System) and you can act in consequence. reiserfsck/chkdsk/etc?
Or.. need to identify the corrupted file via other method?
I know with a flavor of RAID or another parity this is not a worry.. but i want to know for other systems/situation
Thanks.