IBM TS2340 User Guide - Page 134
Problem Determination, Con and Run lin_taped Daemon, Install lin_taped, Con lin_taped
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 134 highlights
Linux System-Managed Encryption 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. Configure and Run lin_taped Daemon Starting with lin_tape version 1.2.5, the lin_tape device driver provides an error diagnostic daemon (lin_taped) which provides the following capabilities: 1. Error logging and tracing 2. When drive dumps, log sense data, and/or SIM/MIM error information are created by the tape drive, the daemon automatically retrieves that data and saves it to the hard drive on your Linux system. 3. Failover and load balancing 4. Encryption Because lin_taped requires a minimal amount of system resource and because it provides these necessary diagnostic capabilities, IBM recommends that you leave the daemon enabled at all times. Install lin_taped lin_taped is automatically installed at /usr/bin/lin_taped when you install the lin_tape device driver using the rpm or tar package. Refer to "Installation and Configuration Instructions" on page 96 for instructions on installing the lin_tape device driver. Configure lin_taped You can customize the operation of lin_taped by modifying its configuration file, which is located at /etc/lin_taped.conf. The daemon only reads the configuration file when it starts; consequently, if you make modifications to the configuration file, then stop the daemon and restart it so that your modifications are recognized by the daemon. Tracing: Three levels of tracing are supported for the lin_tape device driver and are defined as follows: 0 With tracing set to 0, very minimal tracing is recorded from the lin_tape device driver. 1 With tracing set to 1, lin_taped records information associated with each ioctl called. If a device error occurs and SCSI sense data is obtained from the device, a subset of that sense data is also recorded. This is the default setting for tracing. 2 With tracing set to 2, lin_taped records tracing messages for each SCSI command. If a device error occurs and SCSI sense data is obtained from the device, all sense data is also recorded. This tracing level should only be used when a specific problem is being diagnosed due to the potential for huge amounts of data being generated. Set the lin_tapeTrace variable in the /etc/lin_taped.conf file to 0, 1, or 2, depending on what level of tracing you desire. If the lin_tapeTrace variable is set to an invalid number, the lin_taped daemon does not start. Tracing information is written to a file named /var/log/lin_tape.trace, by default. Information is written into the file until it is 1 MB in size, by default. After 1 MB of information is written, the file is archived (using the Linux ar command) into file 116 IBM Tape Device Drivers Installation and User's Guide