- Veeam Support Knowledge Base
- HotAdd Error: Failed to allocate SCSI target ID
HotAdd Error: Failed to allocate SCSI target ID
| KB ID: | 2305 |
| Product: | Veeam Backup & Replication |
| Published: | 2017-06-27 |
| Last Modified: | 2024-07-03 |
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
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
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.
More Information
If this KB article did not resolve your issue or you need further assistance with Veeam software, please create a Veeam Support Case.
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.