Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 3.26 KB

ns-minitape-_storage_predict_failure.md

File metadata and controls

77 lines (61 loc) · 3.26 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:minitape._STORAGE_PREDICT_FAILURE
_STORAGE_PREDICT_FAILURE (minitape.h)
The _STORAGE_PREDICT_FAILURE structure (minitape.h) contains information about whether a device is currently predicting a failure.
storage\storage_predict_failure.htm
storage
03/29/2018
STORAGE_PREDICT_FAILURE structure
*PSTORAGE_PREDICT_FAILURE, PSTORAGE_PREDICT_FAILURE, PSTORAGE_PREDICT_FAILURE structure pointer [Storage Devices], STORAGE_PREDICT_FAILURE, STORAGE_PREDICT_FAILURE structure [Storage Devices], _STORAGE_PREDICT_FAILURE, ntddstor/PSTORAGE_PREDICT_FAILURE, ntddstor/STORAGE_PREDICT_FAILURE, storage.storage_predict_failure, structs-general_b1bed4c9-33a9-4adf-a456-e420d1e2f317.xml
minitape.h
Ntddstor.h, Minitape.h
Windows
Windows
STORAGE_PREDICT_FAILURE, *PSTORAGE_PREDICT_FAILURE
_STORAGE_PREDICT_FAILURE
minitape/_STORAGE_PREDICT_FAILURE
PSTORAGE_PREDICT_FAILURE
minitape/PSTORAGE_PREDICT_FAILURE
STORAGE_PREDICT_FAILURE
minitape/STORAGE_PREDICT_FAILURE
APIRef
kbSyntax
HeaderDef
ntddstor.h
_STORAGE_PREDICT_FAILURE
PSTORAGE_PREDICT_FAILURE
STORAGE_PREDICT_FAILURE

_STORAGE_PREDICT_FAILURE structure (minitape.h)

-description

The STORAGE_PREDICT_FAILURE structure is used in conjunction with IOCTL_STORAGE_PREDICT_FAILURE to report whether a device is currently predicting a failure.

-struct-fields

-field PredictFailure

Indicates when nonzero that the device is currently predicting an imminent failure.

-field VendorSpecific

Contains an array that holds 512 bytes of vendor-specific information if the device supports failure prediction.

-remarks

Upon receiving an IOCTL_STORAGE_PREDICT_FAILURE device control request, the disk class driver attempts to verify if an IDE drive supports SMART. If the drive is a SCSI drive, the class driver attempts to verify if the SCSI disk supports the equivalent IDE SMART technology: Information Exception Control Page, X3T10/94-190 Rev 4.

If the device does not support failure prediction, the disk class driver fails the IRP with a status of STATUS_INVALID_DEVICE_REQUEST.

If the device supports failure prediction, the disk class driver queries the device for failure prediction status. If the device has bad sectors and predicts a failure, the disk class driver returns a nonzero value in PredictFailure. If status indicates that the device does not predict any failures at this time, the disk class driver returns a value of 0 in PredictFailure.

-see-also

IOCTL_STORAGE_PREDICT_FAILURE