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.
-
- Lurker
- Posts: 1
- Liked: never
- Joined: May 06, 2014 9:08 pm
- Full Name: Mike Grant
- Contact:
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: LTO Write Protection on tape gives error 1117
Hi, Mike,
You can put into use simple PS script. The script checks whether the medium with corresponding barcode is writeprotected or not.
Thanks.
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"}
-
- Product Manager
- Posts: 14726
- Liked: 1707 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: LTO Write Protection on tape gives error 1117
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.
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.
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 9 guests