Results 1 to 7 of 7
  1. #1
    3 Star Lounger
    Join Date
    May 2001
    Location
    Kenilworth, Warwickshire, England
    Posts
    269
    Thanks
    3
    Thanked 0 Times in 0 Posts

    chkdsk responses (XP SP3)

    I use a number of DOS batch files to carry out routine tasks like defrag. I have recently added some to run chkdsk and write the results to files rather than the screen. I do this in the form date; time; command; date; time so that I can see what has gone on.

    Reviewing the results of running chkdsk drive: /r this way, I have noticed that there are two forms of response on NTFS drives. They go through the 5 stage check and then say either
    "..... Free space verification is complete. Windows has checked the file system and found no problems.
    1020095 KB total disk space.
    400908 KB in 167 files.
    284 KB in 57 indexes.
    0 KB in bad sectors.
    100119 KB in use by the system.
    87072 KB occupied by the log file.
    518784 KB available on disk.

    4096 bytes in each allocation unit.
    255023 total allocation units on disk.
    129696 allocation units available on disk."

    OR
    " .....Free space verification is complete.

    91747183 KB total disk space.
    85386528 KB in 11263 files.
    8580 KB in 788 indexes.
    0 KB in bad sectors.
    87331 KB in use by the system.
    65536 KB occupied by the log file.
    6264744 KB available on disk.

    4096 bytes in each allocation unit.
    22936795 total allocation units on disk.
    1566186 allocation units available on disk.

    For the latter, when I run the same command to the screen, it includes the "Windows has checked the file system and found no problems." comment in the result. I dont know if this is because there were problems that it fixed or there is some other effect going on.

    If there were problems, would it report them stage by stage, or only at the end. If it doesnt actively and explicilty report problems at the end and say it fixed them or not, does this mean it found no problems?

    Thanks for any clues

    Mike C

  2. #2
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,421
    Thanks
    33
    Thanked 195 Times in 175 Posts

    Re: chkdsk responses (XP SP3)

    A quick (!) test on my system shows that the message line
    Windows has checked the file system and found no problems.
    appears only if I specify the CHKDSK parameter /V

    That's presumably the meaning of the CHKDSK /? help information:
    /V [...] On NTFS: displays cleanup messages if any.

    I always specify
    CHKDSK x: /F /V /R
    more or less out of habit from the days of DOS 6 (and probably earlier)...
    BATcher

    Time prevents everything happening all at once...

  3. #3
    3 Star Lounger
    Join Date
    May 2001
    Location
    Kenilworth, Warwickshire, England
    Posts
    269
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: chkdsk responses (XP SP3)

    BATcher hello,

    Thank you for your advice. What I have found from tests following your message is that /N brings up some minor problems at any intermediate step in the check routine. The messages it sends back indicate that no action is necessary, but they can be fixed. I suspect, but have not yet proved that

    * the "found no problems" conclusions only appears when there is absolutely nothing to report.
    * some minor problems are not reported (without /N), but suppress the "no problem" message
    * bigger problems result in a statement that there are problems (and fixes) with or without the /N

    how does this feel to you?

    cheers,

    Mike C
    PS this has led to another question that I will put in a new thread..

  4. #4
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,421
    Thanks
    33
    Thanked 195 Times in 175 Posts

    Re: chkdsk responses (XP SP3)

    It's very difficult to say how CHKDSK treats disk errors if one doesn't have disk errors! You may be able to find something informational buried on the Microsoft website.

    (I assume that instead of /N in your post you meant /V, throughout!)
    BATcher

    Time prevents everything happening all at once...

  5. #5
    3 Star Lounger
    Join Date
    May 2001
    Location
    Kenilworth, Warwickshire, England
    Posts
    269
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: chkdsk responses (XP SP3)

    I cant read my own screen! Absolutely I mean /V throughout...

    I'm not guessing about the results of using /V. On one of my drives it reported as folows

    "Detected minor inconsistencies on the drive. This is not a corruption."

    during the index check phase. It did not report at the end that it had found problems or fixed them.

    So there do seem to be various degrees of "issues" perhaps rather than errors.

    Can you help with the startup query?

    Mike C

  6. #6
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: chkdsk responses (XP SP3)

    I don't know if this answers your question, but from recent experience:

    When 'file inconsistencies' etc have been corrected, there is a summary after (e.g.) Phase 2, Checking Indexes.
    When physically damaged sectors are found, there are individual responses for each bunch of clusters an attempt to repair has been made on.

    Referring to MSKB 314835: An explanation of the new /C and /I Switches that are available to use with Chkdsk.exe, there is the statement:
    <hr>Autochk.exe generates the same kind of text output that the Chkdsk.exe utility DLLs generate. Autochk.exe displays this text output during the startup process and also logs an event in the application event log. The logged event information includes as much of the text output as can fit into the event log's data buffer.<hr>
    - do you get anything reported you can see in Event Viewer?

  7. #7
    3 Star Lounger
    Join Date
    May 2001
    Location
    Kenilworth, Warwickshire, England
    Posts
    269
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: chkdsk responses (XP SP3)

    Leif,

    Thanks for reply. I did check event viewer around the time, but my recollection is that I couldnt pin anything down to that specific run. I never have managed to get much joy from looking at the events. Now you have shown me where to look properly, I will certainly look with more determination next time I spot this...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •