IBM TS2340 User Guide - Page 61
Problem Determination, Using the Dump Support, Device and Volume Information Logging
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
AIX Device Driver (Atape) Problem Determination A set of tools is provided with the device driver to determine if the device driver and the tape device are functioning correctly. The standard AIX interface is provided for problem determination. Using the Dump Support Dump support is provided through the dump entry point in the driver. Refer to appropriate AIX manuals for a description of how to use the dump devices and how to read the dump data. Dump Device Commands To list the current dump devices, enter the following command: sysdumpdev -l To establish the rmt1 tape device as a secondary dump device, enter the following command: sysdumpdev -s /dev/rmt1 To perform a dump operation, use the sysdumpstart command. To send the dump data to the secondary dump device, enter the following command: sysdumpstart -s Note: This command stops the system. Use the sync command to ensure that the cache is flushed before issuing the sysdumpstart -s command. To list the last dump data, enter the following command: sysdumpdev -z After the dump data is placed on the tape, copy it to a file on the disk before using the crash command to process it. For example: dd if=/dev/rmt1 of=tapedump1 ibs=4096 obs=512 crash tapedump1 Note: The ibs value is the input block size. If the block size of the tape device is larger than the block size sent during the dump process, the dump operation fails. Set the block size to zero on the tape device and experiment with the ibs value for the dd command. Device and Volume Information Logging An optional logging utility is provided to log the information about the device and the media. The information is extensive for some devices and limited for other devices. If set to On, the logging facility gathers all available information through the SCSI Log Sense command. This process is a separate facility from error logging. Error logging is routed to the system error log. Device information logging is sent to a separate file. The following parameters control this utility: v Logging v Maximum size of the log file v Volume ID for logging Chapter 3. AIX Tape and Medium Changer Device Driver 43