In one embodiment, a method of recording an error in a tape drive,
comprises receiving, in a tape library controller, an internal identifier
associated with a tape cartridge; recording, in a memory medium
associated with the tape library controller, the internal identifier;
associating, in the memory medium, the internal identifier with an
external identifier associated with the tape cartridge; and providing
information in the memory medium to identify the tape cartridge in a
subsequent error analysis routine.