Same error here.
Case # 02308785
Error Cannot inventory tape in Drive 1 (Server: barney.bedrock.org, Library: HP MSL6480 5.10, Drive ID: Tape2). Unknown media (possibly in use by another application)
My environment/scenario is the following.
I have 1 x Veeam Backup Server, 3 x Veeam Tape Servers.
Each Tape Server has its own attached tape library.
For simplicity I have created 1 Media Pool for each tape library. Note: None of the media pools have multiple libraries.
Each of these tape libraries/servers is in different datacenters in different countries.
I have a vsphere cluster running in each of these locations and backup the vms locally to the local veeam tape server.
If one datacenter has a disaster I would get my tapes shipped from the offsite vault at that disaster location to one of my other datacenters to restore the vms into that vsphere cluster.
I have tested this and fails.
I have LTO-6 in Location A, and LTO-5 in location B and C
I have shipped backup tapes from B to A to test a DR restore of VM from tape.
The tapes in question are known in Veeam as Offline against there source Media Pool.
I receive the tapes at location A and import them.
The tapes go into the Unrecognized Media Pool.
So I attempt to catalog them.
I get the above error message. Cannot inventory.
I dig into the logs, and find at the import phase the statement "Duplicate barcodes."
This statement is obvious as now Veeam has two tapes in its entire database with the same barcodes.
Veeam still has tapes allocated to a media pool that has an assigned tape library.
Surely, I do not delete the tapes from Media Pool for location B.
Then Import them at location A then catalog them.?
They are all managed by the same Veeam Backup Server.
I have tried to go the other way and run the restore from tape, instead of the catalogization.
But the restore wizard wants to restore from tapes, that it has allocated in the tape library for location B.
With regards to other posts above, I have delved into technicalities and am aware i am moving LTO-5 tapes into LTO-6 drives which compatibility is OK.
But found that block sizes are different between tapes used in libraries at location A and B. I dont know what bearing this also has.
Backup Infrastructure: Veeam B&R 9.5 U2 • vSphere 5.5 U3e • HP MSA 2040 [FC] (Backup Storage) • HP MSL6480 LTO-6 (Tape Storage)
(Veeam Agent for Windows protecting Veeam Proxy / Tape / Repository servers)