Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
adam900331
Veteran
Posts: 323
Liked: 23 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Backup to tape job don't export tapes to mailslot

Post by adam900331 »

Hy!

I have a backup to tape job and configured to export the tape to the mailslot after the job finished. The original tape library configuration has 40 slot, which was filled al slots with tape (40 pieces). Yesterday I enabled the mailslot (5 slots) on the HPE managemenet page and the Veeam realized, that the 36-40 slot set to mailslot, se these tape is greyed out. This tapes was removed from mailslot. After the backup to tape job, the export not worked, the wrote tape didn't moved to mailslot. (I can move the tape to the mailslot through the HEP management page. I got the following warning:

Code: Select all

Failed to call RPC function 'GetElementsStatuses': The indicated element does not exist. DeviceIoControl(ChangerGetElementStatus) with eAddress = '0' and number = '5', symLink = '\\.\Changer1'.. InParams: 
.
.
.
Cannot to detect I/E ports (Veeam.Backup.Common.IEPortNotDetectedException)
Should it be the problem if the Veeam database contain the information about the 36-40 slots tape information? Do I have to remove from catalog these tape to work the export to mailslot?

Thanks.
Mildur
Product Manager
Posts: 10289
Liked: 2747 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by Mildur »

Hi Adam

That sounds like a technical issue. Please provide a support case ID for this issue, as requested when you click New Topic.
Without case number, the topic will eventually be deleted by moderators.

Best regards,
Fabian

PS: support can only help if you upload logs https://www.veeam.com/kb1832
Product Management Analyst @ Veeam Software
Andreas Neufert
VP, Product Management
Posts: 7202
Liked: 1547 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by Andreas Neufert »

Can you please perform an "invetory library" this should scan for changed media slots and read out all barcodes again. Not sure if it would help here, but I would perform it before I open a case.
adam900331
Veteran
Posts: 323
Liked: 23 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by adam900331 »

Thanks, I will try it, and write the result.
Andreas Neufert
VP, Product Management
Posts: 7202
Liked: 1547 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by Andreas Neufert »

To inventory a whole tape library:

Open the Tape Infrastructure view.
Expand the Libraries node and select the library you want to inventory.
Click Inventory Library on the ribbon. Alternatively, you can right-click the tape library and select Inventory Library from the shortcut menu. Veeam Backup & Replication will perform inventory for all online tapes in the library.
adam900331
Veteran
Posts: 323
Liked: 23 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by adam900331 »

Hy!

I tried to invetory library and remove the tapes from the database which were on mailslot, but the warning still being and the tape didn't move to mailslot.

This is the logs:

Code: Select all

Error        Failed to call RPC function 'GetElementsStatuses': The indicated element does not exist. DeviceIoControl(ChangerGetElementStatus) with eAddress = '0' and number = '5', symLink = '\\.\Changer1'.. InParams: '<InputArguments><OwnerName value="SGY1200-vid" /><SymLinkName value="\\.\Changer1" /><ElementAddress value="0" /><ElementsCount value="5" /><ElementType value="3" /></InputArguments>'. 
Error        The indicated element does not exist.
Error        DeviceIoControl(ChangerGetElementStatus) with eAddress = '0' and number = '5', symLink = '\\.\Changer1'
Error        --tr:Error code: 0x0000048a
Error        --tr:Timed out waiting for device ready status on ChangerGetElementStatus operation, element 'ChangerIEPort' '0' (System.Runtime.InteropServices.COMException)
Error           at VeeamProxyClient.GenerateComException(basic_string<char\,std::char_traits<char>\,std::allocator<char> >* excMsg, Int32 errHrCode)
Error           at VeeamProxyClient.RegenerateCLRException(exception* excBase)
Error           at VeeamProxyClient.CCliProxyRpcInvoker.DoRpc(String cmdName, String inXml, String& outXml)
Error           at Veeam.Backup.ProxyProvider.CProxyRpcInvoker.Call(String methodName, CProxyInvokeInputArg inputArgs, Boolean secureCall)
Info         CTapeChangerDevice Disposing...
Info         [DeviceLock] Disposed (Changer1)
Error        Cannot to detect I/E ports (Veeam.Backup.Common.IEPortNotDetectedException)
Error           at Veeam.Tape.Core.CTapeChangerDevice.GetIEPortStates(UInt32 address, UInt32 number)
Error           at Veeam.Tape.Core.TapeMediumExporter.FindFreeIePort(CChangerHandleLock changerHandleLock)
Error           at Veeam.Tape.Core.TapeMediumExporter.ExportTapeMedium(TapeMedium tapeMedium)
Error           at Veeam.Tape.Core.TapeMediumExporter.Export()
Mildur
Product Manager
Posts: 10289
Liked: 2747 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by Mildur »

As requested, please open a case with our customer support. Without the case number this topic may be deleted. And don't post logs to the forum. It's against our forum rules:

veeam-backup-replication-f2/rules-of-po ... -t755.html

Thanks,
Fabian
Product Management Analyst @ Veeam Software
Regnor
VeeaMVP
Posts: 1031
Liked: 322 times
Joined: Jan 31, 2011 11:17 am
Full Name: Max
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by Regnor »

Have you installed the latest drivers for both the MSL and the drives?
https://support.hpe.com/connect/s/softw ... anguage=de
Also check the device manager if all devices use this driver and are recognized correctly.

And make sure "Use native SCSI commands instead of Windows driver" isn't checked.
https://helpcenter.veeam.com/docs/backu ... ml?ver=120
adam900331
Veteran
Posts: 323
Liked: 23 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by adam900331 »

Hy Regnor,

Yes, the MSL driver is installed on tape server. The tape library is shown correctly in device manager.
https://ibb.co/HhjdGr4

The "Use native SCSI commands instead of Windows driver" checkbox was unselected, now I enabled it. What is the difference if is select or not select?
Thanks.
Regnor
VeeaMVP
Posts: 1031
Liked: 322 times
Joined: Jan 31, 2011 11:17 am
Full Name: Max
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by Regnor »

And what do you have under "Medium Changer Device"? Is the MSL3040 listed there?

Normally we want to use the HPE drivers to access the tape devices, therefor the native SCSI commands option should be unchecked.
But if you have issues, you could enable the option, do a rescan/inventory and try to export a tape.
adam900331
Veteran
Posts: 323
Liked: 23 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by adam900331 »

Hy Regnor!

The export is works with enable the "Use native SCSI commands instead of Windows driver". Thanks for Your help.
Mildur
Product Manager
Posts: 10289
Liked: 2747 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by Mildur »

Hi @adam900331

I'm glad Regnor could help you out here.

Next time, you must open a support case instead of creating a case to look for help in such technical issues.
Our support team will analyze your current configuration if something is not working and then tell you which configuration is missing. The forums are not an alternative way to get support for your environment.

Best,
Fabian
Product Management Analyst @ Veeam Software
adam900331
Veteran
Posts: 323
Liked: 23 times
Joined: Dec 01, 2019 7:27 pm
Contact:

Re: Backup to tape job don't export tapes to mailslot

Post by adam900331 » 1 person likes this post

Hy Fabian!

Thanks, I will open the support case for next.
Post Reply

Who is online

Users browsing this forum: No registered users and 170 guests