Unable to remove protection from tape

Everything about backing up to tape

Unable to remove protection from tape

Veeam Logoby sullivas » Thu Mar 26, 2015 4:05 pm

Yesterday I "pre-loaded" a tape in my rotation because I was not going to be around later when I normally load the tapes, but I wanted to prevent that tape from being written to until the prior tape in the rotation had been grabbed first (i.e., I wanted "Daily 1" to go before "Daily 2") so I hit the Protection button on the "Daily 2" tape. Now today I want to remove the protection from "Daily 2" so it can be written to and the option to do this is grayed out. I thought maybe I could force the protection removal with PowerShell but I'm getting this error:

Code: Select all
Disable-VBRTapeProtection : Failed to unprotect a tape medium KXJ779L4. Medium
is free
At line:1 char:63
+ Get-VBRTapeMedium -Name "KXJ779L4" | Disable-VBRTapeProtection <<<<
    + CategoryInfo          : InvalidOperation: (:) [Disable-VBRTapeProtection
   ], Exception
    + FullyQualifiedErrorId : DisableTapeProtectionErrorId,Veeam.Backup.PowerS
   hell.Cmdlets.DisableVBRTapeProtection


The only options available are Inventory, Catalog, and Properties. What am I missing that will let me remove the protection from this tape?
sullivas
Novice
 
Posts: 9
Liked: 1 time
Joined: Thu Nov 13, 2014 7:14 pm

Re: Unable to remove protection from tape

Veeam Logoby v.Eremin » Thu Mar 26, 2015 4:55 pm

Can you tell us how you've enabled protection on a free medium? I'm wondering because neither GUI nor PowerShell allows you to do so.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Unable to remove protection from tape

Veeam Logoby sullivas » Thu Mar 26, 2015 5:09 pm

Protection was enabled through the GUI, I can tell you that as I rarely use PowerShell. I do not recall if the tape was marked as free before or after I applied the protection, however. Is it possible I did something out of order in applying the protection? Any way to get mark it as unprotected without contacting support for a database edit?
sullivas
Novice
 
Posts: 9
Liked: 1 time
Joined: Thu Nov 13, 2014 7:14 pm

Re: Unable to remove protection from tape

Veeam Logoby Dima P. » Thu Mar 26, 2015 6:34 pm

sullivas,
Please open a support case – it seems something weird is happening with this protected tape. Don’t forget to post the case ID to this thread so we could track your issue. Thanks in advance.
Dima P.
Veeam Software
 
Posts: 6237
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Unable to remove protection from tape

Veeam Logoby fraack » Thu Dec 03, 2015 3:15 pm

I had the same issue. All Options for my protected tape were greyed out. I tried it with the following PS script:

Code: Select all
get-vbrtapemedium -name 000104L5| Disable-VBRTapeProtection


That works for me.
fraack
Certified Trainer
 
Posts: 41
Liked: 5 times
Joined: Wed Sep 24, 2014 7:44 am
Full Name: Florian Raack

Re: Unable to remove protection from tape

Veeam Logoby v.Eremin » Thu Dec 03, 2015 4:59 pm

If the issue is reproducible, may I ask you to open a ticket with our support team and let them analyze that directly? Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to Tape



Who is online

Users browsing this forum: No registered users and 8 guests