change dif repair_type
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
type=? | Repair type. | The default value can be "return_error", "fill_zero", "replace_dif", "fill_zero_no_repair", or "replace_dif_no_repair", where:
|
Example
-
Modify the DIF repair policy to "return an error when DIF verification fails".
developer:/>change dif repair_type type=return_error WARNING: You are about to change the DIF recovery type.This operation enables correct I/Os to be returned upon a DIF verification failure but may cause data inconsistency. Suggestion: Keep the default value return_error.If another value is required, restore the value to the default one as soon as possible. Have you read warning message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
-
Modify the DIF repair policy to "recalculate the DIF when DIF verification fails".
developer:/>change dif repair_type type=replace_dif WARNING: You are about to change the DIF recovery type.This operation enables correct I/Os to be returned upon a DIF verification failure but may cause data inconsistency. Suggestion: Keep the default value return_error.If another value is required, restore the value to the default one as soon as possible. Have you read warning message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.