How to unlock tape library?

Everything about backing up to tape

How to unlock tape library?

Veeam Logoby pkelly_sts » Mon Aug 14, 2017 2:17 pm

Last week I was finally in a position to disable Backup Exec on our last backup server allowing the Tape library (HP MSL2024) to be owned/used exclusively by Veeam.

My plan now is to have the users insert the BExec daily tapes into the library as they expire and add them to a growing Veeam media pool instead, but the user has come along today to open the mail slot to insert the tape but the library is saying "Locked by host".

In BExec i'd just right-click the library and select "unlock" but there's no such feature in Veeam, so what's the correct unlocking process?

I tried via the web interface for the library (which would be a pain to have to keep using anyway) but it returns with:

"IR: library media removal prevented by host - Code: 46"

No tape jobs are running at all, last tape job completed >15hrs ago

I could spin up the BExec services again just to unlock the library but I'd rather know the correct/best process to follow!

Advice appreciated...
[New Sig: PLEASE get GFS tape support for incrementals!!!]
pkelly_sts
Expert
 
Posts: 511
Liked: 55 times
Joined: Thu Jun 13, 2013 10:08 am
Full Name: Paul Kelly

Re: How to unlock tape library?

Veeam Logoby pkelly_sts » Tue Aug 15, 2017 3:55 pm

No-one? Seems a small thing to have to log a case for...
[New Sig: PLEASE get GFS tape support for incrementals!!!]
pkelly_sts
Expert
 
Posts: 511
Liked: 55 times
Joined: Thu Jun 13, 2013 10:08 am
Full Name: Paul Kelly

Re: How to unlock tape library?

Veeam Logoby Dima P. » Thu Aug 17, 2017 6:44 pm

Hi Paul,

Sorry for the delay. So you are saying that BE was completely disabled and can't lock the mail slot?
Dima P.
Veeam Software
 
Posts: 6690
Liked: 478 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: How to unlock tape library?

Veeam Logoby pkelly_sts » Fri Aug 18, 2017 8:05 am

Correct. All services stopped & set to "Disabled". (We can't uninstall as we still have a history of backups that, if things come to it, we might need to restart BExec to restore, for at least the next 12 months anyway).
[New Sig: PLEASE get GFS tape support for incrementals!!!]
pkelly_sts
Expert
 
Posts: 511
Liked: 55 times
Joined: Thu Jun 13, 2013 10:08 am
Full Name: Paul Kelly

Re: How to unlock tape library?

Veeam Logoby Dima P. » Fri Aug 18, 2017 1:43 pm

Paul,

For testing purposes try to disable veeam tape service and check if the problem remains.
Dima P.
Veeam Software
 
Posts: 6690
Liked: 478 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: How to unlock tape library?

Veeam Logoby pkelly_sts » Fri Aug 18, 2017 1:58 pm

Typical - just asked a local user to verify locked status before I played with the service and the library is unlocked this time! So, either the lock status was a one-off anomaly or the unlocked status (today) is. Will try it again on Monday after a weekend full of jobs & see what it looks like... If it is locked I'll try the service-flip as you've suggested & report back.
[New Sig: PLEASE get GFS tape support for incrementals!!!]
pkelly_sts
Expert
 
Posts: 511
Liked: 55 times
Joined: Thu Jun 13, 2013 10:08 am
Full Name: Paul Kelly

Re: How to unlock tape library?

Veeam Logoby Dima P. » Tue Aug 22, 2017 12:10 pm

Paul,

Thanks! Here is a regkey to modify the rescan frequency (which is 3 mins by default) – you can change the value after confirmation that our service locks the mail slot.
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\
TapeLibrariesDiscoverPeriod
Dima P.
Veeam Software
 
Posts: 6690
Liked: 478 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 1 guest