Maxtor 6800 manual A.R.T. Command Set, Execute S.M.A.R.T

Page 61

INTERFACE COMMANDS

S.M.A.R.T. Command Set

Execute S.M.A.R.T.

The Self-Monitoring Analysis and Reporting Technology (S.M.A.R.T.) command has been implemented to improve the data integrity and data availability of hard disk drives. In some cases, a S.M.A.R.T. capable device will predict an impending failure with sufficient time to allow users to backup their data and replace the drive before data loss or loss of service.

The S.M.A.R.T. sub-commands (listed below) comprise the ATA S.M.A.R.T. feature set that provide access to S.M.A.R.T. attribute values, attribute thresholds and other logging and reporting information.

Prior to writing a S.M.A.R.T. command to the device’s command register, key values must be written by the host into the device’s Cylinder Low and Cylinder High registers, or the command will be aborted. For any S.M.A.R.T. sub-command, if a device register is not specified as being written with a value by the host, then the value in that register is undefined and will be ignored by the device. The key values are:

Key

Register

4Fh

Cylinder Low (1F4h)

C2h

Cylinder High (1F5h)

The S.M.A.R.T. sub-commands use a single command code (B0h) and are differentiated from one another by the value placed in the Features register. In order to issue a command, the host must write the sub- command-specific code to the device’s Features register before writing the command code to the command register. The sub-commands and their respective codes are:

D0h

S.M.A.R.T. Read Attribute Value

 

This feature returns 512 bytes of attribute information to the host.

D1h

S.M.A.R.T. Read Attribute Thresholds

 

This feature returns 512 bytes of warranty failure thresholds to the host.

D2h

Enable/Disable Autosave

 

To enable this feature, set the sector count register to F1h (enable) or 0 (disable). Attribute values are

 

automatically saved to non-volatile storage on the device after five minutes of idle time and before

 

entering idle, sleep or standby modes. This feature is defaulted to “enabled” when S.M.A.R.T. is

 

enabled via the S.M.A.R.T. Enable Operations commands. The autosave feature will not impact host

 

system performance and does not need to be disabled.

D3h

S.M.A.R.T. Save Attribute Value

 

This feature saves the current attribute values to non-volatile storage.

D4h

Perform Off-Line Data Collection

 

Data is collected from random seeks, timed pattern seek times and head margin tests.

D8h

Enable S.M.A.R.T.

D9h

Disable S.M.A.R.T.

DAh

S.M.A.R.T. Return Status

 

This feature allows the host to assess the status of a S.M.A.R.T. capable device by comparing all saved

 

attribute values with their corresponding warranty failure thresholds. If no thresholds are exceeded, the

 

drive is declared to have a positive health status. If any warranty failure threshold is exceeded, the drive

 

is declared to have a negative health status. Executing this sub-command results in all attribute values

 

being saved to non-volatile storage on the device.

DBh

Enable/Disable Automatic Off-Line

 

To enable this feature, set the Sector Count register to F1h or 0 to disable.

7 – 14

Image 61
Contents HA RD Drive Produc T MA Nual DiamondMax U T I O N Before You BeginContents Handling and Installation Product SpecificationsHost Software Interface AT Interface DescriptionService and Support Interface CommandsGlossary Figures Maxtor Corporation IntroductionManual Organization AbbreviationsConventions Signal ConventionsKey Words NumberingProduct Description DiamondMax 6800 Key FeaturesFunctional / Interface Product FeaturesLogical Block Addressing On-the-Fly Hardware Error Correction Code ECCDefect Management Zone DMZ Software ECC CorrectionCache Management Read-Ahead ModeBuffer Segmentation Automatic Write Reallocation AWRMajor HDA Components Jumper Location/Configuration Subsystem ConfigurationCylinder Limitation Dual Drive SupportDrive Configuration Product SpecificationsPerformance Specifications Models and CapacitiesParameter Standard Metric Physical DimensionsPower Mode Definitions Power RequirementsEPA Energy Star Compliance Environmental LimitsShock and Vibration Reliability SpecificationsRadiated Electromagnetic Field Emissions EMC Compliance Safety Regulatory ComplianceCanadian Emissions Statement Hard Drive Handling Precautions Handling and InstallationPre-formatted Drive Important NoticeMulti-pack Shipping Container Unpacking and InspectionRecommended Mounting Configuration Physical InstallationRepacking Tools for Installation Handling PrecautionsSystem Requirements Drive Identification InformationHard Drive Identification General RequirementsInstalling 5.25-inch Mounting Brackets and Rails Systems Using Cable SelectInstalling in a Device Bay Mounting Drive in SystemAttaching System Cables Attaching Interface and Power CablesSetting the Bios Cmos System SetupBios Cmos Parameters Hard Drive Preparation System Hangs During Boot AT Interface Description Interface ConnectorPin Description Summary Pin Description Table PIN Name Signal Name Signal DescriptionPIO Timing Timing Parameters ModeDMA Timing Ultra DMA Timing Mode MIN MAXSustained Ultra DMA Data In Burst Device Terminating an Ultra DMA Data In Burst Initiating an Ultra DMA Data Out Burst Device Pausing an Ultra DMA Data Out Burst Device Terminating an Ultra DMA Data Out Burst Features Register Error RegisterHost Software Interface Task File RegistersSector Number Register Sector Count RegisterCylinder Number Registers Device/Head RegisterCommand Register Summary Command Name Command Code Parameters Used SDHAlternate Status Register Control Diagnostic RegistersDevice Control Register Digital Input RegisterReset Handling Reset and Interrupt HandlingInterrupt Handling Set Feature Commands Interface CommandsRead Sectors Read CommandsRead Verify Sectors Read Multiple Read DMASet Multiple Mode Write CommandsWrite Sectors Write Verify SectorsWrite DMA Write MultipleSet Features Mode Set Feature CommandsPower Mode Commands Sleep Mode Identify Drive Initialization Commands15-8 = PIO data transfer mode = Write Cache enabled Initialize Drive Parameters Execute Drive Diagnostic Seek, Format and Diagnostic CommandsFormat Track Execute S.M.A.R.T A.R.T. Command SetService Policy Service and SupportNo Quibble Service SupportCustomer Service MaxFax ServiceInternet Glossary Access TimeCylinder Zero Gigabyte GB Logical Block Addressing Read Gate Signal THIN-FILM Media