Skip to main content

How can we help you?

Druva Documentation

App aware T-Log backup fails with Exit code VMware21

 

Problem description


App-aware T-Log backups fail with exit code VMware21. T-Logs are copied to the system drive ProgramData%\Phoenix\VMWare\SQL\TlLogs during backups. If the system drive has less than 1 GB free space, the backups fail.

Cause

Free space of less than 1 GB on the system drive can cause the backups to fail.

Traceback

  1. Follow the instructions in the Logs article to obtain the job logs.
  2. Extract the logs and access the Phoenix<YYYYMMDD>_<timestamp>.log to determine if it has the following traceback.

    [2020-03-18 10:41:18,319] [ERROR] Error <class 'inSyncLib.inSyncError.SyncError'>:Failed to get TL backup status. error code: 4026  error msg: App-Aware processing failed since there is not enough space on the system volume <1 GB. Please ensure there is enough free space for app-aware processing to succeed (#100010015) (Error Code : VMWARE21). Traceback -Traceback (most recent call last):

      File "agents/vmware/appaware_sql_tl_backup_restore.py", line 399, in upload_trans_log_file

    SyncError: Failed to get TL backup status. error code: 4026  error msg: App-Aware processing failed since there is not enough space on the system volume <1 GB. Please ensure there is enough free space for app-aware processing to succeed (#100010015) (Error Code : VMWARE21)

  3. Access the Phoenix-SQL-<YYYYMMDD>_<timestamp>_sqlguestplugin.log to check the complete pattern of disk usage. The log shows the amount of free disk space at the start of a backup, how it gradually decreases as the backup progresses and as the free space on the system drive reduces to less than 1 GB, the backup fails.

    [2020-03-18 10:22:52,903] [INFO] Creating and opening virtual device for db[<DBname>] backup

    [2020-03-18 10:22:52,997] [DEBUG] free system drive size: 40419921920

    .

    .

    [2020-03-18 10:41:27,279] [DEBUG] free system drive size: 1074597888

    [2020-03-18 10:41:27,303] [DEBUG] free system drive size: 1073549312

    [2020-03-18 10:41:27,305] [ERROR] App-Aware processing failed since there is not enough space on the system volume <1 GB. Please ensure there is enough free space for app-aware processing to succeed

    [2020-03-18 10:41:27,305] [ERROR] Low System Drive space

    Note: The free system drive size above is in bytes

Resolution

  1. Determine the total size of all .LDF files for each of the user databases on the server, and free up the exact amount of space on the system drive. Initiate the backup after this.
  2. Expand the system drive to match the collective size of all .LDF files on the server.
  3. Ask your database administrator to shrink log files.