OpenSolaris 2008.11 Media Management System Administration Guide

Table of Contents

Configuring Tape Drives

After you configure a tape drive, MMS can recognize it and keeps track of it.

Attributes of a Tape Drive
Type Identifies the drive hardware
Serial Number Identifies the serial number of the drive hardware
Name Specifies a name to identify the drive such as combining the type of drive and its location: LT03_eng
Library Identifies the library that controls this drive
Status Identifies whether the drive is available: offline or online
Host Identifies the systems that is connected physically to this drive.
Note: In MMS 1.0, a drive can be attached to only one host.
SCSI Reservation Specifies whether the drive is reserved exclusively for MMS use.
Unload time Specifies the maximum idle time for a tape cartridge before it is ejected.
Applications Specifies which applications can use this drive
Message Level Specifies the level of detail for the messages that are written in the log. The default level is for error messages, but you can define a higher or lower level.
Trace Level Specifies the level of detail for the messages that are written in the trace file. The default level is for error messages, but you can define a higher or lower level.
Trace File Size Specifies the the size of the file before it is restarted. The default size is 10 megabytes.

How to Configure a Tape Drive

To add all the tape drives connected to the ACSLS server to the MMS configuration with the default attributes:

mmsadm create -t drive -o connection=acsls_server

Example:Creating All Drives on AcslsHost
mmsadm create -t drive -o connection=AcslsHost

To add one drive to the MMS configuration with the default attributes:

mmsadm create -t drive drive_name

Example:Creating MyDrive
mmsadm create -t drive MyDrive

To add one drive to the MMS configuration with a specific attribute:

mmsadm create -t drive -o options=x drive_name

Example:Creating MyDrive with a 15 megabyte trace file
mmsadm create -t drive -o trace-file-size=15M MyDrive

To modify the attributes of a drive:

mmsadm set -t drive -o options=x drive_name

Example:Changing MyDrive to use a 5 megabyte trace file
mmsadm set -t drive -o trace-file-size=5M MyDrive

To verify a new or changed drive:

mmsadm list -t drive _drive_name_