Exemplary tape library architectures and methods for recording errors in a
tape drive are described. One exemplar method may be implemented in a
processor a tape drive controller. The method comprises receiving, in a
tape drive controller, an external identifier associated with a tape
cartridge, recording the external identifier in a memory location
associated with the tape drive controller, and associating, in a
subsequent error analysis routine, an error in the tape drive with the
external identifier of the tape cartridge in the tape drive.