change disk_domain repair_pool_meta
Format
change disk_domain repair_pool_meta repair_type=? disk_domain_id=? [ engine_id=? ] [ meta_type=? ] [ app_type=? ] [ tier_type=? ] [ action=? ] [ pool_id=? ] [ bak_ckg_id=? ] [ is_old_disklog=? ] [ root_ckg_info=? ] [ disklog_ckg_info=? ] [ disklog_type=? ] [ disklog_info=? ] [ force_type=? ] [ zone_id=? ] [ disk_id=? ]
Parameters
Parameter |
Description |
Value |
---|---|---|
repair_type=? | Type of the metadata to be repaired. | The value can be "POOL_META", "POOL_ROOT", "INSTANCE", "INNER_NODE", "DISKLOG", or "POOL_QUEUE", where:
|
disk_domain_id=? | Disk domain ID. | To obtain the value, run the "show disk_domain general" command in guest mode. |
engine_id=? | Engine ID. | To obtain the value, run the "show controller general" command in guest mode. |
meta_type=? | Type of the metadata object to be reconstructed. | The value can be "ZONE_CKG", "CKG_FREE_EXTENT", or "SPARE_CK", where:
|
app_type=? | Application type. | The value can be "meta" or "data", where:
|
tier_type=? | Tier type. | The value can be "SSD", "SAS", or "NearLine_SAS ", where:
|
action=? | Operation. This parameter is mandatory when "repair_type" is set to "POOL_META", "INSTANCE", or "INNER_NODE". | The value can be "repair", "repair_confirm", "repair_cancel", or "clear_state", where:
|
pool_id=? | Storage pool ID. When the value of "repair_type" is "INSTANCE" or "INNER_NODE", the value of "app_type" is "data", and no value is entered for "zone_id", a value needs to be entered for the parameter. | To obtain the value, run the "show storage_pool general" command in guest mode. |
bak_ckg_id=? | ID of the backup super block. This parameter is mandatory when "repair_type" is set to "POOL_ROOT". | To obtain the value, search for RaBx_BAKCKG0 in the operation logs. |
is_old_disklog=? | Indicates whether the disk log is old. This parameter is mandatory when "repair_type" is set to "POOL_ROOT". | The value can be "no" or "yes", where:
|
root_ckg_info=? | Information about the metadata super block. This parameter is mandatory when "repair_type" is set to "POOL_ROOT". | To obtain the value, search for RaBx_CKG0 in the operation logs. |
disklog_ckg_info=? | Information about the disklog super block. This parameter is mandatory when "repair_type" is set to "POOL_ROOT". | To obtain the value, search for RaBx_LOGCKG in the operation logs. |
disklog_type=? | Information about the disk log. | The value can be "ROOT_DISKLOG", "FORMAT_DISKLOG", or "OTHER_DISKLOG", where:
|
disklog_info=? | Information about the disk log. |
|
force_type=? | Forcible repair type. This parameter is available when "repair_type" is set to "POOL_META". | The value can be "ZONE", "DISK", or "ZONE_DISK" where:
|
zone_id=? | Zone ID. The parameter is displayed when the value of "repair_type" is "POOL_META", and the value of "force_type" is "ZONE" or "ZONE_DISK"; or the value of "repair_type" is "INSTANCE" or "INNER_NODE", the value of "app_type" is "data", and no values are entered for "pool_id", a value needs to be entered for the parameter. | ID of the zone that needs to be repaired. |
disk_id=? | Disk ID. The parameter is displayed when the value of "repair_type" is "POOL_META", and the value of "force_type" is "ZONE_DISK"; or when the value of "repair_type" is "DISKLOG" and the value of "disklog_type" is "FORMAT_DISKLOG". | ID of the disk that needs to be repaired. |
Example
Repair the internal node whose engine ID is "0", disk domain ID is "0", metadata object type is "CKG_FREE_EXTEN", application type is "meta", and tier is "SAS".
developer:/>change disk_domain repair_pool_meta repair_type=POOL_META disk_domain_id=0 action=repair_confirm DANGER: You are going to repair the metadata on the disk domain. This operation will change the metadata on the disk domain and cause part of the space to lose. Suggestion: Before you run this command, check that you want to reconstruct this disk domain. 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.