User Tools

Site Tools


Sidebar

Announcement

Ahsay Backup Software

Backup Set Types

Supported Storage

Features in OBM / ACB

Features in CBS

Brand and Customize

License

Documentation

Performance Testing

FAQs and Known Issues

Can't Find What You Need?

public:8086_issue:vss_e_writererror_nonretryable

This is an old revision of the document!


ISSUE: Cannot start shadow copy, reason = The writer operation failed because of an error that might recur if another shadow copy is created. (VSS_E_WRITERERROR_NONRETRYABLE)

Article ID: 8086
Reviewed: 10/11/2020

Product Version:
AhsayOBM: 8.1.0.0 or above
OS: Windows

Problem Description

When performing either a scheduled or manual MS SQL database backup job, where there are a large number of databases selected in the backup source. The following backup error is received in the backup report:

No. Type Timestamp Log
* ... ... ...
* info ... [Start] Backing up database...
* erro YYYY/MM/DD hh:mm:ss Cannot start shadow copy, reason =The writer operation failed because of an error that might
recur if another shadow copy is created. (VSS_E_WRITERERROR_NONRETRYABLE)
* ... ... ...

Cause

The error message is returned by MS SQL VSS writer, suggesting that there were insufficient number of worker threads configured on the MS SQL Server to support the backup all databases selected for backup.

A MS SQL Server databases backup job using VSS requires three worker threads per database. For example, a 64 bit MS SQL server with 4 CPUs is automatically configured with 512 work threads, which implies that the maximum number of databases that can be selected for backup is 170.

Please refer to the Limitations and Restrictions section in the following article for more details:
https://msdn.microsoft.com/en-us/library/ms190219.aspx

Resolution

To resolve this issue, either:

1. Create additional backup sets (to be performed at different time) for the excess databases.

or

2. Increase the maximum number of worker threads on the MS SQL Server.

To configure the max worker threads option:

  • In Object Explorer, right-click a server and select Properties.
  • Click the Processors node.
  • In the Max worker threads box, type or select a value for the max worker thread.
For more details, refer to the following article: https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-the-max-worker-threads-server-configuration-option

Important:
Please consult with an experienced database administrator or certified SQL Server technician before making any change to the maximum worker threads.

Keywords

MS SQL Server, worker threads, max, databases

public/8086_issue/vss_e_writererror_nonretryable.1605004026.txt.gz · Last modified: 2020/11/10 18:27 by edward.chan

Page Tools