This chapter covers system management functions related to tape drives. Many of these functions change or get information from the device configuration database, which contains information about the devices on your system. The device configuration database consists of the predefined configuration database, which contains information about all possible types of devices supported on the system, and the customized configuration database, which contains information about the particular devices currently on the system. For the operating system to make use of a tape drive, or any other device, the device must be defined in the customized configuration database and must have a device type defined in the predefined configuration database.
See the AIX Version 4.3 System Management Concepts: Operating System and Devices for the following related topics:
Basic tasks for Tape Drives are shown in the following table:
Tape Drive Tasks | ||
---|---|---|
Web-based System Manager: wsm devices
fast path (Devices application) -OR- | ||
Task | SMIT Fast Path | Command or File |
List All Defined Tape Drives | smit lsdtpe | lsdev -C -c tape -H |
List All Supported Tape Drives | smit lsstpe | lsdev -P -c tape -F "type subclass description" -H |
Add New Tape Drives Automatically | smit cfgmgr | cfgmgr |
Add a User-Specified Tape Drive | smit addtpe | mkdev -c tape -t '8mm' -s 'scsi' -p 'scsi0' -w '4,0' -a extfm=yes |
Show Characteristics of a Tape Drive | smit chgtpe | lsdev -C -l rmt0 lsattr -D -l rmt01 |
Change Attributes of a Tape Drive | smit chgtpe | chdev -l rmt0 -a block_size='512' -a mode=no1 |
Remove a Tape Drive | smit rmvtpe | rmdev -l 'rmt0'1 |
Generate an Error Report for a Tape Drive | smit errpt | See Error Logging Tasks in in AIX Problem Solving Guide and Reference |
Trace a Tape Drive | smit trace_link | See Starting the Trace Facility in in AIX Problem Solving Guide and Reference |
Note:
- Where rmt0 is the logical name of a tape drive