Microsoft KB Archive/932021

= Error message when you run the &quot;chkdsk&quot; command together with the &quot;/v&quot; switch on a Windows Server 2003-based computer: &quot;Correcting sparse file record segment &quot; =

Article ID: 932021

Article Last Modified on 10/11/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard x64 Edition
 * Microsoft Windows Server 2003, Enterprise x64 Edition
 * Microsoft Windows Server 2003, Datacenter x64 Edition
 * Microsoft Windows Server 2003 R2 Standard x64 Edition
 * Microsoft Windows Server 2003 R2 Enterprise x64 Edition
 * Microsoft Windows Server 2003 R2 Datacenter x64 Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
 * Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
 * Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems

-



SYMPTOMS
Consider the following scenario:
 * On a Microsoft Windows Server 2003-based computer, you install Microsoft SQL Server 2005, and then you create a database on a volume.
 * To process a database consistency check (DBCC) of the SQL Server 2005 database on an NTFS file system partition, you run the following commands.
 * dbcc checkdb
 * dbcc checkalloc

However, when you run the chkdsk command together with the /v switch on the volume, you receive the following error message:

Correcting sparse file record segment.

Errors found. CHKDSK cannot continue in read-only mode.



CAUSE
If the sparse attributes of a sparse file are deleted, the NTFS file system partition works correctly. However, the Chkdsk.exe utility still reports an error.



RESOLUTION
After you install this hotfix, the Chkdsk.exe utility does not perform an additional check.

Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
To apply this hotfix, you must have Windows Server 2003 Service Pack 1 or a later service pack installed.

889100 How to obtain the latest service pack for Windows Server 2003

Restart requirement
You have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Windows Server 2003 with Service Pack 2, X64 version


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



Steps to reproduce the problem
This procedure simulates the behavior that occurs when you perform a DBCC on a SQL Server database. Before you perform this procedure, you must download the Streams utility. To do this, visit the following Microsoft Web site:

http://www.microsoft.com/technet/sysinternals/utilities/Streams.mspx


 * 1) Unzip the contents of the downloaded file into a separate directory on the computer.
 * 2) Open a command prompt, and then change to the directory in which you unzipped the Stream utility files.
 * 3) Type echo MainStream > test.txt, and then press ENTER to create a file.
 * 4) Type echo > test.txt:astream, and then press ENTER to create another NTFS stream on the file.
 * 5) Type fsutil sparse setflag test.txt:astream, and then press ENTER to make this stream a sparse file stream.
 * 6) Type streams –d test.txt, and then press ENTER to delete the file stream.
 * 7) Type the chkdsk /v  at a command prompt.

You receive the error message that is mentioned in the &quot;Symptoms&quot; section.

Keywords: kbqfe kbexpertiseinter kbhotfixserver KB932021

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.