#1 Global Leader in Data Protection & Ransomware Recovery

HotAdd Error: Failed to allocate SCSI target ID

KB ID: 2305
Product: Veeam Backup & Replication
Published: 2017-06-27
Last Modified: 2023-04-18
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.

Challenge

A VMware VM Backup job utilizing Virtual Appliance (HotAdd) Transport Mode fails when attempting to attach disks to the proxy with the error:

Error: Agent: Failed to process method {HotAdd.AttachDisks}: Failed to open VDDK disk [[DATASTORE] vm_name/disk_file.vmdk] ( is read-only mode - [true] )
Logon attempt with parameters [VC/ESX: [server_name];Port: 443;Login: [domain\user];VMX Spec: [moref=vm-###];Snapshot mor: [snapshot-####];Transports: [hotadd];Read Only: [true]] failed because of the following errors: Failed to allocate SCSI target ID..

Cause

While there are mutliple reasons hotadd may fail, this article is specifically regarding a situation where there are insufficient SCSI nodes available on the VMware Backup Proxy virtual machine that is utilzing Virtual Appliance mode.
 

Solution

VMware Virtual Machines are limited to 15 disks per SCSI controller. If the VMware Backup Proxy has more tasks assigned to it than there are available SCSI nodes, the hotadd process will fail to attach the disks.

Consider the following options:

  • Review the Proxy VM's configuration when no tasks are assigned to it and ensure that there are no stuck hotadded disks.
  • Identify how many SCSI controllers the Proxy VM has and how many disks that VM has attached when no tasks are being processed. Subtract those disks from the possible SCSI node count and adjust the number of tasks assigned to the VMware Backup Proxy in Veeam Backup & Replication.

    For example, if a Proxy VM was built with a single SCSI controller, the maximum number of disks that can be attached is 15. If that VM has a single disk for its OS, that proxy should have no more than 14 tasks assigned.

    (# of SCSI Controllers * 15) - # of Disks Belonging to the Proxy = Maximum Hotaddable Disks

    (1 * 15) - 1 = 14
  • Add more SCSI controllers to align with the number of tasks assigned to the VMware Backup Proxy.
  • Reduce the number of tasks and instead build additional proxy VMs to share the load.
  • Enable “Failover to network mode if primary transport modes fail or are unavailable” if it is disabled. This will allow the backup job to complete when/if Hotadd fails. The performance will be reduced, but the job will function.
     
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 hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
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 hCaptcha and its Privacy Policy and Terms of Service apply except as noted in our Privacy Policy.
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.