How to use the Vrfydsk.exe tool to check a volume for errors without taking the volume offline in Windows Server 2003
Note Vrfydsk.exe cannot correct any errors that it discovers. To correct these errors, run Chkdsk.exe in fix mode (chkdsk /f).
To download and to install Vrfydsk.exe, visit the following Microsoft Web site:
How to use the Vrfydsk.exe toolTo test drive C for corruption, follow these steps:
- Click Start, point to Programs, point to Windows Resource Kit Tools, and then click Command Shell.
- At the command prompt, type Vrfydsk C: /V, and then press ENTER.
SyntaxVrfydsk.exe uses the following syntax:
OptionsVrfydsk.exe uses the following options:
- volume[Path]- This option specifies the fixed storage capacity of a disk or a tape that you want to test for corruption. You can use the volume name, the drive letter, or the mount point as an input for the target volume. If you do not specify the volume information, Vrfydsk.exe uses the current volume as the target volume.
- /V - This option runs Vrfydsk.exe in a verbose mode that displays any clean-up messages.
- /I - This option runs Vrfydsk.exe in a mode that performs a test of index entries that is less vigorous than the default test. Use this option to reduce the time that it takes to run the tool. This option applies to NTFS only.
- /C - This option runs Vrfydsk.exe in a mode that skips cycle-testing in folder structures. Use this option to reduce the time that it takes to run the tool. This option applies to NTFS only.
- /? - This option displays command-line usage.
Note The Vrfydsk.exe options are a subset of the Chkdsk.exe options. All the options for Vrfydsk.exe are passed directly to Chkdsk.exe as options for the corresponding switch.
Differences between Chkdsk.exe and Vrfydsk.exeChkdsk.exe provides functionality that is similar to the Vrfydsk.exe functionality. However, if you run Chkdsk.exe on an active computer, on a startup volume, or on a data volume that another program or another process is using, Chkdsk.exe might report nonexistent errors. Vrfydsk.exe does not have this limitation.
If you run Chkdsk.exe on a volume that is being used, Chkdsk.exe might report nonexistent errors because the volume changes while Chkdsk.exe runs. To make sure that Chkdsk.exe receives a consistent view of the volume, you may have to take the volume offline. This can be an issue if you maintain a service level agreement that has the following specifications:
- You must maintain high availability.
- You must make sure that the volumes are not corrupted.
Vrfydsk.exe does not create a complete copy of the data. Vrfydsk.exe only creates a shadow copy of the data. Therefore, it does not take much longer to run Vrfydsk.exe than to run Chkdsk.exe.
Article ID: 837326 - Last Review: 12/06/2006 22:40:56 - Revision: 3.1
- kbfileprintservices kbinfo KB837326