Prevent/Allow Medium Removal (1Eh)

The Prevent/Allow Medium Removal command (1Eh) requests that the library enable or disable operator access to the mailslot and magazines.

  • If allowed, the mailslot and magazines are unlocked. The mailslot may be opened and the magazines may be unlatched from the user interface.
  • If prevented, the mailslot and magazines are locked. The mailslot cannot be opened and the magazines cannot be unlatched from the user interface.

All initiators are set to an allow media removal state, which enables user interface access to the mailslots and magazines, after a power on reset, library reset, bridged tape drive reset, or SCSI task management reset that affects LUN 1.

The Prevent/Allow Media Removal Behavior depends on the bridged tape drive in a multi-initiator environment.

  • The HP Bridged Tape Drive keeps Prevent/Allow data on a per-initiator basis. If any initiator has set a prevent state, the library prevents anyone from opening the mailslot or unlatching the magazines.
  • The IBM Bridged Tape Drive keeps Prevent data on a per-initiator basis. If any initiator issues an Allow Media Removal command, then the Prevent data is cleared for all initiators and Media Removal is allowed.
Prevent

0 = Allow — The library unlocks the mailslot and magazines.

1 = Prevent — The library locks the mailslot and magazines.