Quantcast
Channel: Veeam Support Knowledge Base
Viewing all articles
Browse latest Browse all 4362

SureBackup Job Failure: "The resource 'VeeamBackup_' is in use."

$
0
0

SureBackup Job Failure: "The resource 'VeeamBackup_' is in use."

KB ID: 4504
Product: Veeam Backup & Replication | 11 | 12
Published: 2023-10-23
Last Modified: 2023-10-23

Challenge

A SureBackup job in a vSphere environment fails with the error:

The resource 'VeeamBackup_<hostname/FQDN/ip>' is in use.

The error as found in the SureBackup Job log%programdata%\Veeam\Backup\SureBackup_\Job.SureBackup_.log:

Error        Failed to connect backup datastore to the ESXi host "esx01.domain.tld". (Veeam.Backup.Common.CRegeneratedTraceException)
Error        Fault "ResourceInUseFault", detail "<ResourceInUseFault xmlns="urn:vim25" xsi:type="ResourceInUse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><type>Datastore</type><name>VeeamBackup_vbr.domain.tld</name></ResourceInUseFault>" (Veeam.Backup.ViSoap.ViServiceFaultException)
Error        VimApi.ResourceInUse
Error        The resource 'VeeamBackup_vbr.domain.tld' is in use. (System.Web.Services.Protocols.SoapException)

The hostd log of the ESXi host associated with the datastore, the following error may be found:

RemoveDatastore] Datastore VeeamBackup_<hostname/FQDN/ip> still has VMs registered.

Cause

This error occurs when the VeeamBackup_ datastore, created by vPower NFS, cannot be accessed or interacted with, and the vSphere environment reports "Resource In Use."

The vPower NFS datastore stays mounted to the ESXi host. Each time you start an operation that would use the datastore, Veeam Backup & Replication checks whether the vPower NFS datastore is mounted to the host. If you manually unmounted the datastore or the datastore was unmounted by other causes, Veeam Backup & Replication remounts the datastore.

 

Known Complication

Should a VM other than those Veeam creates become assigned to the VeeamBackup_ datastore, it will cause the datastore to be marked as in use. When this occurs, the error "The resource is in use" will occur when Veeam Backup & Replication sends the request to unmount the datastore, and the vSphere environment prevents the unmount action. The most commonly reported scenario is for the vSphere Cluster Service VM (vCLS VM) to become placed on the vPower NFS datastore by accident.

Solution

To resolve this issue, review the following procedure:

  1. Before you begin, ensure that no tasks of the following type are running:
    • Instant VM Recovery
    • SureBackup
    • Linux Guest File Restore (Multi-OS)
  2. Within a vSphere Client, locate the VeeamBackup_ datastore mentioned in the error.
  3. Check if any VMs are associated with that datastore.
    • Any active VMs associated with the VeeamBackup_ datastore must be migrated to a different datastore using storage vMotion.
    • If a VM named 'vCLS' is found on the datastore, use storage vMotion to migrate it to a different datastore. Then, consider configuring the vSphere Cluster Service to only use specific datastores, avoiding the VeeamBackup_ datastore.
  4. Unmount the VeeamBackup_ datastore.
    • In some rare instance you may have to open a vSphere client directly to the ESXi host(s) associated with the datastore and perform the unmount operation.
  5. Once the VeeamBackup_ datastore has been unmounted, rerun the SureBackup job.
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.

Viewing all articles
Browse latest Browse all 4362

Trending Articles