Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
o_jay
Influencer
Posts: 12
Liked: never
Joined: Dec 27, 2017 11:33 pm
Contact:

Tape library state is inconsistent

Post by o_jay »

When I inventory my tapes after changing them out I am some point start getting the following message in the log / job status window looping over and over again:

"Tape library is inconsistent: performing rescan"

This just keep looping endlessly with each line having a 4 second duration. I can see a Tape libraries discovery task that keeps starting too.

I end up having to crash out (reboot) the server to recover.

Edit: To clarify it has a problem when a tape with a barcode is removed and replaced by a tape in that same slot with no barcode. Seems like a bug and it can't handle it!
Dima P.
Product Manager
Posts: 14716
Liked: 1702 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Tape library state is inconsistent

Post by Dima P. »

Hello o_jay,

Have you tried to cancel the inventory and perform rescan of the entire library instead? Thanks.
o_jay
Influencer
Posts: 12
Liked: never
Joined: Dec 27, 2017 11:33 pm
Contact:

Re: Tape library state is inconsistent

Post by o_jay »

Yes. Same result.
o_jay
Influencer
Posts: 12
Liked: never
Joined: Dec 27, 2017 11:33 pm
Contact:

Re: Tape library state is inconsistent

Post by o_jay »

I have opened a case with support. Also, and may be related, Any attempt now to start the file to tape job again begins building the file tree and then a while later 6 tempdb files on the SQL server beging to start growing rapidly, all the same size and consume all the disk space on the SQL server volume (this is a 100GB volume and running SQL 2016 Standard.
Dima P.
Product Manager
Posts: 14716
Liked: 1702 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Tape library state is inconsistent

Post by Dima P. »

If possible, please share the case ID for future reference. Thank you in advance.
o_jay
Influencer
Posts: 12
Liked: never
Joined: Dec 27, 2017 11:33 pm
Contact:

Re: Tape library state is inconsistent

Post by o_jay »

Case #02628433

Thanks.
lyapkost
Expert
Posts: 221
Liked: 48 times
Joined: Nov 27, 2015 2:26 pm
Full Name: Konstantin
Location: Saint Petersburg
Contact:

Re: Tape library state is inconsistent

Post by lyapkost »

Hi o_jay. Thanks for reporting. The issue is known and the private fix is available. Please ask your support engineer to refer to the case #02530713 to obtain the fix.
o_jay
Influencer
Posts: 12
Liked: never
Joined: Dec 27, 2017 11:33 pm
Contact:

Re: Tape library state is inconsistent

Post by o_jay »

Thanks lyapkost I will do that. I was going to just try using all barcodes for everything which should also resolve the issue but I might get the fix anyway.

Just to update too on the other issue with the fast growing multiple tempdb file issues on my SQL server when running my large File to Tape job. It seems the job was corrupted somehow. I created another job with the exact same settings and the new job ran fine, no tempdb file use/growth at all so that is a good result. So all in all both my issues are resolved.
lyapkost
Expert
Posts: 221
Liked: 48 times
Joined: Nov 27, 2015 2:26 pm
Full Name: Konstantin
Location: Saint Petersburg
Contact:

Re: Tape library state is inconsistent

Post by lyapkost »

We asked your support engineer to apply fixes for both issues (the one with file to tape job increases file enumeration speed in incremental job runs and prevents tempdb growth). Thank you.
o_jay
Influencer
Posts: 12
Liked: never
Joined: Dec 27, 2017 11:33 pm
Contact:

Re: Tape library state is inconsistent

Post by o_jay »

Thanks. Good to hear these are known issues and there are fixes. It is however quite disappointing that my support engineer did not know about these!
lyapkost
Expert
Posts: 221
Liked: 48 times
Joined: Nov 27, 2015 2:26 pm
Full Name: Konstantin
Location: Saint Petersburg
Contact:

Re: Tape library state is inconsistent

Post by lyapkost »

That's because these two are quite fresh, discovered and fixed in mid-february.
milonet
Novice
Posts: 9
Liked: never
Joined: May 22, 2018 12:50 pm
Full Name: Marco Milone
Contact:

Re: Tape library state is inconsistent

Post by milonet »

Hi,
are the fixes included in 9.5 Update 3a (9.5.0.1922) ?
thank you and best regards
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Tape library state is inconsistent

Post by veremin »

Based on the hot fix creation time, yep, they should be. Thanks.
FFulleringer
Novice
Posts: 8
Liked: 2 times
Joined: Mar 21, 2018 2:32 pm
Full Name: Cosme Fulanito
Contact:

Re: Tape library state is inconsistent

Post by FFulleringer » 1 person likes this post

Hello OP! could you please tell me what was the fix? I'm having the same Issue (tape library inconsisten, perform rescan forever and ever and ever).

How did the engineers fix it?
Dima P.
Product Manager
Posts: 14716
Liked: 1702 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Tape library state is inconsistent

Post by Dima P. »

Hello Cosme,

The original issue was addressed long ago and should be incorporated to all latest version of Veeam B&R. Can you please clarify what version are you using? Thanks!
FFulleringer
Novice
Posts: 8
Liked: 2 times
Joined: Mar 21, 2018 2:32 pm
Full Name: Cosme Fulanito
Contact:

Re: Tape library state is inconsistent

Post by FFulleringer » 1 person likes this post

Hello everyone. I'm facing this issue with any operation I wanna do with my Tape Library. I followed this KB https://www.veeam.com/kb1842 to fix an issue where the Drive and the Library were shown in separate ways on the Tape Infrastructure. Ever since, library status is inconsistent. Rebooted the library with no success. Any ideas?
Thanks a lot!
Dima P.
Product Manager
Posts: 14716
Liked: 1702 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Tape library state is inconsistent

Post by Dima P. »

FFulleringer,

Please raise a support case and share the case ID with us. Thank you!
vaniglia
Lurker
Posts: 2
Liked: 1 time
Joined: Aug 13, 2022 7:46 pm
Full Name: Sofi Di Gaiottino
Contact:

Re: Tape library state is inconsistent

Post by vaniglia »

I am in the same situation, the library works fine but veeam is not able to do a scan or inventorying.
It happened after making a physical change to fix a problem but now it doesn't even do inventorying.
if i made an error, just delete my post :|
RomanK
Veeam Software
Posts: 745
Liked: 191 times
Joined: Nov 01, 2016 11:26 am
Contact:

Re: Tape library state is inconsistent

Post by RomanK » 1 person likes this post

Hello Sofi,

The recommendation would be the same as above, please open a support case and provide a case ID in this thread so we could collect all the additional details and investigate it accordingly.

Thanks
vaniglia
Lurker
Posts: 2
Liked: 1 time
Joined: Aug 13, 2022 7:46 pm
Full Name: Sofi Di Gaiottino
Contact:

Re: Tape library state is inconsistent

Post by vaniglia » 1 person likes this post

fixed the issue by enabling a setting, but after a wrong patch update, it got broken again. :(
anyway, thanks a lot
if i made an error, just delete my post :|
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests