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.
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.
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.
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 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
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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
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.