change disk_domain stripe_verify_restore
Function
Format
change disk_domain stripe_verify_restore disk_domain_id=? [ run_state=? ]
change disk_domain stripe_verify_restore disk_domain_id=? [ ckg_object_id=? ] [ ckg_lba=? ] [ length=? ]
change disk_domain stripe_verify_restore disk_domain_id=? [ ckg_object_id=? ]
change disk_domain stripe_verify_restore disk_domain_id=? [ run_state=? ] [ tier_id=? ]
Parameters
Parameter |
Description |
Value |
---|---|---|
disk_domain_id=? | Disk domain ID. | To obtain the value, run the "show disk_domain general" command in guest mode. |
run_state=? | Running status of stripe consistency restoration. | The value can be "start", "stop", or "restart", where:
|
ckg_object_id=? | Chunk group ID. | To obtain the value, run the "ckgiof luntrans" command in the diagnose view of the developer mode. |
ckg_lba=? | Offset in a CKG. | The value depends on the size of the chunk group, expressed in sectors. |
length=? | Length of the stripe to be restored. | The value depends on the size of the chunk group, expressed in sectors. |
tier_id | Tier ID. | The value can be "SSD", "SAS", or "NL_SAS", where:
|
Usage Guidelines
In the case of disk log loss, running this command can:
- Restore stripe consistency in all the allocated space in the disk domain.
- Restore stripe consistency in a specified tier of the disk domain.
- Restore stripe consistency in a specified chunk group.
- Restore stripe consistency in a certain extent in the chunk group.
Before running this command, ensure that no events indicating that a disk is removed or faulty are reported. If such events exist, run this command after reconstruction of the disk is complete.
Example
-
Restore stripe consistency in all tiers of the disk domain. Before running this command, ensure that the reconstruction task is complete, disk domain ID is "0", no events indicating that a disk is removed or faulty are reported, and no data reconstruction or copy tasks exist in the disk domain.
developer:/>change disk_domain stripe_verify_restore disk_domain_id=0 run_state=start DANGER: You are about to repair inconsistent stripes in disk_domain. This operation repairs parity data for RAID 3, 5, and 6 and does not change data bits. For RAID 10, this operation selects a disk in the mirror group, uses data on the disk to repair other disk in the mirror group, and restores stripe consistency after the repair. However, data accuracy cannot be ensured. If disk out or fault events occur during the repair, data may be lost. Suggestion: Confirm the operation before performing it. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
-
Restore stripe consistency in the SSD tier of the disk domain. Before running this command, ensure that the reconstruction task is complete, disk domain ID is "0", no events indicating that a disk is removed or faulty are reported, and no data reconstruction or copy tasks exist in the disk domain.
developer:/>change disk_domain stripe_verify_restore disk_domain_id=0 run_state=start tier_id=SSD DANGER: You are about to repair inconsistent stripes in disk_domain. This operation repairs parity data for RAID 3, 5, and 6 and does not change data bits. For RAID 10, this operation selects a disk in the mirror group, uses data on the disk to repair other disk in the mirror group, and restores stripe consistency after the repair. However, data accuracy cannot be ensured. If disk out or fault events occur during the repair, data may be lost. Suggestion: Confirm the operation before performing it. Have you read danger alert message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.