OPERATING SYSTEMS Disk Concepts 6 If there is an error on th
OPERATING SYSTEMS: Disk Concepts
6. If there is an error on the disk sector, what kind of methods can be used to solve the problem? Give two approaches and discuss the relative advantages and disadvantages of them.
7. Discuss the reasons why the operating system might require accurate information on how blocks are stored on a disk. How could the operating system improve file system performance with this knowledge?
Solution
There are 2-3 methods to check for hard disk errors:
one is using system file checker in which open the command prompt screen, in the command prompt screen write down a command sfc/scannow and hit it. Now what dose this command will do, it will scan all the system files to find out which files are corrupted and take the back up of those corrupted files.
second is do the CHKDSK a command line utility (check disk). On the CMD screen run CHKDSK. chkdsk will help to identify the bad sectors and eliminate them. CHKDSK check the file system and repairs it. It is better than the system file checker to find errors but it may result in losing the data so you should take a back up of the data before running it.

