Discussions specific to tape backups
Post Reply
pkelly_sts
Expert
Posts: 562
Liked: 61 times
Joined: Jun 13, 2013 10:08 am
Full Name: Paul Kelly
Contact:

How to unlock tape library?

Post by pkelly_sts » 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: 562
Liked: 61 times
Joined: Jun 13, 2013 10:08 am
Full Name: Paul Kelly
Contact:

Re: How to unlock tape library?

Post by pkelly_sts » 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!!!]

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

Re: How to unlock tape library?

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

pkelly_sts
Expert
Posts: 562
Liked: 61 times
Joined: Jun 13, 2013 10:08 am
Full Name: Paul Kelly
Contact:

Re: How to unlock tape library?

Post by pkelly_sts » 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!!!]

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

Re: How to unlock tape library?

Post by Dima P. » Aug 18, 2017 1:43 pm

Paul,

For testing purposes try to disable veeam tape service and check if the problem remains.

pkelly_sts
Expert
Posts: 562
Liked: 61 times
Joined: Jun 13, 2013 10:08 am
Full Name: Paul Kelly
Contact:

Re: How to unlock tape library?

Post by pkelly_sts » 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!!!]

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

Re: How to unlock tape library?

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

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests