#1 Global Leader in Data Protection & Ransomware Recovery

Scale-Out Backup Repository Offload task fails with "There is not enough space on the disk"

KB ID: 4283
Product: Veeam Backup & Replication | 10 | 11 | 12 | 12.1
Published: 2022-03-02
Last Modified: 2023-05-09
mailbox
Get weekly article updates
By subscribing, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.

Cheers for trusting us with the spot in your mailbox!

Now you’re less likely to miss what’s been brewing in our knowledge base with this weekly digest

error icon

Oops! Something went wrong.

Please try again later.

Article Applicability
This KB Article is specific to an issue where a SOBR Offload task fails with an error reporting that "There is not enough space on the disk" and the path specified in the error contains 'VeeamBackupTemp'.

Challenge

Scale-Out Backup Repository's Offload task fails with errors like:
There is not enough space on the disk.
Failed to write data to the file
[C:\Windows\TEMP\VeeamBackupTemp\...].
There is not enough space on the disk. 
Unable to reset file size: trunk operation has failed.
File: [C:\Windows\TEMP\VeeamBackupTemp\...].
Screenshot of not enough free space error

Cause

This error occurs when the drive of the gateway server being used to offload data to object storage has insufficient space.

Solution

  • The gateway server for an Object Storage Repository is assigned on the Account tab of the Object Storage Repository creation wizard[1]. If a gateway server is not explicitly assigned, Veeam Backup & Replication will assign the role of gateway server to one of the Performance Tier repository servers.
  • The default cache folder used on the gateway server for Offload tasks:
    • Windows Gateway: %temp%\VeeamBackupTemp
      As the service on the gateway runs under the System account, %temp% is C:\Windows\Temp\
    • Linux Gateway: /root/tmp/VeeamBackupTemp
    • Hardened Linux Gateway:  /home/%user_name%/tmp/
      Where %user_name% is the account provided as part of the one-time credentials.
  • The amount of space required is based on the amount of data being offloaded during a given offload session's sub-task—approximately 2GB per 1TB of data actively being offloaded at a given time. If multiple offload sub-tasks occur during a session, only the active sub-tasks will require cache space.

Option 1: Increase free space on Gateway Server

  • If a specific server has been selected to be the gateway server[1] for the Object Storage Repository, review the free space of that machine and ensure that the default location has sufficient free space. 
  • If no specific server has been selected to be the gateway server, review each of the Windows\Linux repository servers acting as Performance Tier extents of the Scale-Out Repository and ensure sufficient free space is available. 

 

Option 2: Use a different Gateway Server

Edit the Object Storage Repository assigned as the Capacity Tier for the Scale-Out Backup Repository and assign a gateway server[1] with sufficient free space.

 

Option 3: Change VeeamBackupTemp location on Gateway Server

As this option requires changing settings on the gateway server itself, it is most useful when a specific server is acting as the gateway server. If no specific gateway server is assigned for the Object Storage Repository, every performance tier repository's server would have to be modified.

Windows Gateway Server:

Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
Value Name: CustomTempDirPath
Value Type: String Value (REG_SZ)
Value Data: <path>
Default Value:  %temp%

PowerShell: (Change <path> before executing)

New-ItemProperty -path 'HKLM:\SOFTWARE\Veeam\Veeam Backup and Replication\' -name CustomTempDirPath -PropertyType String -Value "<path>"
Linux Gateway Server

Configuration file: /etc/VeeamAgentConfig
Entry: CustomTempDirPath = <path>

Bash: (Change <path> before executing as root)

echo 'CustomTempDirPath = <path>' >> /etc/VeeamAgentConfig
Linux example:
Linux Example
Example Path Only
To submit feedback regarding this article, please click this link: Send Article Feedback
To report a typo on this page, highlight the typo with your mouse and press CTRL + Enter.

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

Oops! Something went wrong.

Please try again later.

You have selected too large block!

Please try select less.

KB Feedback/Suggestion

This form is only for KB Feedback/Suggestions, if you need help with the software open a support case

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Notice.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Verify your email to continue your product download
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend
Thank you!

Thank you!

Your feedback has been received and will be reviewed.

error icon

Oops! Something went wrong.

Please try again later.