NetWorker:对因 VSS 问题导致的备份故障进行故障排除

Summary: 由于 VSS 问题,Windows 客户端的备份失败。有几个不同的原因可能导致 VSS 无法处理客户端操作系统上的快照;例如:VSS 编写器不稳定或空间不足,无法创建快照。VSS(卷影拷贝(快照)服务)是 Windows 操作系统服务。系统状态或灾难恢复需要 VSS:存储集或完成 BBB(基于数据块的备份)时。VSS 必须稳定且在主机操作系统上正常工作,然后才能与 NetWorker 备份配合使用。 ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

由于卷影拷贝服务 (VSS) 问题,Windows 客户端的备份失败。有几个不同的原因可能导致 VSS 无法处理客户端操作系统上的快照;例如:VSS 编写器不稳定或空间不足,无法创建快照。本知识库文章详细介绍了 Windows 系统管理员或 NetWorker 备份管理员可以采取的一些故障排除操作;但是,建议就任何持久 VSS 问题与 Microsoft 支持接洽。

这些问题通常在备份日志中标明,可在 NMC 中观察到。
VSS OTHER: ERROR: VSS failed to process snapshot: 
90108:save: Unable to save the SYSTEM STATE save sets: cannot create the snapshot. 
7259:save: VSS reports adding volume [C:\] <file:///C:/]> to snapshot set failed for both hardware/software provider.VSS OTHER: ERROR: VSS failed to process snapshot: Unexpected VSS provider error.
VSS OTHER: ERROR: VSS failed to process snapshot: Insufficient storage available to create either the shadow copy storage file or other shadow copy data. (VSS error 0x8004231f)
90108:save: Unable to save the SYSTEM STATE save sets: cannot create the snapshot.
VSS 相关事件也将在客户端上的 Windows 事件查看器中可见。

Cause

VSS 是 Windows 操作系统功能。系统状态或灾难恢复需要 VSS:\ 存储集或完成 BBB(基于数据块的备份)时。VSS 必须稳定且在主机操作系统上正常工作,然后才能与 NetWorker 备份配合使用。

Resolution

首先排除潜在的容量问题。Microsoft 建议保留总容量的 10-15% 用于完成 VSS 快照。如果容量超过 90%,VSS 快照可能会失败。

要测试 VSS 是否在客户端操作系统上正常工作,请从管理命令提示符:
1 运行以下命令。检查 VSS 写入器状态:vssadmin 列表编写器
例子:
c:\>vssadmin list writers
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2012 Microsoft Corp.

Writer name: 'System Writer'
Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
Writer Instance Id: {34a07e16-fcdb-4ab0-b603-d58c0f741c9a}
State: [1] Stable
Last error: No error
...
...
提醒:以上输出是其中一个编写器的示例;但是,所有写入器都应该是“Stable”,没有错误。

2.如果写入器稳定地检查预先存在的快照,则应该没有:vssadmin 列表卷影
例子:
c:\>vssadmin list shadows
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2012 Microsoft Corp.

No items found that satisfy the query.

3.如果列出了快照,请将其删除:vssadmin 删除卷影 /all
例子:
c:\>vssadmin delete shadows /all
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2012 Microsoft Corp.

Do you really want to delete 1 shadow copies (Y/N): [N]? y

Successfully deleted 1 shadow copies.
4.如果没有快照,并且磁盘驱动器的容量使用率低于 90%,则尝试创建快照:vssadmin create shadow /for=DRIVE_LETTER:\
示例: 
c:\>vssadmin create shadow /for=C:\
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2012 Microsoft Corp.

Successfully created shadow copy for 'C:\'
    Shadow Copy ID: {1f6a1448-daad-4e68-a334-31dd40a64dd9}
    Shadow Copy Volume Name: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy2
提醒:您必须为 SYSTEM STATE 或 DISASTER_RECOVERY:\ 存储集所需的每个关键卷执行此操作。

5.如果成功创建了快照,请使用步骤 3 中的 命令将其删除,并运行此客户端的备份。如果备份失败并出现 VSS 问题,请联系 Dell NetWorker 支持以获取帮助。此外,还建议在 NetWorker 支持与 Microsoft 支持之间需要协作的情况下与 Microsoft 支持接洽。

Additional Information

Affected Products

NetWorker

Products

NetWorker
Article Properties
Article Number: 000031318
Article Type: Solution
Last Modified: 20 Jun 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.