Map Tape media and Barcode RRS feed

  • General discussion

  • Can some one help me to inventory a tape library and map the bar-code of a tape with the slot on which it is inserted in a tape library through c++ or c#.

    I am trying to develop a backup system with tape media. I did some code works in c++ to write and read my data through tape. I used windows function to perform read write functions in tape.

    Reference :

    Everything works fine. The rest is managing the tapes. I googled and found windows functions ( DeviceIoControl()), through which i could able to mount a tape media into the drive. The problem i face is that i have a number of slots in a tape library and tape media can be inserted in to each slots and each tape media has a defined barcode with it and i was not able to find how to get the barcode and slot relation through controlling the robotic arm. Without knowing the barcode one can easily put a tape media from a slot to drive for writing and reading. But say in a library like environment with a backup setup i need to find the barcode to fetch it whenever i need it for restore.

    I would like to know is there any windows functions like deviceioctl or through powershell or through any other method which we could control the robotic arm in a tape library to read and find the barcode and slot relation.

    For Tape library video reference:

    Teardown: IBM LTO-3 Tape Drive & Dell TL-2000 Tape Library

    • Edited by mano8111 Monday, February 13, 2017 10:54 AM
    Monday, February 13, 2017 9:39 AM