Tape library and drives are shown as separate devices

KB ID: 1842
Product: Veeam Backup & Replication
Version: 8.x, 9.x, 9.5.x
Published:
Last Modified: 2018-09-12

Challenge

Tape library and drives are shown as separate devices in console or loading tape into TapeDrive0 moves the tape into TapeDrive1 etc.
User-added image
User-added image


 

Cause

The issue could be caused by tape library not reporting tape drive serial number or if there is an empty slot for the drive within the library.

Solution

It is possible to manually map the drive(s) to tape library using the registry value:
Key: HKLM -> Software -> Veeam -> Veeam Backup and Replication
Name: TapeDevices
Type: REG_MULTI_SZ
Data:
TapeServer name (as shown in console)
Changer0=Tape0:ElementAddress

1. To get the proper data to be added into registry entry value we need to get the dump of Veeam Tape Remote Access Service:
For this please open on tape server Powershell as administrator and run there these commands:
>cd "C:\Program Files (x86)\Veeam\Backup Tape"
>.\VeeamTapeSvc.exe -dump
 
There will be created a file "dumpinformation.xml" in folder "C:\Program Files (x86)\Veeam\Backup Tape".
2. This is a basic XML tape service collects with all information about all tape devices. Open it with any XML editor (easiest way would be opening it in IE)
3. Navigate to the end of the XML and you will see a picture similar to this one:

 User-added image

4. The only thing left is to match tape DeviceName (Tape0, Tape1 etc.) with their ElementAddress values within the library.
So in this example scenario, the correct value for the registry entry will be the following (assuming tape server is shown in the console like this)

User-added image

Key: HKLM -> Software -> Veeam -> Veeam Backup and Replication
Name: TapeDevices
Type: REG_MULTI_SZ
Data:
VeeamTapeServer
Changer0=Tape1:0,Tape2:1
 
 

Rate the quality of this KB article: 
4.1 out of 5 based on 20 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Request new content

Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Orphus system