vCenter Server Scheduled Backup job fails with "No space left on device"
search cancel

vCenter Server Scheduled Backup job fails with "No space left on device"

book

Article ID: 455065

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • The "Backup job status" alarm is triggered.
  • The following error is logged in backup.log:
    YYYY-MM-DDTHH:MM:SS.MS [********-******-********] [MainProcess:PID-*****] [BackupManager::main:BackupManager.py:***] INFO: Starting backup job...
    YYYY-MM-DDTHH:MM:SS.MS [********-******-********] [MainProcess:PID-*****] [BackupManager::main:BackupManager.py:***] INFO: Scheduled Backup triggerd

    YYYY-MM-DDTHH:MM:SS.MS [********-******-********] [ConfigFilesBackup:PID-*****] [ConfigFiles::BackupConfigFiles:ConfigFiles.py:***] ERROR: Encountered an error during ConfigFiles backup.
    Traceback (most recent call last):  
    File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/components/ConfigFiles.py", line 301, in BackupConfigFiles    
    tarExclFile.flush()  
    File "/usr/lib/python3.7/tempfile.py", line 481, in func_wrapper    
    return func(*args, **kwargs)
    OSError: [Errno 28] No space left on device

    YYYY-MM-DDTHH:MM:SS.MS [********-******-********] [MainProcess:PID-*****] [Proc::VerifyProcStatusAndGetArchive:Proc.py:***] ERROR: stderr:[Errno 28] No space left on device

  • In df.txt (or the output of the df -h command), the /storage/log partition shows 100% disk usage:
    Filesystem                                  1K-blocks     Used Available Use% Mounted on
    /dev/mapper/log_vg-log                       ******** ********         0 100% /storage/log

Environment

vCenter Server 7.0U3

Cause

This issue is caused by disk space exhaustion (100% usage) on the /storage/log partition of the vCenter Server.

Resolution

Refer to vCenter log disk exhaustion or /storage/log full to free up space or resolve disk exhaustion on the /storage/log partition of the vCenter Server.

Additional Information

vCenter log disk exhaustion or /storage/log full
vCenter Server の Scheduled Backup ジョブが "No space left on device" エラーで失敗する