Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
itpfp
Influencer
Posts: 16
Liked: 3 times
Joined: Mar 17, 2014 2:11 pm
Full Name: it
Contact:

Failed to export tape

Post by itpfp »

I run a daily tape offload job, after which tapes are being transferred offsite. At the moment the job is setup to eject and export the media and media set once the job finishes.

After each backup (using three tapes per backup currently) I get the following warning:

Code: Select all

Failed to export tape EDL068L5 Details: WinApi function 'DeviceIoControl(ChangerGetElementStatus)' failed, code '87', message 'The parameter is incorrect'
It only lists the first of three tapes in this warning.

Any idea what is going on and might I safely ignore this warning ?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Failed to export tape

Post by veremin »

Have you had a chance to open a ticket with our support team, as log investigation seems to be required? Also, sometimes simple library reboot helps to get rid of "export" errors. Thanks.
itpfp
Influencer
Posts: 16
Liked: 3 times
Joined: Mar 17, 2014 2:11 pm
Full Name: it
Contact:

Re: Failed to export tape

Post by itpfp »

v.Eremin wrote:Have you had a chance to open a ticket with our support team, as log investigation seems to be required? Also, sometimes simple library reboot helps to get rid of "export" errors. Thanks.
Thanks,

A tape library reboot didn't make the problem disappear.

Now what exactly does the export do ? In other words, what problems do I create if I simply not export it ?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Failed to export tape

Post by veremin »

Export functionality allows you to get written cassettes offsite. The described situation doesn't look expected. Thus, you'd better open a ticket with our support team and let them investigate it directly. Thanks.
itpfp
Influencer
Posts: 16
Liked: 3 times
Joined: Mar 17, 2014 2:11 pm
Full Name: it
Contact:

Re: Failed to export tape

Post by itpfp »

v.Eremin wrote:Export functionality allows you to get written cassettes offsite. The described situation doesn't look expected. Thus, you'd better open a ticket with our support team and let them investigate it directly. Thanks.
Ok, because indeed that is exactly the purpose, the three tapes in the job will be brought offsite.

Will open a support case.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Failed to export tape

Post by veremin »

Once opened, don't forget to update the topic with the ticket number, so that, we can track the case. Thanks.
itpfp
Influencer
Posts: 16
Liked: 3 times
Joined: Mar 17, 2014 2:11 pm
Full Name: it
Contact:

Re: Failed to export tape

Post by itpfp »

ticket number is 00543490

relevant section of the log:

Code: Select all

[01.04.2014 18:34:30] <01> Info     Unloading tape EDL096L5
[01.04.2014 18:34:30] <01> Info     [TapeLoader] Unloading tape EDL096L5 to Slot 25
[01.04.2014 18:35:28] <01> Info     [ChangerHandle] Moving tape medium from 'ChangerDrive0' to 'ChangerSlot24'
[01.04.2014 18:36:05] <01> Info     [Tape EDL096L5] Set location, old 'library (ab242879-f3d4-493b-b2d3-2e26fac86aa7) in TapeDrive0', new 'library (ab242879-f3d4-493b-b2d3-2e26fac86aa7) in Slot24'
[01.04.2014 18:36:05] <01> Error    WinApi function 'DeviceIoControl(ChangerGetElementStatus)' failed, code '87', message 'The parameter is incorrect' (Veeam.Tape.Core.VeeamWin32Exception)
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.ChangerHandle.GetElementsStatusImpl(UInt32 elementAddress, ELEMENT_TYPE type, Boolean volumeInfo, UInt32 number)
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.ChangerHandle.GetElementsStatus(UInt32 elementAddress, ELEMENT_TYPE type, Boolean volumeInfo, UInt32 number)
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.TapeMediumExporter.FindFreeIEPort()
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.TapeMediumExporter.GetFreeIEPort()
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.TapeMediumExporter.ExportTapeMedium(TapeMedium tapeMedium)
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.TapeMediumExporter.Export()
[01.04.2014 18:36:05] <01> Error    WinApi function 'DeviceIoControl(ChangerGetElementStatus)' failed, code '87', message 'The parameter is incorrect' (Veeam.Tape.Core.VeeamWin32Exception)
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.ChangerHandle.GetElementsStatusImpl(UInt32 elementAddress, ELEMENT_TYPE type, Boolean volumeInfo, UInt32 number)
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.ChangerHandle.GetElementsStatus(UInt32 elementAddress, ELEMENT_TYPE type, Boolean volumeInfo, UInt32 number)
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.TapeMediumExporter.FindFreeIEPort()
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.TapeMediumExporter.GetFreeIEPort()
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.TapeMediumExporter.ExportTapeMedium(TapeMedium tapeMedium)
[01.04.2014 18:36:05] <01> Error       at Veeam.Tape.Core.TapeMediumExporter.Export()
[01.04.2014 18:36:05] <01> Info     [Session] AuxData '<TapeAuxData><TapeMediums><TapeMedium Barcode="EDL095L5" Name="EDL095L5" /><TapeMedium Barcode="EDL096L5" Name="EDL096L5" /></TapeMediums></TapeAuxData>'
[01.04.2014 18:36:05] <01> Info     [JobSession] New OriginalSessionId is '2bd6b3ce-c26e-42e6-bb5b-5e58659c5327'
nitinkumar
Lurker
Posts: 1
Liked: never
Joined: Apr 30, 2014 3:40 am
Full Name: Nitin
Contact:

Re: Failed to export tape

Post by nitinkumar »

Any update on this issue.
We are experiencing the same issue on 1 of our clients tape backups.

Thanks
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Failed to export tape

Post by foggy »

Still no resolution in the mentioned case. Please contact support with this directly.
matt_778
Enthusiast
Posts: 25
Liked: 2 times
Joined: Feb 08, 2010 9:25 am
Full Name: Matt
Contact:

Re: Failed to export tape

Post by matt_778 »

Hi, we are experiencing the same issue.

Setup:
Physical Backup Server, 2012 R2
Veeam 7 patch 3
Local Storage
SAS Attached HP 1/8 Autoloader

The entire environment has been restarted

Our backup looks like:
1. Veeam Backup to disk
2. Powershell script to inventory the Tape Autoloader
3. Backup file to tape job (this completes with out error)
4. Tape Backup from job (this is the job that errors, see below)

Used tapes: Mon A, Mon B
Failed to export tape Mon A Details: WinApi function 'DeviceIoControl(ChangerGetElementStatus)' failed, code '87', message 'The parameter is incorrect'
Failed to export tape Mon B Details: WinApi function 'DeviceIoControl(ChangerGetElementStatus)' failed, code '87', message 'The parameter is incorrect'

Also needing help, have logged case: 00589008
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Failed to export tape

Post by veremin »

According to the case previously provided, the issue was caused by mailslot being disabled in tape library settings. Thanks.
matt_778
Enthusiast
Posts: 25
Liked: 2 times
Joined: Feb 08, 2010 9:25 am
Full Name: Matt
Contact:

Re: Failed to export tape

Post by matt_778 »

Yes, the "export" term seems to be linked with the Mailslot capability.

For me, I reduced my Tape job down to one, then disabled both the Mailslot (via Tape GUI) and Export (Veeam) options, but kept the eject option selected.

This mostly worked, in that it did leave one of the tapes in the drive, but I can eject it by using the keypad on the front of the tape autoloader.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Failed to export tape

Post by veremin »

Actually, the solution I was talking to about was to enable mailslot, because, otherwise, you will face the "failed to export tape" issue. But you can stick to your solution, if answers your requirements. Thanks.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 21 guests