Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Volume Shadow Copy Service snapshots may be unexpectedly deleted after you restart a Windows Server 2003-based computer


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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 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 software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

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
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Eventcls.dll5.2.3790.298531,23207-Aug-200710:29x86SP1
Ftdisk.sys5.2.3790.2985137,21603-Aug-200713:29x86SP1
Partmgr.sys5.2.3790.298525,08803-Aug-200714:25x86SP1
Swprv.dll5.2.3790.2985285,69607-Aug-200710:29x86SP1
Volsnap.sys5.2.3790.2985168,96003-Aug-200713:29x86SP1
Vssadmin.exe5.2.3790.2985134,14403-Aug-200713:29x86SP1
Vssapi.dll5.2.3790.2985566,27207-Aug-200710:29x86SP1
Vssui.dll5.2.3790.2985144,38407-Aug-200710:29x86SP1
Vssvc.exe5.2.3790.2985837,12003-Aug-200713:29x86SP1
Vss_ps.dll5.2.3790.298520,48007-Aug-200710:29x86SP1
Windows Server 2003 with SP2, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirement
Eventcls.dll5.2.3790.412731,23207-Aug-200711:05x86SP2
Ftdisk.sys5.2.3790.4127137,21606-Aug-200713:27x86SP2
Partmgr.sys5.2.3790.412725,08806-Aug-200715:00x86SP2
Swprv.dll5.2.3790.4127285,69607-Aug-200711:05x86SP2
Volsnap.sys5.2.3790.4127168,96006-Aug-200713:27x86SP2
Vssadmin.exe5.2.3790.4127134,14406-Aug-200713:27x86SP2
Vssapi.dll5.2.3790.4127566,27207-Aug-200711:05x86SP2
Vssui.dll5.2.3790.4127144,38406-Aug-200721:27x86SP2
Vssvc.exe5.2.3790.4127837,12006-Aug-200713:27x86SP2
Vss_ps.dll5.2.3790.412720,48007-Aug-200711:05x86SP2
Windows Server 2003, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.298546,08006-Aug-200721:34x64SP1Not applicable
Ftdisk.sys5.2.3790.2985240,12806-Aug-200721:34x64SP1Not applicable
Partmgr.sys5.2.3790.298545,05606-Aug-200721:34x64SP1Not applicable
Volsnap.sys5.2.3790.2985326,65606-Aug-200721:34x64SP1Not applicable
Vssui.dll5.2.3790.2985233,47206-Aug-200721:34x64SP1Not applicable
Vss_ps.dll5.2.3790.298526,62406-Aug-200721:34x64SP1Not applicable
Swprv.dll5.2.3790.2985685,05606-Aug-200721:34x64SP1Not applicable
Vssadmin.exe5.2.3790.2985245,24806-Aug-200721:34x64SP1Not applicable
Vssapi.dll5.2.3790.29851,333,24806-Aug-200721:34x64SP1Not applicable
Vssvc.exe5.2.3790.29852,063,87206-Aug-200721:34x64SP1Not applicable
Swprv.dll5.2.3790.2985685,05606-Aug-200721:34x64SP1Not applicable
Vssadmin.exe5.2.3790.2985245,24806-Aug-200721:34x64SP1Not applicable
Vssapi.dll5.2.3790.29851,333,24806-Aug-200721:34x64SP1Not applicable
Vssvc.exe5.2.3790.29852,063,87206-Aug-200721:34x64SP1Not applicable
Swprv.dll5.2.3790.2985685,05606-Aug-200721:34x64SP1Not applicable
Vssadmin.exe5.2.3790.2985245,24806-Aug-200721:34x64SP1Not applicable
Vssapi.dll5.2.3790.29851,333,24806-Aug-200721:34x64SP1Not applicable
Vssvc.exe5.2.3790.29852,063,87206-Aug-200721:34x64SP1Not applicable
Swprv.dll5.2.3790.2985685,05606-Aug-200721:34x64SP1Not applicable
Vssadmin.exe5.2.3790.2985245,24806-Aug-200721:34x64SP1Not applicable
Vssapi.dll5.2.3790.29851,333,24806-Aug-200721:34x64SP1Not applicable
Vssvc.exe5.2.3790.29852,063,87206-Aug-200721:34x64SP1Not applicable
Wvssapi.dll5.2.3790.2985566,27206-Aug-200721:34x86SP1WOW
Wvss_ps.dll5.2.3790.298520,48006-Aug-200721:34x86SP1WOW
Windows Server 2003 with SP2, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.412746,08006-Aug-200721:43x64SP2Not applicable
Ftdisk.sys5.2.3790.4127240,12806-Aug-200721:43x64SP2Not applicable
Partmgr.sys5.2.3790.412745,05606-Aug-200721:43x64SP2Not applicable
Volsnap.sys5.2.3790.4127326,65606-Aug-200721:43x64SP2Not applicable
Vssui.dll5.2.3790.4127233,47206-Aug-200721:43x64SP2Not applicable
Vss_ps.dll5.2.3790.412726,62406-Aug-200721:43x64SP2Not applicable
Swprv.dll5.2.3790.4127685,05606-Aug-200721:43x64SP2Not applicable
Vssadmin.exe5.2.3790.4127245,24806-Aug-200721:43x64SP2Not applicable
Vssapi.dll5.2.3790.41271,332,73606-Aug-200721:43x64SP2Not applicable
Vssvc.exe5.2.3790.41272,063,87206-Aug-200721:43x64SP2Not applicable
Swprv.dll5.2.3790.4127685,05606-Aug-200721:43x64SP2Not applicable
Vssadmin.exe5.2.3790.4127245,24806-Aug-200721:43x64SP2Not applicable
Vssapi.dll5.2.3790.41271,332,73606-Aug-200721:43x64SP2Not applicable
Vssvc.exe5.2.3790.41272,063,87206-Aug-200721:43x64SP2Not applicable
Swprv.dll5.2.3790.4127685,05606-Aug-200721:43x64SP2Not applicable
Vssadmin.exe5.2.3790.4127245,24806-Aug-200721:43x64SP2Not applicable
Vssapi.dll5.2.3790.41271,332,73606-Aug-200721:43x64SP2Not applicable
Vssvc.exe5.2.3790.41272,063,87206-Aug-200721:43x64SP2Not applicable
Swprv.dll5.2.3790.4127685,05606-Aug-200721:43x64SP2Not applicable
Vssadmin.exe5.2.3790.4127245,24806-Aug-200721:43x64SP2Not applicable
Vssapi.dll5.2.3790.41271,332,73606-Aug-200721:43x64SP2Not applicable
Vssvc.exe5.2.3790.41272,063,87206-Aug-200721:43x64SP2Not applicable
Wvssapi.dll5.2.3790.4127566,27206-Aug-200721:43x86SP2WOW
Wvss_ps.dll5.2.3790.412720,48006-Aug-200721:43x86SP2WOW
Windows Server 2003 with SP1, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.298582,43206-Aug-200721:34IA-64SP1Not applicable
Ftdisk.sys5.2.3790.2985499,20006-Aug-200721:34IA-64SP1Not applicable
Partmgr.sys5.2.3790.298583,45606-Aug-200721:34IA-64SP1Not applicable
Volsnap.sys5.2.3790.2985505,34406-Aug-200721:34IA-64SP1Not applicable
Vssui.dll5.2.3790.2985407,55206-Aug-200721:34IA-64SP1Not applicable
Vss_ps.dll5.2.3790.298533,28006-Aug-200721:34IA-64SP1Not applicable
Swprv.dll5.2.3790.2985860,67206-Aug-200721:34IA-64SP1Not applicable
Vssadmin.exe5.2.3790.2985313,85606-Aug-200721:34IA-64SP1Not applicable
Vssapi.dll5.2.3790.29851,654,27206-Aug-200721:34IA-64SP1Not applicable
Vssvc.exe5.2.3790.29852,588,16006-Aug-200721:34IA-64SP1Not applicable
Swprv.dll5.2.3790.2985860,67206-Aug-200721:34IA-64SP1Not applicable
Vssadmin.exe5.2.3790.2985313,85606-Aug-200721:34IA-64SP1Not applicable
Vssapi.dll5.2.3790.29851,654,27206-Aug-200721:34IA-64SP1Not applicable
Vssvc.exe5.2.3790.29852,588,16006-Aug-200721:34IA-64SP1Not applicable
Wvssapi.dll5.2.3790.2985566,27206-Aug-200721:34x86SP1WOW
Wvss_ps.dll5.2.3790.298520,48006-Aug-200721:34x86SP1WOW
Windows Server 2003 with SP2, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Eventcls.dll5.2.3790.412782,43206-Aug-200721:44IA-64SP2Not applicable
Ftdisk.sys5.2.3790.4127499,20006-Aug-200721:44IA-64SP2Not applicable
Partmgr.sys5.2.3790.412783,45606-Aug-200721:44IA-64SP2Not applicable
Volsnap.sys5.2.3790.4127505,34406-Aug-200721:44IA-64SP2Not applicable
Vssui.dll5.2.3790.4127407,55206-Aug-200721:44IA-64SP2Not applicable
Vss_ps.dll5.2.3790.412733,28006-Aug-200721:44IA-64SP2Not applicable
Swprv.dll5.2.3790.4127861,18406-Aug-200721:44IA-64SP2Not applicable
Vssadmin.exe5.2.3790.4127313,85606-Aug-200721:44IA-64SP2Not applicable
Vssapi.dll5.2.3790.41271,654,27206-Aug-200721:44IA-64SP2Not applicable
Vssvc.exe5.2.3790.41272,588,16006-Aug-200721:44IA-64SP2Not applicable
Swprv.dll5.2.3790.4127861,18406-Aug-200721:44IA-64SP2Not applicable
Vssadmin.exe5.2.3790.4127313,85606-Aug-200721:44IA-64SP2Not applicable
Vssapi.dll5.2.3790.41271,654,27206-Aug-200721:44IA-64SP2Not applicable
Vssvc.exe5.2.3790.41272,588,16006-Aug-200721:44IA-64SP2Not applicable
Wvssapi.dll5.2.3790.4127566,27206-Aug-200721:44x86SP2WOW
Wvss_ps.dll5.2.3790.412720,48006-Aug-200721:44x86SP2WOW

↑ Back to the top


Status

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

↑ Back to the top


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.

↑ Back to the top


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

↑ Back to the top


Keywords: kbautohotfix, kbfix, kbexpertiseadvanced, kbqfe, KB940041

↑ Back to the top

Article Info
Article ID : 940041
Revision : 2
Created on : 10/8/2011
Published on : 10/8/2011
Exists online : False
Views : 252