No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change disk_domain format_mode

change disk_domain format_mode

Function

The change disk_domain format_mode command is used to change the formatting mode of disk domains.

Format

change disk_domain format_mode disk_domain_id=? format_mode=?

change disk_domain format_mode disk_domain_id=? format_mode=? [ reclaim_extent_format_type=? ]

Parameters

Parameter

Description

Value

disk_domain_id=?

Disk domain ID.

To obtain the value, run the "show disk_domain general" command.

format_mode=?

Formatting mode.

The value is "disk_extent_mix_format" indicating the mixed formatting mode of disks and extents.

reclaim_extent_format_type

Formatting mode of extent reclamation. The default value is extent_format.

The value can be "extent_format" indicating that the EXTENT module performs formatting during extent reclamation.

The value can be "disk_format" indicating that disks perform formatting during extent reclamation.

Views

Developer view

Usage Guidelines

None

Example

  • Change the formatting mode of disk_domain whose ID is 0 to the mixed formatting mode of disks and extents.
    developer:/>change disk_domain format_mode disk_domain_id=0 format_mode=disk_extent_mix_format 
    DANGER: You are about to run the command of changing the formatting mode of the specified disk domain. After this operation, software version degradation cannot be performed before this disk domain is deleted. 
    Suggestion: Before performing this operation, check whether changing the formatting mode of the specified disk domain is necessary. 
    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.
  • Change the formatting mode of a disk domain whose ID is 0 to the mixed formatting mode of disks and extents, and that of extent reclamation to the EXTENT formatting mode.
    developer:/>change disk_domain format_mode disk_domain_id=0 format_mode=disk_extent_mix_format reclaim_extent_format_type=extent_format 
    DANGER: You are about to run the command of changing the formatting mode of the specified disk domain. After this operation, software version degradation cannot be performed before this disk domain is deleted. 
    Suggestion: Before performing this operation, check whether changing the formatting mode of the specified disk domain is necessary. 
    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.

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 647105

Downloads: 30

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next