TapeAlert Testing

Top  Previous  Next

This function can only be used on tape drives and autochangers which support the TapeAlert test feature.  (Please refer to the Tape Drive Testing and Optimization section for additional information not covered in this topic)

You would use this command to program a false (test) error, so you can see what would happen if you had a real tape error.  When invoked, the command performs the following functions. (For brevity, we will assume the unit has this capability and no problems are found issuing the appropriate commands.

 

Performs a mode select to temporarily to set the TapeAlert test bit. This will cause TapeAlert polls to return sense information indicating a false TapeAlert Error.
Polls the device. It will return sense information 5D FF, which will be reported as "TapeAlert FALSE (test) predictive failure alert."
The mode page will be restored in order to disable TapeAlert testing.        

 

Syntax

-XT {devicefile}.

 

Frequently Asked Question:

Q.How do I safely generate a TapeAlert error that does not require breaking something.

A.Most devices that have TapeAlert capability set off an alert if you load invalid media into the device.  For example, we have some DDS4 media which is not supported in one of our HP C1533A tape drives. In order to generate an error, we stick the DDS4 media in the device and the HP will reject it shortly after the cartridge is tensioned. Then we poll it.  The resulting message will have, " Unsupported Format - You have loaded a cartridge of a type not recognized by this tape drive.",

 

Q. What will be returned if the device does not support this feature?

A. The program will report:  "Tape Alert test failed -- Device does not support this feature. No changes were made."

 

Q. What if I have more than one TapeAlert condition?

A. The program will report all status text.  It will look at whether each message is critical, an error, or a warning and use the worst-case state to classify the warning for the system's event log.

 

Q. What message strings are returned?

A. The strings below are defined by the software. Not all tape/changer devices have the capability to report all of these messages.

Read Warning - The tape drive is having problems reading data. (No data lost, but reduction in performance.)
Write Warning - The tape drive is having problems writing data. (No data lost, but reduction in performance.)
Hard Error - The operation has stopped because the drive could not recover from the error condition.
Media Error - Your data is at risk. Do not use this tape media again.
Read Error - The tape is damaged or the drive is faulty.
Write Error - The tape is from a faulty batch or the tape drive is faulty.
Media Life - The tape cartridge has reached the end of its calculated useful life.
Not Data Grade - The cartridge is not data grade. Data written to it will be at risk.
Write Protect - You are trying to write to a write-protected cartridge.
No Removal - You can not remove this cartridge while it is in use.
Cleaning Media - The tape in the drive is a cleaning cartridge.
Unsupported Format - You have loaded a cartridge of a type not recognized by this tape drive.
Recoverable Snapped Tape - The operation has failed because the tape in the drive has snapped.
Unrecoverable Snapped Tape - The operation has failed because the tape in the drive has snapped.
Memory Chip Failure - The memory chip in the cartridge has failed, which will affect performance only.
Forced Eject - The operation has failed because the cartridge was manually ejected during I/O.
Read-Only Format - You have loaded a cartridge of type which is read only.
Tape Directory Corrupted - The directory is corrupted. File search will be degraded.
Nearing Media Life -  The cartridge is nearing the end of its calculated life.
Clean Now - The tape drive needs cleaning.
Clean Periodic - The tape drive needs routine cleaning.
Expired Cleaning Media - The last cleaning cartridge used needs to be replaced.
Invalid Cleaning Media - The last cleaning cartridge used was an invalid type.
Retention Requested - The tape drive has requested a retension operation.
Dual-Ported Interface Error - A redundant interface port has failed.
Cooling Fan Failure - A cooling fan has failed.
Power Supply Failure - A redundant power supply has failed.
Power Consumption - The tape drive power consumption is outside the specified range.
Drive Maintenance - Preventive maintenance on the drive is required.
Hardware Fault A - The tape drive has vendor-defined hardware fault (requires reset to recover).
Hardware Fault B - The tape drive has vendor-defined hardware fault (requires power cycle to recover).
Interface - The tape drive has a problem with the application client interface.
Eject Media - The operation has failed (eject, reinsert, restart application).
Download Fail - The last firmware download failed.
Drive Humidity - Environmental conditions inside the tape drive are outside the specified range.
Drive Temperature - Environmental conditions inside the tape drive are outside the specified range.
Drive Voltage - Power conditions are outside the specified range.
Predictive Failure - A hardware failure of the tape drive is predicted.
Diagnostics Required - The tape drive may have a hardware fault. Run diagnostics.
Loader Hardware A - The changer mechanism is having difficulty communicating with the tape drive.
Loader Stray Tape - A tape has been left in the autoloader by a previous hardware fault.
Loader Hardware B - The loader mechanism has a hardware fault.
Loader Door - The operation has failed because the autoloader door is open.
Loader Hardware C - The autoloader has a hardware fault that is not mechanically related.
Loader Magazine - The autoloader cannot operate without the magazine.
Loader Predictive Failure - A hardware failure of the changer mechanism is predicted.
Lost Statistics - Media statistics have been lost at some time in the past.
Tape Directory Invalid at Unload - The tape directory on the tape cartridge just unloaded has been corrupted.
Tape System - The tape just unloaded could not write its system area successfully.
Tape System Read Failure - The tape system area could not be read successfully at load time.
No Start of Data - The start of data could not be found on the tape.
Loading Failure - The operation has failed because the media cannot be loaded and threaded.