A demount (DDR swap, CLOSE/EOV request, EOD command or deallocation condition) that involves an IBM® magnetic tape drive (3420, 3422, 3430) causes a record to be built. The record contains environmental and statistical data that describes the magnetic tape drive having the tape demounted. Offset 2 of the OBR record format indicates that the record was written because of a volume demount.