For a description of TMF capabilities and the role of the system administrator, refer to the TMF Administrator's Guide.
TMF is a subsystem that supports processing of ANSI and IBM labeled tape, including multifile volumes and multivolume sets. These capabilities are most important to customers who run production tape operations where tape label recognition and tape security are requirements.
The basic elements of TMF are the TMF daemon and TMF tape device driver. TMF provides operating personnel with a means to view and manage the tape resources configured within TMF. It also is the backbone for the operation of the Data Migration Facility (DMF).
TMF is started by the system operator or the system administrator, or it is started automatically as part of the system startup. TMF has superuser privileges. Therefore, it can communicate directly with the TMF device driver and the SCSI tape device driver to process your requests. Most vendors only support a character-special functionality, defined simply as the ability to open, to read from and write to, and to close a device that is recognized by the system software.
SGI offers a well-defined set of advanced functionality on all devices that TMF supports:
Dynamic resource control
Standard label support
Nonlabeled tape support
Dynamic configuration control
Multivolume and multifile support
Distributed operator control
User end-of-volume processing
Automatic volume recognition
ANSI standard labels
IBM standard labels
Single filemark format tapes
Single filemark format tapes do not have labels and are terminated by a single filemark at the end-of-volume, whereas a normal nonlabeled tape is terminated by two filemarks at the end-of-volume. Also, bypasslabel processing is available to users with root permission. Bypasslabel processing lets these users read or write tape labels as regular files.
TMF keeps track of all of the tape resources configured within the system. It reads a TMF configuration file that contains a description of the tape configuration and then constructs a data-structure complex that contains information about each one of the tape drives. TMF enables system administrators to configure tape devices up or down. It also contains several commands to monitor its activities.
TMF allocates tape drives upon request, and ensures that such an allocation does not result in a deadlock condition. (A deadlock condition is one in which a task is locked in a state from which it cannot proceed.)
TMF creates and maintains wait queues for requests that cannot be satisfied at the time of the request. After a user has finished using a tape drive, that resource can be assigned to another user who has been queued in one of the wait queues.
TMF supports several different families of libraries; see “Device Support”. The automatic volume recognition (AVR) feature allows the operator to premount tapes prior to use and to direct the mounting of tapes to specific devices.
Tape positioning lets you position a tape to the beginning of a tape block. Tape movement may be forward or backward; however, tape positioning directives cannot be used to circumvent normal tape label processing or label checking unless you have root permission and use an absolute track address positioning request. You can position the tape file relative to a filemark, tape block, or volume; or you can position the tape file to an absolute track address.
TMF provides a means of using a tape management system: front-end servicing for MVS (FES MVS available from SGI) that allows TMF messages and catalog requests to be processed by an IBM MVS system. Alternately, user exits let you use a local implementation for catalog services.
User end-of-volume (EOV) processing lets you gain control at the end of a tape volume. For EOV processing or positioning to a tape block, it is necessary to know that the file being processed is a tape file. You can request to be notified when end-of-volume is reached.
In addition, you can request special user EOV processing, which includes the reading, writing, and positioning of the volume before and after a volume switch. After special processing has completed, you must request that TMF resume normal processing.
Multifile volume allocation lets you process a multifile volume tape without the need for the system to unload and load tapes between files. A volume is a physical unit or storage medium, usually synonymous with a reel of magnetic tape.
The concatenated tape file feature lets you read multiple tape files as though they were one tape file. An EOV status is returned for all of the concatenated files read, until the last file and its end-of-file is encountered.
TMF maintains a log file in a user directory in which it records key events in its processing of requests on behalf of the user. This enables you to issue a batch job to process tape volumes and have a record of the activities that took place. Statistical data is recorded in this file as well.
EMASS libraries using the VolServ software interface
IBM libraries using the CPS software interface
OpenVault-supported libraries when using OpenVault as a loader
StorageTek libraries using the ACSLS software interface
Any tape drive supported by the SGI TS tape driver