I need to map system devices to their index in tape library on linux. How could I know by what index number in mtx command refers to a particular drive? I can get mapping between drive serial numbers and system devices, through sg_inq or similar. But how to get tapechanger configuration about tape drive indexes?
UPDATE: Tape library I'm testing it on is MHVTL