Need to Unprotect/Free Uncrecognized Tape

Everything about backing up to tape

Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby rreed » Mon Aug 01, 2016 6:32 pm

Afternoon, everyone. We have some leftover tapes from our BE setup. They've been cleared for use in Veeam but two of them are marked Protected in Veeam. Protect, Mark as Free, and Remove from Catalog are all grayed out. I can't do anything w/ these tapes. Help please?
VMware 6
Veeam B&R v9
Dell DR4100's
EMC DD2200's
EMC DD620's
Dell TL2000 via PE430 (SAS)
rreed
Expert
 
Posts: 354
Liked: 72 times
Joined: Tue Jun 30, 2015 6:06 pm

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby v.Eremin » Tue Aug 02, 2016 8:18 am

Is unprotect operation available for such tapes or not? Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby rreed » Tue Aug 02, 2016 1:57 pm

Correct; (un)Protect, Mark as Free, and Remove from Catalog are all grayed out. Not an available option to use.
VMware 6
Veeam B&R v9
Dell DR4100's
EMC DD2200's
EMC DD620's
Dell TL2000 via PE430 (SAS)
rreed
Expert
 
Posts: 354
Liked: 72 times
Joined: Tue Jun 30, 2015 6:06 pm

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby v.Eremin » Tue Aug 02, 2016 2:18 pm

What happens if you execute the following PS command against one of protected tapes:

Code: Select all
Asnp VeeamPSSnapin
Get-VBRTapeMedium -Name "Name of protected tape" | Disable-VBRTapeProtection


Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby rreed » Tue Aug 02, 2016 2:22 pm

Same thing on the other one:

Code: Select all
Disable-VBRTapeProtection : Failed to unprotect a tape medium 000015L6. Medium is free
At line:1 char:38
+ Get-VBRTapeMedium -Name "000015L6" | Disable-VBRTapeProtection
+                                      ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Disable-VBRTapeProtection], Exception
    + FullyQualifiedErrorId : DisableTapeProtectionErrorId,Veeam.Backup.PowerShell.Cmdlets.DisableVBRTapeProtection
VMware 6
Veeam B&R v9
Dell DR4100's
EMC DD2200's
EMC DD620's
Dell TL2000 via PE430 (SAS)
rreed
Expert
 
Posts: 354
Liked: 72 times
Joined: Tue Jun 30, 2015 6:06 pm

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby v.Eremin » Tue Aug 02, 2016 2:25 pm

Strange behaviour, indeed. Might be a UI glitch or something.

The last thought I have is to erase a tape via PS and see whether it makes some difference:

Code: Select all
Get-VBRTapeMedium -Name "Name of your tape" | Erase-VBRTapeMedium -Long


Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby rreed » Tue Aug 02, 2016 2:32 pm

Ugh... Confirmed via library GUI these tapes have their write protect notch flipped. Well, perhaps a feature request to check for write protect before doing anything and present the (idiot) administrator w/ a warning indicating? :roll: My bad, sorry for the false alarm. Good news is write protect notch does seem to be doing its job in this case. Many thanks as always for helping out.

Code: Select all
Erase-VBRTapeMedium : Unable to erase tape medium 000015L6 because it is hardware protected.
At line:1 char:38
+ Get-VBRTapeMedium -Name "000015L6" | Erase-VBRTapeMedium -Long
+                                      ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Erase-VBRTapeMedium], Exception
    + FullyQualifiedErrorId : EraseTapeMediumErrorId,Veeam.Backup.PowerShell.Cmdlets.EraseVBRTapeMedium
VMware 6
Veeam B&R v9
Dell DR4100's
EMC DD2200's
EMC DD620's
Dell TL2000 via PE430 (SAS)
rreed
Expert
 
Posts: 354
Liked: 72 times
Joined: Tue Jun 30, 2015 6:06 pm

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby v.Eremin » Tue Aug 02, 2016 2:42 pm

Glad to hear that you were able to nail it.

As to better visual representation of hardware protected tapes, we will definitely think about that.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby rreed » Mon Aug 08, 2016 9:58 pm

After opening the WP notch, I had to power off/on the library, tape server, and VBR server before everything would come up and free these tapes. Veeam still swore they were WP'ed. I dunno, but at least I'll know next time I have a tape written in something else that has the WP notch flipped that I need to recycle into Veeam use I'll need to flip open and bounce everything.
VMware 6
Veeam B&R v9
Dell DR4100's
EMC DD2200's
EMC DD620's
Dell TL2000 via PE430 (SAS)
rreed
Expert
 
Posts: 354
Liked: 72 times
Joined: Tue Jun 30, 2015 6:06 pm

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby v.Eremin » Tue Aug 09, 2016 10:16 am

You mean even after you'd opened WP notch, and inserted the tape back into library, it still was recognized as write protected media without any option available? Have you tried to re-inventory the tape after that or re-inventory the library as a whole? Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby rreed » Tue Aug 09, 2016 1:12 pm

Correct, yes. After opening WP notch, Veeam still wouldn't recognize the tape was writable, even after re-inventory entire library. It took rebooting the library, tape server, and VBR server to finally realize the tapes were free. Was able to erase/move to Free pool and write normally after that. I dunno, but will know next time.
VMware 6
Veeam B&R v9
Dell DR4100's
EMC DD2200's
EMC DD620's
Dell TL2000 via PE430 (SAS)
rreed
Expert
 
Posts: 354
Liked: 72 times
Joined: Tue Jun 30, 2015 6:06 pm

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby Dima P. » Mon Aug 15, 2016 12:33 pm

Hi rreed,

Thanks for the heads up. Can you check if write protected tape is displayed in the VBR’s UI? I believe it should have an icon with a lock displayed in the UI.
Dima P.
Veeam Software
 
Posts: 6698
Liked: 479 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby rreed » Mon Aug 15, 2016 1:22 pm

I...think it was? Rather, yes, it was, because at one point I may have manually protected the two tapes in Veeam to make sure they didn't get accidentally overwritten until I could restore their contents at a later time. I don't know if I had WP'ed them or set them to Protect first, or for sure if I had set them to Protect at all.

I'll try to keep an eye out next time I have to load a tape to restore, I always set my full or esp. important tapes' WP notch.
VMware 6
Veeam B&R v9
Dell DR4100's
EMC DD2200's
EMC DD620's
Dell TL2000 via PE430 (SAS)
rreed
Expert
 
Posts: 354
Liked: 72 times
Joined: Tue Jun 30, 2015 6:06 pm

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby nullifi » Wed Aug 31, 2016 3:18 pm

I think I have the same or similar problem. I have two tapes that I can't do anything within Veeam, and they show the little lock icon in the lower right corner.
nullifi
Influencer
 
Posts: 23
Liked: 5 times
Joined: Wed Aug 05, 2015 1:41 pm
Full Name: Jason Taylor

Re: Need to Unprotect/Free Uncrecognized Tape

Veeam Logoby v.Eremin » Thu Sep 01, 2016 9:51 am

As mentioned above, it seems that write protection has been enabled for those tapes outside of VB&R (WP notch). Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Next

Return to Tape



Who is online

Users browsing this forum: No registered users and 1 guest