Microsoft KB Archive/940041

From BetaArchive Wiki

Article ID: 940041

Article Last Modified on 10/11/2007



APPLIES TO

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



SYMPTOMS

After you restart a Windows Server 2003-based computer, Volume Shadow Copy Service (VSS) snapshots may be unexpectedly deleted.

This problem affects System Center Data Protection Manager (DPM) because DPM relies on volume snapshots to maintain its recovery points. Because the volume snapshots are unexpectedly deleted after Windows Server 2003 is restarted, DPM cannot list any recovery points.

This problem can also affect other third-party backup applications that rely on volume snapshots for their backup solutions.

CAUSE

The snapshots may be lost when the copy-on-write activity that is required to maintain the snapshots fails. This behavior may occur if one or more of the following conditions are true:

  • The live volume comes online more than five minutes before the difference (diff) area volume comes online.


Note The live volume is the volume from which the snapshots are made.

  • The diff area is inaccessible.
  • The grow request of the diff area is not handled on time.
  • The space of the diff area volume is insufficient.


RESOLUTION

A hotfix is available to resolve this problem. This hotfix introduces a new mode that is called Snapshot Protection mode. This mode blocks all I/O activities to the live volume when the diff area is unavailable for any reason. Therefore, snapshots are not deleted if the copy-on-write activity to the diff area fails.

By default, Snapshot Protection mode is turned off. You can enable this mode by using the public interfaces that are exposed by VSS.

Hotfix information

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

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply the hotfix, you must have one of the following service packs installed on the computer:

  • Windows Server 2003 Service Pack 1 (SP1)
  • Windows Server 2003 Service Pack 2 (SP2)

Restart requirement

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

Hotfix replacement information

This hotfix does not replace any other previously released hotfixes.

Registry information

To use one of the hotfixes in this package, you do not have to make any changes to the registry.

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 SP1, x86-based versions
File name File version File size Date Time Platform SP requirement
Eventcls.dll 5.2.3790.2985 31,232 07-Aug-2007 10:29 x86 SP1
Ftdisk.sys 5.2.3790.2985 137,216 03-Aug-2007 13:29 x86 SP1
Partmgr.sys 5.2.3790.2985 25,088 03-Aug-2007 14:25 x86 SP1
Swprv.dll 5.2.3790.2985 285,696 07-Aug-2007 10:29 x86 SP1
Volsnap.sys 5.2.3790.2985 168,960 03-Aug-2007 13:29 x86 SP1
Vssadmin.exe 5.2.3790.2985 134,144 03-Aug-2007 13:29 x86 SP1
Vssapi.dll 5.2.3790.2985 566,272 07-Aug-2007 10:29 x86 SP1
Vssui.dll 5.2.3790.2985 144,384 07-Aug-2007 10:29 x86 SP1
Vssvc.exe 5.2.3790.2985 837,120 03-Aug-2007 13:29 x86 SP1
Vss_ps.dll 5.2.3790.2985 20,480 07-Aug-2007 10:29 x86 SP1
Windows Server 2003 with SP2, x86-based versions
File name File version File size Date Time Platform SP requirement
Eventcls.dll 5.2.3790.4127 31,232 07-Aug-2007 11:05 x86 SP2
Ftdisk.sys 5.2.3790.4127 137,216 06-Aug-2007 13:27 x86 SP2
Partmgr.sys 5.2.3790.4127 25,088 06-Aug-2007 15:00 x86 SP2
Swprv.dll 5.2.3790.4127 285,696 07-Aug-2007 11:05 x86 SP2
Volsnap.sys 5.2.3790.4127 168,960 06-Aug-2007 13:27 x86 SP2
Vssadmin.exe 5.2.3790.4127 134,144 06-Aug-2007 13:27 x86 SP2
Vssapi.dll 5.2.3790.4127 566,272 07-Aug-2007 11:05 x86 SP2
Vssui.dll 5.2.3790.4127 144,384 06-Aug-2007 21:27 x86 SP2
Vssvc.exe 5.2.3790.4127 837,120 06-Aug-2007 13:27 x86 SP2
Vss_ps.dll 5.2.3790.4127 20,480 07-Aug-2007 11:05 x86 SP2
Windows Server 2003, x64-based versions
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.2985 46,080 06-Aug-2007 21:34 x64 SP1 Not applicable
Ftdisk.sys 5.2.3790.2985 240,128 06-Aug-2007 21:34 x64 SP1 Not applicable
Partmgr.sys 5.2.3790.2985 45,056 06-Aug-2007 21:34 x64 SP1 Not applicable
Volsnap.sys 5.2.3790.2985 326,656 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssui.dll 5.2.3790.2985 233,472 06-Aug-2007 21:34 x64 SP1 Not applicable
Vss_ps.dll 5.2.3790.2985 26,624 06-Aug-2007 21:34 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2985 685,056 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2985 245,248 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2985 1,333,248 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2985 2,063,872 06-Aug-2007 21:34 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2985 685,056 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2985 245,248 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2985 1,333,248 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2985 2,063,872 06-Aug-2007 21:34 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2985 685,056 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2985 245,248 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2985 1,333,248 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2985 2,063,872 06-Aug-2007 21:34 x64 SP1 Not applicable
Swprv.dll 5.2.3790.2985 685,056 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2985 245,248 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssapi.dll 5.2.3790.2985 1,333,248 06-Aug-2007 21:34 x64 SP1 Not applicable
Vssvc.exe 5.2.3790.2985 2,063,872 06-Aug-2007 21:34 x64 SP1 Not applicable
Wvssapi.dll 5.2.3790.2985 566,272 06-Aug-2007 21:34 x86 SP1 WOW
Wvss_ps.dll 5.2.3790.2985 20,480 06-Aug-2007 21:34 x86 SP1 WOW
Windows Server 2003 with SP2, x64-based versions
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.4127 46,080 06-Aug-2007 21:43 x64 SP2 Not applicable
Ftdisk.sys 5.2.3790.4127 240,128 06-Aug-2007 21:43 x64 SP2 Not applicable
Partmgr.sys 5.2.3790.4127 45,056 06-Aug-2007 21:43 x64 SP2 Not applicable
Volsnap.sys 5.2.3790.4127 326,656 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssui.dll 5.2.3790.4127 233,472 06-Aug-2007 21:43 x64 SP2 Not applicable
Vss_ps.dll 5.2.3790.4127 26,624 06-Aug-2007 21:43 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4127 685,056 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4127 245,248 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4127 1,332,736 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4127 2,063,872 06-Aug-2007 21:43 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4127 685,056 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4127 245,248 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4127 1,332,736 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4127 2,063,872 06-Aug-2007 21:43 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4127 685,056 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4127 245,248 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4127 1,332,736 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4127 2,063,872 06-Aug-2007 21:43 x64 SP2 Not applicable
Swprv.dll 5.2.3790.4127 685,056 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4127 245,248 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssapi.dll 5.2.3790.4127 1,332,736 06-Aug-2007 21:43 x64 SP2 Not applicable
Vssvc.exe 5.2.3790.4127 2,063,872 06-Aug-2007 21:43 x64 SP2 Not applicable
Wvssapi.dll 5.2.3790.4127 566,272 06-Aug-2007 21:43 x86 SP2 WOW
Wvss_ps.dll 5.2.3790.4127 20,480 06-Aug-2007 21:43 x86 SP2 WOW
Windows Server 2003 with SP1, Itanium-based versions
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.2985 82,432 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Ftdisk.sys 5.2.3790.2985 499,200 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Partmgr.sys 5.2.3790.2985 83,456 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Volsnap.sys 5.2.3790.2985 505,344 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Vssui.dll 5.2.3790.2985 407,552 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Vss_ps.dll 5.2.3790.2985 33,280 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Swprv.dll 5.2.3790.2985 860,672 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2985 313,856 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Vssapi.dll 5.2.3790.2985 1,654,272 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Vssvc.exe 5.2.3790.2985 2,588,160 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Swprv.dll 5.2.3790.2985 860,672 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Vssadmin.exe 5.2.3790.2985 313,856 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Vssapi.dll 5.2.3790.2985 1,654,272 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Vssvc.exe 5.2.3790.2985 2,588,160 06-Aug-2007 21:34 IA-64 SP1 Not applicable
Wvssapi.dll 5.2.3790.2985 566,272 06-Aug-2007 21:34 x86 SP1 WOW
Wvss_ps.dll 5.2.3790.2985 20,480 06-Aug-2007 21:34 x86 SP1 WOW
Windows Server 2003 with SP2, Itanium-based versions
File name File version File size Date Time Platform SP requirement Service branch
Eventcls.dll 5.2.3790.4127 82,432 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Ftdisk.sys 5.2.3790.4127 499,200 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Partmgr.sys 5.2.3790.4127 83,456 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Volsnap.sys 5.2.3790.4127 505,344 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Vssui.dll 5.2.3790.4127 407,552 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Vss_ps.dll 5.2.3790.4127 33,280 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Swprv.dll 5.2.3790.4127 861,184 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4127 313,856 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Vssapi.dll 5.2.3790.4127 1,654,272 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Vssvc.exe 5.2.3790.4127 2,588,160 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Swprv.dll 5.2.3790.4127 861,184 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Vssadmin.exe 5.2.3790.4127 313,856 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Vssapi.dll 5.2.3790.4127 1,654,272 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Vssvc.exe 5.2.3790.4127 2,588,160 06-Aug-2007 21:44 IA-64 SP2 Not applicable
Wvssapi.dll 5.2.3790.4127 566,272 06-Aug-2007 21:44 x86 SP2 WOW
Wvss_ps.dll 5.2.3790.4127 20,480 06-Aug-2007 21:44 x86 SP2 WOW


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

After you apply the hotfix, an application can set the live volume or the diff volume to Snapshot Protection mode by using the SetVolumeProtectLevel function of the VssDifferentialSoftwareSnapshotMgmt3 object. Then, the SetVolumeProtectLevel function will call the IOCTL_VOLSNAP_SET_SNAPSHOT_PROTECTION_MODE input and output control (IOCTL).

You must also set the diff area volume to Snapshot Protection mode. If the live volume is lost, the diff area may be deleted when the Volsnap.sys driver performs the garbage collection.

In Snapshot Protection mode, the Volsnap.sys driver prevents read operations and write operations from accessing a volume at the first instance of any failure that may cause a loss of snapshots. When this instance occurs, the Volsnap.sys driver posts an event to indicate the reason for the failure. This event also indicates that the Volsnap.sys driver is blocking all I/O activities to the volume.

To return to Normal mode from Snapshot Protection mode, the application calls the SetVolumeProtectLevel function. Then, the SetVolumeProtectLevel function calls the IOCTL_VOLSNAP_RESET_SNAPSHOT_PROTECTION_MODE IOCTL.

REFERENCES

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

833780 All shadow copies of shared folders are deleted when you start Windows Server 2003


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Keywords: kbfix kbqfe kbpubtypekc kbexpertiseadvanced kbhotfixserver KB940041