snmdla-tm
2 Iron

fast inventory oddity after update: "The media data base has no volume with barcode ..."

After updating to version 8.2.3.3 of Networker, fast inventory on our jukeboxes (nsrjb -II ...) will only perform a fast inventory on tapes that have not changed position, and will report an error for all tapes that have been changed, e.g.

09/12/16 09:20:30.866477 Info: The media data base has no volume with barcode = `XY0247L6'.

09/12/16 09:20:30.866501 Info: Fast Inventory cannot identify volume in slot `23'.

...

09/12/16 09:20:30.867000 Error: Fast Inventory fail to identify some or all of the selected slots.

The message "The media data base has no volume with barcode ..." is definitely wrong, as there always is a volume with that barcode in the media database.

For these tapes / slots we then have to perform a slow inventory.

EMC support mainaints that we should be fine with that, but I disagree, and we do not want to spend hours for inventorying large jukeboxes

I suspect the change in the ressources database to SQLite might play a role in this:

"In NetWorker 8.2 SP3, SQLite replaces WiSS as the media database."

Did anybody see similar effects? Who could offer a solution?

Kind regards, Tom

0 Kudos
16 Replies
ble1
6 Indium

Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

I haven't seen it, but then again I do not move tapes around the lib and I started with 8.2.3.4 (now using 8.2.3.6).  What I would suggest is:

- nsrjb -HvE

- if all volumes in lib are known to NW, run now fast inventory

snmdla-tm
2 Iron

Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

Hrvoje, thanks for replying.


It's not really about moving around tapes in the jukebox, it's mainly about putting fresh tapes into it.


"nsrjb -HvE" did not help, sorry.

Kind regards, Thomas

0 Kudos
Highlighted
bingo.1
4 Germanium

Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

So far we have not seen that problem. However, I would proceed as follows:

  - verify the AC contents as follows:

      nsradmin

      . type: nsr jukebox

      show volumes

      p

  - compare that output with the info from the media db:

      mminfo -q "barcode=<volume>" -r "volume,barcode"

If the message is true then the info from the media db must have disappeared somehow.

snmdla-tm
2 Iron

Re: Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

Bingo,

when I do the "p" in nsradmin, I get "" for all troublesome volumes.

The output of mminfo is also very confusing, e.g.

nsrhost:~ # mminfo -q "barcode=XY0336L3" -r "volume,barcode"

6095:mminfo: no matches found for the query

nsrhost:~ # mminfo -q "volume=XY0336L3" -r "volume,barcode"

volume        barcode

XY0336L3      XY0336L3

nsrhost:~ #

Kind regards, Tom

0 Kudos
bingo.1
4 Germanium

Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

With the nsradmin command you verify what the jukebox resource knows about the volumes.

Obviously, it does not know the troublesome ones.

mminfo uses the media index -

If you query for the volume it knows volume and barcode.

But if you query for the barcode, there is no match.

This is weird. And it is in contradiction with respect to your first statement.

Sorry, but at the moment I am rather clueless. You should 'cross-check' the 2 databases but honestly, I do not know how to do this except running a full inventory of the jukebox. This is bad. Even worse, you do not know whether this will solve the issue for the future.

You better ask EMC whether they have an appropriate tool.

0 Kudos
snmdla-tm
2 Iron

Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

EMC support recommends to do a full inventory in such a situation!

0 Kudos
bingo.1
4 Germanium

Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

Maybe this is somehow related/connected to ETA 490166 (KB article 000490166) which we received today.

0 Kudos
snmdla-tm
2 Iron

Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

No, I don't think that our issue is related to savesets changing to E (expired), it is an issue about the media database.

0 Kudos
ble1
6 Indium

Re: fast inventory oddity after update: "The media data base has no volume with barcode ..."

And running full inventory results in...?  The barcode thingy is a bit strange, but it could be that lib didn't provide it at some point (can be verified with sjirdtag command) and this may in some rare instances cause issues, but not sure if this is your case.

0 Kudos