Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
mike.grant
Lurker
Posts: 1
Liked: never
Joined: May 06, 2014 9:08 pm
Full Name: Mike Grant
Contact:

LTO Write Protection on tape gives error 1117

Post by mike.grant »

If someone has helpfully pushed the write protect tab across on an LTO-5 Tape if you try and erase it you get:
WinApi Function 'Erase Tape' failed code 1117 message "The request could not be performed because of an I/O device error"

There is no feedback to say a tape has been write protected.
When you try and do an erase on it you get the above message.

You can check in Device manager, when a tape is loaded you get a tab with information about the tape.

This is under 2012 R2 Server Veeam 7.0.0.839 HP LTO-5 in Tandberg Storage Loader.
veremin
Product Manager
Posts: 20283
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: LTO Write Protection on tape gives error 1117

Post by veremin »

Hi, Mike,

You can put into use simple PS script. The script checks whether the medium with corresponding barcode is writeprotected or not.

Code: Select all

$Barcode = Read-Host "Input medium barcode"
$Medium = Get-VBRTapeMedium | where {$_.Barcode -eq $Barcode}
if ($Medium.IsWriteProtected -eq $True) {Write-Host "The tape" $Medium.Barcode "is WriteProtected"}
else {Write-Host "The tape" $Medium.Barcode "isn't WriteProtected"}
Thanks.
Dima P.
Product Manager
Posts: 14415
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: LTO Write Protection on tape gives error 1117

Post by Dima P. »

Mike,
Just wanted to add a quick note - write protected tape media will be handled correctly, from the UI perspective, in the next major release. We are planning to add specific filter and icons under tape infrastructure, so all recognized protected tape media would be easily recognized.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 17 guests