LTO Write Protection on tape gives error 1117

Everything about backing up to tape

LTO Write Protection on tape gives error 1117

Veeam Logoby mike.grant » Tue May 06, 2014 9:33 pm

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.
mike.grant
Lurker
 
Posts: 1
Liked: never
Joined: Tue May 06, 2014 9:08 pm
Full Name: Mike Grant

Re: LTO Write Protection on tape gives error 1117

Veeam Logoby v.Eremin » Wed May 07, 2014 9:07 am

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.
v.Eremin
Veeam Software
 
Posts: 13293
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: LTO Write Protection on tape gives error 1117

Veeam Logoby Dima P. » Mon May 12, 2014 10:23 am

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.
Dima P.
Veeam Software
 
Posts: 6261
Liked: 441 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov


Return to Tape



Who is online

Users browsing this forum: No registered users and 9 guests