SQL Server Backup Warning – I/O Operation Aborted (Error 995)

Muhammad Abrar Bilal 0 Reputation points
2026-12-03T09:42:08.8666667+00:00

Hello
We are experiencing backup failures for one of our SQL Server cluster instances when backing up databases using Commvault. Please find the error message below and kindly advise us on how to troubleshoot and resolve this issue. Their is only one database that is running on the SQL Instance and we have lot of disk space free in Cluster disk, so no issue of that. Please tell the issue asap and exact solution of it
**
Error:**
Log    SQL Server (Current - 12/1/2026)

Source    spid58

Message BackupVirtualDeviceFile::PrepareToFreeze:  failure on backup device '{182A8F64-D81E-4755-8FCF-DAAE0811AF8A}4'. Operating system error 995(The I/O operation has been aborted because of either a thread exit or an application request.).

Error:
2026-12-01 11:23:00.07 Logon       Login succeeded for user 'GROUP\BCKP_SQL_PROD'. Connection made using Integrated authentication. [CLIENT: 172.31] 2026-12-01 11:23:01.82 Backup      Error: 3041, Severity: 16, State: 1. 2026-12-01 11:23:01.82 Backup      BACKUP failed to complete the command BACKUP DATABASE Arc. Check the backup application log for detailed messages. 2026-12-01 11:23:01.82 Backup      Error: 3041, Severity: 16, State: 1. 2026-12-01 11:23:01.82 Backup      BACKUP failed to complete the command BACKUP DATABASE model. Check the backup application log for detailed messages. 2026-12-01 11:23:01.82 Backup      Error: 3041, Severity: 16, State: 1. 2026-12-01 11:23:01.82 Backup      BACKUP failed to complete the command BACKUP DATABASE master. Check the backup application log for detailed messages. 2026-12-01 11:23:01.82 Backup      Error: 3041, Severity: 16, State: 1. 2026-12-01 11:23:01.82 Backup      BACKUP failed to complete the command BACKUP DATABASE msdb. Check the backup application log for detailed messages. 2026-12-01 11:23:34.52 Logon       Login succeeded for user 'GROUP\BCKP_SQL_PROD'. Connection made using Integrated authentication. [CLIENT: 172.31] 2026-12-01 11:23:34.54 Logon       Login succeeded for user 'GROUP\BCKP_SQL_PROD'. Connection made using Integrated authentication. [CLIENT: 172.31]

Thanks

 

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


2 answers

Sort by: Most helpful
  1. Deepesh Dhake 1,325 Reputation points
    2026-12-03T16:30:05.4833333+00:00

    I agree with @Erland Sommarskog : SQL Server is just passing on the OS error. PrepareToFreeze with OS error 995 means this was a VSS snapshot backup that the requester side (Commvault, SQL Writer or VSS) aborted during the freeze phase. Error 3041 is a generic summary error, and since all four databases failed at the same moment, it's one aborted snapshot set. Free disk space isn't the issue.

    Check, in this order:

    1. Commvault job log: the first error just before 11:23:01 on 1 Dec should show the real cause.
    2. Event logs around 11:23: sources VSS, VolSnap and SQLWRITER.
    3. On every cluster node: run vssadmin list writers. SqlServerWriter should show Stable / No error; it's missing from your output, so please confirm. Also check that the SQLWriter service is running and that NT SERVICE\SQLWriter is sysadmin.
    4. Isolate: run a native BACKUP ... WITH COPY_ONLY, and test a diskshadow snapshot of the cluster disk without Commvault.
    5. Timing: did backups succeed after CU27 was installed on 28 Nov?

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-12-03T09:43:26.3833333+00:00

    Error 995 here means the Commvault VDI/VSS backup operation was aborted, so use the first failure timestamp to find the initiating error in the Commvault job and SQL Writer/VSS logs rather than treating SQL errors 995 and 3041 as the root cause.

    The virtual device GUID confirms that this is a third-party Virtual Device Interface (VDI) backup—the interface Commvault uses for SQL Server backups.^1^ Free cluster-disk capacity does not rule out a VDI abort, but it also does not need to be checked again at this stage.

    1. Find the initiating Commvault error

    In the Commvault Command Center or CommCell Console:

    1. Open the failed SQL backup job.
    2. Select View Logs or Job Details.
    3. Examine the first Commvault error immediately before 2026-12-01 11:23:01.82.
    4. Export the detailed job logs, including the SQL backup/VDI log.
    5. Look for cancellation, timeout, snapshot, VSS, communication, media-agent, or stream errors.

    Error 3041 only reports that BACKUP DATABASE terminated. Microsoft states that 18210/995 commonly occurs when the VDI application aborts the backup and that the backup application log at the matching timestamp is the primary place to identify the actual cause.^2^

    Because Arc, master, model, and msdb all failed within the same second, start with the shared Commvault/VDI/VSS workflow rather than assuming a capacity problem affecting only Arc.

    2. Check VSS and SQL Writer at the same timestamp

    On the active SQL cluster node, run from an elevated command prompt:

    vssadmin list writers
    

    If Commvault used VSS, SqlServerWriter must be present and show State: Stable with No error. Also verify:

    • Services → SQL Server VSS Writer is running as Local System.
    • In SQL Server, login NT SERVICE\SQLWriter exists and is in the sysadmin server role.

    These are Microsoft’s prerequisites for third-party VSS backups.^3^

    Then open Event Viewer → Windows Logs → Application and filter the 11:22–11:24 interval for:

    • SQLWRITER
    • SQLVDI
    • VSS
    • VolSnap

    Also check Windows Logs → System for corresponding storage, cluster, service-termination, or filter-driver events.

    Where supported, review:

    C:\Program Files\Microsoft SQL Server\90\Shared\SqlWriterLogger.txt
    

    SQL Writer records VSS phases such as OnPrepareBackup, OnFreeze, OnThaw, and OnBackupComplete. The Windows Application log remains the first check; SqlWriterLogger.txt supplies additional detail.^4^

    3. Isolate Commvault from SQL Server

    During a controlled window, run a native copy-only backup to a location writable by the SQL Server service account:

    BACKUP DATABASE [Arc]
    TO DISK = N'<existing-local-or-cluster-path>\Arc_isolation.bak'
    WITH COPY_ONLY, CHECKSUM, STATS = 10;
    GO
    
    RESTORE VERIFYONLY
    FROM DISK = N'<existing-local-or-cluster-path>\Arc_isolation.bak'
    WITH CHECKSUM;
    GO
    

    Interpret the result:

    • Native backup succeeds: the database engine can complete the backup; continue with Commvault VDI/VSS, proxy/media-agent, timeout, or snapshot investigation.
    • Native backup fails: use the new SQL error preceding 3041 to investigate database, storage, antivirus/filter-driver, memory, or I/O health.
    • Only VSS fails: repair the specific writer or provider reported by vssadmin and Event Viewer; do not reset all VSS components without identifying the failed component.

    The successful login for GROUP\BCKP_SQL_PROD shows authentication succeeded; it does not establish that permissions caused the abort.

    4. Apply the documented fix only if all conditions match

    If this is:

    • SQL Server 2016 or 2017,
    • running in a virtual machine,
    • using a non-component-based VM backup, and
    • SQL Writer logs show that backup mode,

    then this exact PrepareToFreeze/995/3041 pattern is a Microsoft-confirmed defect. It was fixed in SQL Server 2017 CU16 and SQL Server 2016 SP2 CU7; install a current supported CU that includes the fix after normal testing.^5^

    Do not apply that diagnosis merely from error 995. For other SQL Server versions, physical clusters, or component-based backups, collect the Commvault job logs, SQL error log, Application/System events, vssadmin output, and SQL Writer log from the same attempt and escalate them to Commvault support.


    References

    1. Backups being done by a tier - Microsoft Q&A
    2. MSSQLSERVER_18210 - SQL Server | Microsoft Learn
    3. Troubleshoot SQL Server backup and restore operations
    4. SQL Server VSS Writer logging
    5. KB4493364 - FIX: Error occurs when you back up a virtual machine with non-component based backup in SQL Server 2016 and 2017 - SQL Server | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.