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

Page 62

INTERFACECOMMANDS

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 62
Contents HA RD Drive Produc T MA Nual DiamondMax Revisions Manual No Before You Begin U T I O NContents Product Specifications Handling and InstallationAT Interface Description Host Software InterfaceGlossary Interface CommandsService and Support Figures Manual Organization IntroductionMaxtor Corporation AbbreviationsKey Words Signal ConventionsConventions NumberingDiamondMax 4320 Key Features Product DescriptionProduct Features Functional / InterfaceDefect Management Zone DMZ On-the-Fly Hardware Error Correction Code ECCLogical Block Addressing Software ECC CorrectionBuffer Segmentation Read-Ahead ModeCache Management Automatic Write Reallocation AWRMajor HDA Components Cylinder Limitation Subsystem ConfigurationJumper Location/Configuration Dual Drive SupportPerformance Specifications Product SpecificationsDrive Configuration Models and CapacitiesPhysical Dimensions Parameter Standard MetricEPA Energy Star Compliance Power Requirements AveragePower Mode Definitions Environmental LimitsReliability Specifications Shock and VibrationCanadian Emissions Statement Safety Regulatory ComplianceRadiated Electromagnetic Field Emissions EMC Compliance Pre-formatted Drive Handling and InstallationHard Drive Handling Precautions Important NoticeUnpacking and Inspection Multi-pack Shipping ContainerRepacking Physical InstallationRecommended Mounting Configuration Before You Begin General Requirements Mounting Drive in System Attaching Interface Power Cables System Setup Hard Drive Preparation System Hangs During Boot Pin Description Summary Interface ConnectorAT Interface Description PINPIN Name Signal Name Signal Description Pin Description TableTiming Parameters Mode PIO TimingDMA Timing Mode MIN MAX Ultra DMA TimingSustained 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 Host Software Interface Error RegisterFeatures Register Task File RegistersCylinder Number Registers Sector Count RegisterSector Number Register Device/Head RegisterCommand Register Summary Command Name Command Code Parameters UsedTimer Value TIME-OUT Period Device Control Register Control Diagnostic RegistersAlternate Status Register Digital Input RegisterInterrupt Handling Reset and Interrupt HandlingReset Handling Interface Commands Set Feature CommandsRead Verify Sectors Read CommandsRead Sectors Read DMA Read MultipleWrite Sectors Write CommandsSet Multiple Mode Write Verify SectorsWrite Multiple Write DMAValue Description Set Feature CommandsSet Features Mode Power Mode Commands Sleep Mode Identify Drive Initialization CommandsWord Content Description 15-8 = PIO data transfer mode = Write Cache enabled Initialize Drive Parameters Error Code Description Seek, Format and Diagnostic CommandsExecute Drive Diagnostic Format TrackA.R.T. Command Set Execute S.M.A.R.TNo Quibble Service Service and SupportService Policy SupportInternet MaxFax ServiceCustomer Service Access Time GlossaryCylinder Zero Gigabyte GB Logical Block Addressing Read Gate Signal THIN-FILM Media