HP LTO 4 SCSI, LTO 4 FC Frequently asked questions, Cleaning, Invalid firmware upgrade cartridge

Page 49

Invalid firmware upgrade cartridge

If a firmware upgrade cartridge with an invalid firmware image is loaded, and neither the library controller nor the host knows that the cartridge is a firmware upgrade cartridge, again what occurs depends on the Upgrade Protect bit in the Set Drive Configuration command.

Upgrade Protect = 1 If the Upgrade Protect bit in the Set Drive Configuration command is set to 1, it is assumed that the Upgrade bit in the Load command will be zero and no firmware upgrade will be performed on the drive. The cartridge will be placed at the ready-to-eject position with the Cartridge Present, Write Protect, Ready Eject, Ready Load, Media Error, and TapeAlert bits set to 1, Cartridge Type = ‘Firmware Upgrade’, and Tape Activity = ‘Idle’. TapeAlert flag 10h will be set.

Upgrade Protect = 0 If the Upgrade Protect bit in the Set Drive Configuration command is set to 0, the firmware upgrade process will start and the drive will thread the tape and read the image. During this time, the drive will report Tape Activity = “Code Update in Progress”. When the image has been read the drive will check whether the image is valid. As in this case the image is not valid, the drive will place the drive at the ready-to-eject position with the Cartridge Present, Write Protect, Ready Eject, Ready Load, Media Error, and TapeAlert bits set to 1, Cartridge Type = ‘Firmware Upgrade’, and Tape Activity = ‘Idle’. TapeAlert flags 10h and 22h will be set. The drive will not send out an ENQ byte and will not reset.

Frequently asked questions

ACI protocol allows activities of the drive to be co-ordinated within a library. It provides several modes for operating HP Ultrium drives within tape libraries. In addition, the Cartridge Memory can, at the very minimum, provide an ‘electronic barcode’ facility to allow media tracking. HP is working with all the major tape library vendors to ensure that the full potential of these features are realized, and recognizes that ISV software support is a key part of this process. In advance of the release of the HP Ultrium Automation Cookbook, here are answers to some frequently asked questions:

Is there separate firmware for drives intended to go into libraries?

Specific variants of the firmware for automation drives enable the automation interface, which is not enabled in standalone drives. Otherwise the code is similar. A variant can only be downloaded if it matches the variant in the drive.

Cleaning

The tape drive tells the automation controller that a cleaning tape needs to be used through two bits in the ACI Get Drive Status command. The Cleaning Needed bit indicates deterioration in the write or read margin of the drive and hence it is recommended that a cleaning cartridge is inserted into the drive at the earliest opportunity. Following a successful clean, the Cleaning Needed bit will be cleared. The Cleaning Required bit indicates that the drive is unable to read or write unless the drive is first cleaned with a cleaning tape. It is recommended that a cleaning cartridge is loaded into the drive immediately. Following a successful clean, the Cleaning Required bit will be cleared.

Under normal circumstances, cleaning cartridges can be used for 50 cleanings.

HP LTO Ultrium 4 drives technical reference manual, volume 2: software integration 49 HP restricted

Image 49
Contents LTO 4 FC, SCSI and SAS drives volume 2 software integrationHP LTO Ultrium tape drives technical reference manual HP restrictedLegal and notice information 1 Designing backup applications Contents2 Configuration and initialization 3 Use of tapes4 Factors affecting performance 5 Supporting Ultrium features7 Exception handling 6 Sense keys and codesHP restricted Documentation map Related documentsDocuments specific to HP Ultrium drives Drives-generalOperation Installation and configurationCartridges InterfaceDealing with errors Maintenance and troubleshootingGeneral documents and standardization LTO Ultrium featuresNon-immediate commands 1 Designing backup applicationsOptimizing performance Large data transfer sizeManaging the use of tapes Cleaning tape headsInformation in Cartridge Memory Monitoring tape useDiagnostic logs Design goals for LTO backup applicationsTapeAlert Displaying drive informationInclude the capability to download firmware Inquiry string recovery 2 Configuration and initializationOperating system drivers 16 Configuration and initialization ExampleSCSI protocol, regardless of transport or interface type Enabling additional LUN support Support for additional LUNSupporting additional LUNs 18 Configuration and initialization Using MODE SENSE Using Cartridge Memory attributes3 Use of tapes LTO cartridge memoryFinding the remaining capacity Tape status and capacityInterpreting Log Sense data Command descriptor block Using the SET CAPACITY commandCDB fields WORM media Changes to SCSI commandsHow WORM media works New additional sense codes and TapeAlert flagsERASE commands rejected Error Usage pageSET CAPACITY command Re-writing media labelsBehavior with a missing or inconsistent EOD value Using CM to check tape integrityUnique media identifier Load count Responding to Cartridge Memory dataBarcode support Corrective action RWW retry countsWays of optimizing performance 4 Factors affecting performanceDetecting the drive’s speed Ensuring the recommended minimum transfer sizesUsing the Performance Log page for diagnosing problems Using Cartridge Memory instead of tape headersTime-out values Media type identificationFactors affecting performance Recommended support of log pagesHost-related factors Recommendation Examplewhere possible or a reasonably sized RAID system. More disks means makes sense to split heavily used FC cards across separate PCI bussesDo not interleave write commands with other commands, such as READ Drive-related factorsFormat-related factors Page 34 Factors affecting performance Cartridge Memory LTO-CM 5 Supporting Ultrium featuresAutomation interface Further informationAutomation/Device Interface ADI Modes of usage through ACI Automation Control Interface ACISlave to a library controller ACI commands that affect drive streaming performance ACI command setSCSI pass-through mode Backward compatibility New features in ACISCSI command Encryption support Supporting the ACI protocol Further detailsRecommended ACI time-out values 42 Supporting Ultrium featuresTreatment of reserved fields Recommended power-up sequenceRecommended load-unload configuration Recommended Get Drive Status polling frequency Firmware upgrade via tapeACI protocol communications retry Upgrading the drive firmwareFirmware upgrade via ACI Firmware upgrade via the primary host interfaceLibrary firmware upgrade via tape Handling irregular cartridgesExpired cleaning cartridge HP-configured or Universal Cleaning cartridge HP-configured or UniversalNon-HP Ultrium 1 cleaning cartridge Unreadable data cartridgeData cartridge with unreadable CM Valid firmware upgrade cartridgeCartridge fails to seat or load Cartridge cannot be loadedCleaning Frequently asked questionsInvalid firmware upgrade cartridge Is there separate firmware for drives intended to go into libraries?Resetting drives Backup softwareResetting via the ACI Reset command Resetting using the ACIRSTL lineControlling data compression Accessing Cartridge Memory without threading the tapeOther mode page information Buffer size at EW-EOMWrite delay time Rewind on resetPartition size 52 Supporting Ultrium featuresSense keys-actions to take 6 Sense keys and codesAction Console MessageFor additional sense codes, see “3h-MEDIUM ERROR” on “3h-MEDIUM ERROR” on page 62 . Also see the Media Accesslog the error, terminate I/O to the drive, and pass the appropriate error to the calling applicationConsole Message ActionAction Console MessageAction Physical Additional sense codes-actions to takeEnd-of-Tape reached, unable to fit0h-NO SENSE 2h-NOT READY 1h-RECOVERED ERRORLUN not accessible, port in The software must issue a LOAD before media accessThe command cannot be executed because the specified 60 Sense keys and codesmechanism tests are being executed. When the tests are A READ , SPACE , WRITE or WRITE FILEMARKS command 3h-MEDIUM ERROR62 Sense keys and codes and the drive. Based on this, ask the user to clean the Send a console message that an unrecovered error on64 Sense keys and codes Send a message to the console indicating that there is 66 Sense keys and codes The current command such as READ, SPACE, REWIND4h-HW ERROR A MODE SELECT parameter list sent to the drive contains 5h-ILLEGAL REQUEST68 Sense keys and codes persistent reservation using the PERSISTENT RESERVE OUT 6h-UNIT ATTENTIONallowed to execute. In other words, some commands can 32 initiators to register, using PERSISTENT RESERVE OUTAction A PERSISTENT RESERVE OUT command was executed service action removed all reservations and the persistentWRITE BUFFER or MAINTENANCE OUT command A SET DEVICE IDENTIFIER command has been successful7h-DATA PROTECTION Action 8h-BLANK CHECK READ BUFFER command Bh-ABORTED COMMANDrelated to a missing EOD data set. The most likely cause A WRITE or WRITE FILEMARKS command has encountered Dh-VOLUME OVERFLOW76 Sense keys and codes 1. Retrieve fault information Typical escalation procedure3. Allow the user to try recovery 4. Allow the user to reset devicesSupporting TapeAlert Monitoring the condition of the drive and mediaType FlagsPage Page Page Page Page Page Page TapeAlert models Designing software to use the TapeAlert logTapeAlert polling usage model Reading the TapeAlert logTapeAlert informational exception usage model Responding to the ‘Clean’ LED One-Button Disaster Recovery OBDRSupporting OBDR Requirements for drivers and logical device managers Providing pass-through modeGlossary see ”read-while-write” Index Page Page HP restricted