Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

http://i.stack.imgur.com/GYnmc.jpg

My OS is Windows XP SP3 32-bit.

Why are there Deleting index entry.... lines when CHKDSK is executed, yet there is no error log when CHKDSK is running when scheduled to next restart?

I also get Memory could not be written error in explorer.exe and few other programs.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You are doing CHKDSK on a live system. CHKDSK only reads the data structures on the disk, not the log and not what may be cached in RAM. This is almost always going to return discrepancies and is totally expected.

In your case, above, a file may be created. NTFS puts all this information into the log but doesn't necessarily write out the directory or the file record (they are written in RAM, but haven't made it out to disk yet). If the directory is written out and not the file record, CHKDSK will see an invalid directory entry (the file record is inconsistent) and then report that the directory entry needs to be deleted.

Dismounting the volume, flushing it, or shutting down will cause all the cached data to be written out which will return the volume to consistency, hence CHKDSK on boot reporting no errors.

Lastly, if you crash, since the log has been written out, upon restart NTFS will read the log and update all the disk structures to bing them back into consistency. Standard database stuff.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.