Discussions specific to tape backups
rreed
Expert
Posts: 354
Liked: 72 times
Joined: Jun 30, 2015 6:06 pm
Contact:

Need to Unprotect/Free Uncrecognized Tape

Post by rreed » 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)

v.Eremin
Veeam Software
Posts: 15210
Liked: 1146 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by v.Eremin » Aug 02, 2016 8:18 am

Is unprotect operation available for such tapes or not? Thanks.

rreed
Expert
Posts: 354
Liked: 72 times
Joined: Jun 30, 2015 6:06 pm
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by rreed » 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)

v.Eremin
Veeam Software
Posts: 15210
Liked: 1146 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by v.Eremin » 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.

rreed
Expert
Posts: 354
Liked: 72 times
Joined: Jun 30, 2015 6:06 pm
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by rreed » 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)

v.Eremin
Veeam Software
Posts: 15210
Liked: 1146 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by v.Eremin » 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.

rreed
Expert
Posts: 354
Liked: 72 times
Joined: Jun 30, 2015 6:06 pm
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by rreed » 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)

v.Eremin
Veeam Software
Posts: 15210
Liked: 1146 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by v.Eremin » 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.

rreed
Expert
Posts: 354
Liked: 72 times
Joined: Jun 30, 2015 6:06 pm
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by rreed » 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)

v.Eremin
Veeam Software
Posts: 15210
Liked: 1146 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by v.Eremin » 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.

rreed
Expert
Posts: 354
Liked: 72 times
Joined: Jun 30, 2015 6:06 pm
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by rreed » 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)

Dima P.
Veeam Software
Posts: 8759
Liked: 647 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by Dima P. » 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.

rreed
Expert
Posts: 354
Liked: 72 times
Joined: Jun 30, 2015 6:06 pm
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by rreed » 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)

nullifi
Influencer
Posts: 23
Liked: 5 times
Joined: Aug 05, 2015 1:41 pm
Full Name: Jason Taylor
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by nullifi » 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.

v.Eremin
Veeam Software
Posts: 15210
Liked: 1146 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Need to Unprotect/Free Uncrecognized Tape

Post by v.Eremin » 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests