An exemplary embodiment provides for a tape drive that includes one or
more processors, a memory and a mechanism for locking a hub and cleaning
a magnetic head. The mechanism includes a plate a brush mount assembly
rotatably coupled to the plate wherein the brush mount assembly includes
a brush for cleaning the magnetic head, a hub lock assembly coupled to
the plate wherein the hub lock assembly includes a pin for locking the
hub and a mechanism assembly coupled to the plate wherein the mechanism
assembly is operable to move the hub lock assembly to lock the hub, and
wherein the mechanism assembly is operable to move, concurrently with the
hub lock assembly, the brush mount assembly to a position such that the
brush is proximate to the magnetic hub for a cleaning operation. Also
included is a controller that is operative to activate the mechanism to
lock the hub and clean the magnetic head after an unthread operation and
return the mechanism to a parked position after the cleaning operation.