UNSOLVED

MisterP1

updated

18 years ago

M

MisterP1

12 Posts

0

1522

February 2nd, 2009 07:00

Fast inventory malfunctions after upgrade from 6.2 to 7.4.4 (Windows)

Hi all,

After performing an in-place upgrade from NW 6.2 to 7.4.4, the tapes in our HP MSL5000 library (25 SDLTs) can no longer be 'fast' inventoried. Though the 'Inventory operation' is being reported 'succeeded', the volumes nor barcodes are updated. After running a nsrjb -I from the commandline, the barcodes are updated, but the volume labels are not. The only way to resolve this, is to click the option 'Reinitialize library state before inventory' when starting the inventory. I've checked the library config, and the option 'bar code reader' as well as 'Match bar code labels' is selected.
Any ideas anyone ?

Thanks,
Peter
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    588

    0

    Posted February 2nd, 2009 12:00

    Inventory has changed (fast one) in 7.3.x and later. You use different switches now for that. Unless your library reported change which has been passed to library managing daemon fast inventory won't have anything to fast inventory either.

    You may wish to explain what change did you do so that fast inventory is required (I guess tape exchanged) and how it was done. You may add nsrjb output before and after the change to make things more transparent to us.
  • MisterP1

    12 Posts

    588

    0

    Posted February 3rd, 2009 07:00

    So I've read in the release notes. From NW 7.4.4 (?) onwards, the option to 'Fast' inventory has been suppressed. By default, all inventory processes are being handled the 'Fast' way, unless you specifically tick the 'Force load and verify labels' box. Furthermore, I've allways performed inventories from the GUI, not from the CLI, so no switches are involved.

    Actions involved are pretty straightforward :
    1. Withdraw the two trays, containing all 25 tapes, when the library is idle.
    2. Fill up both trays with other (recycled) tapes.
    3. Insert the trays in the library, causing the library to read all barcode labels.
    4. Perform a 'Fast' inventory from the GUI, updating the list of tapes in the library based on the transferred barcode labels. (Rightclick the library, select inventory, enter 1-25 in the slot list, click OK)

    The inventory operation appears in the library monitor, immediately showing the satus 'Succeeded'. Library contents in Networker however is not updated (as I would expect it to).

    Because of all this, I reverted to the CLI for perform an inventory, using nsrjb.

    I will post an output of nsrjb as soon as possible, if you think this will help.

    Thanks a lot,
    Peter
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    588

    0

    Posted February 3rd, 2009 07:00

    Here is the deal. When you put those 2 trays of new (old) set of tapes inside library should change from need attention to ready state. You can see that in header of nsrjb output or in log. Most libraries will report the change back to NW so fast inventory will pick up changes. If if library doesn't do that then you're out of luck. Of course, you must wait for ready state to start inventory. This is why nsrjb output would be good to have here.
  • MisterP1

    12 Posts

    588

    0

    Posted February 10th, 2009 06:00

    When the trays are replaced, the library indeed reports the
    "Media info: Jukebox 'HP-MSL5000' Hardware status of jukebox 'HP-MSL5000' changed from 'detected hardware change' to 'Ready'" message in the log.
    The changes in barcode seem to be automatically reported back to NW. In the device overview (devices - libraries - HP-MSL5000), I now see the correct barcode's, but the corresponding volume names all read .
    Requesting a full library inventory (rightclick library, click Inventory, fill out '1-25' in the slot list), actually starts the loading and label-verifying of each tape.
    Maybe I'm a bit in the dark here, but with the 'Match bar code labels' option set in the library config, shouldn't NW 'assume' the volume names, based on the bar code label ?
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    588

    0

    Posted February 10th, 2009 07:00

    And if you do nsrjb -IIv - what does it do then?
  • Hari5

    443 Posts

    588

    0

    Posted February 10th, 2009 23:00

    What I have observed is that when you put a tape into the tape library for the first time after doing a recreation of the jukebox resource, NW actually loads and verifies the label. If you take the tape out and insert it into the library again, NW reads the bar code and assumes the volume label to be the same.
  • MisterP1

    12 Posts

    588

    0

    Posted February 13th, 2009 04:00

    Hello all,

    Thanks a lot for your input.
    After a few more tests, I have indeed noticed that NW physically loads tapes to verify the volume label, but only for tapes that haven't been loaded since the migration.
    I have the strong impression (but I'm out on a limb, here) that bar-code, volume label and volume-ID are three attributes that have to be known to NW. If one of them is missing (in casu, the volume-ID), the tape is loaded, read and the volume-ID stored in the database. The next time the bar code is detected, all info is available to NW, so the physical load-and-verify is not needed.

    Thanks once more for all your time and suggestions,

    Best regards,
    Peter
  • Hari5

    443 Posts

    588

    0

    Posted February 13th, 2009 20:00

    I would say that is about right. The thing is that this vol id, barcode and volume label info is maintained in the jukebox resouce as a sort of an index (for lack of a better description). Until a tape is actually mounted on a new jukebox resource, the cross-reference / indexing does not happen. Once the media is in the index, the inventory will happen without a physical mount / unmount.