Gathering logs to troubleshoot VSS failures
search cancel

Gathering logs to troubleshoot VSS failures

book

Article ID: 310733

calendar_today

Updated On:

Products

VMware VMware vSphere ESXi

Issue/Introduction

VMware technicians may request diagnostic information from you to file a Support Request. This article provides procedures for obtaining diagnostic information to troubleshoot Volume Snapshot Service or Volume Shadow Copy Service (VSS) failures.


Symptoms:



Environment

VMware ESXi 4.0.x Embedded
VMware vCenter Converter 4.1.x
VMware ESXi 4.0.x Installable
VMware ESXi 4.1.x Embedded
VMware vCenter Converter 4.0.x
VMware ESX 4.0.x
VMware ESXi 3.5.x Installable
VMware ESX Server 3.5.x
VMware vCenter Converter 4.2.x
VMware vSphere ESXi 5.1
VMware ESXi 4.1.x Installable
VMware ESXi 3.5.x Embedded
VMware vSphere ESXi 5.0
VMware ESX 4.1.x

Resolution

VSS is a Microsoft Windows technology that is used to take backup copies on specific data volumes. The main purpose of VSS is to:
  • Create consistent snapshots where data integrity is ensured
  • Workaround any file-locking issues on the volume by creating a read-only copy first
VSS is used in conjunction with VMware ESXi/ESX to create quiesced backups of Windows 2003 or later guest operating systems and with VMware Converter.
To troubleshoot issues with VSS, VMware recommends that you collect:

VMware Tools logs

To collect VMware Tools logs:
  1. Enable debug logging for VMware Tools. For more information, see Enabling debug logging for VMware Tools within a guest operating system (1007873).
  2. Download, extract, and run DebugView on the Windows machine. Check these options:

    • Capture > Capture Win32
    • Capture > Capture Global Win32
    • Capture > Capture Kernel
    • Capture > Passthrough
    • Capture > Capture Events
    • Options > Clock Time
    • Options > Show Milliseconds

      Note: On systems that have UAC (Windows Vista and later), run DebugView as administrator by right-clicking on the icon and choosing Run as administrator.

  3. Start the capture and replicate the VSS error. DebugView begins recording all VSS actions.
  4. Save the contents to a file.

VSS trace logs

To capture VSS trace logs:
  1. vsstrace.exe is available in the Microsoft Windows Software Development Kit (SDK). You can download Microsoft Windows SDK from the Microsoft Download Center.
  2. Run this command, then reproduce the issue to gather vsstrace logging:

    vsstrace.exe -l 140 +f 0xffff > vss.trace.log

    Note: For more information on this command, see the Microsoft article Using Tracing Tools with VSS.

vssadmin

vssadmin is a tool provided with Windows 2003 or later operating systems to list VSS information and modify settings.
To display a list of all VSS providers installed on a system, run the command:
vssadmin list providers
The output appears similar to:
Provider name: 'Microsoft Software Shadow Copy provider 1.0'
Provider type: System
Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
Version: 1.0.0.7
Check for any non-vmware and non-Microsoft providers that may be listed
To display a list of all VSS writers, run the command:
vssadmin list writers
Immediately after a VSS failure, run this command to see the component that failed.


Additional Information

For more information about VSS, see Volume Shadow Copy Service Overview.

Troubleshooting Volume Shadow Copy (VSS) quiesce related issues
Enabling debug logging for VMware Tools within a guest operating system
VSS 障害をトラブルシューティングするためのログを収集する