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 dif_scan enabled

change dif_scan enabled

Function

The change dif_scan enabled command is used to start or stop the LUN DIF scan.

Format

change dif_scan enabled enabled=? [ lun_id=? | disk_domain_id=? ] [ lba=? length=? ] [ controller=? ]

Parameters

Parameter

Description

Value

enabled=? Starts or stops the LUN DIF scan.

The value can be "start" or "stop".

lun_id=? LUN ID.

To obtain the value, run the "show lun general" command without parameters. The value ranges from 0 to 65535.

lba=? Start LBA of the LUN DIF scan.

The maximum value cannot exceed the maximum capacity of the LUN. The value ranges from 0 to 549755813887.

length=? Length of the LUN DIF scan.

The maximum value cannot exceed the maximum capacity of the LUN. The value ranges from 1 to 549755813888.

controller=? ID of a controller.

To obtain the value, run "show controller general". The value is in the format of "XA", "XB", "XC" or "XD", where the "X" is an integer ranging from 0 to 3.

disk_domain_id=? Disk domain ID.

To obtain the value, run the "show disk_domain general" command in the guest view. The value ranges from 0 to 127.

Views

Developer view

Usage Guidelines

If parameter "controller=?" is set to the default value, this command is applicable only to the current controller. If parameter "controller=?" is specified, this command takes effect only on the specified controller.

Example

  • Start the DIF scan task for all LUNs of disk domain "0" on controller 0A. The scan covers 100 sectors whose start LBA is "0".

    developer:/>change dif_scan enabled controller=0A enabled=start disk_domain_id=0 lba=0 length=100
    Command executed successfully.
  • Start the DIF scan task for LUN "0" on the current controller.

    developer:/>change dif_scan enabled enabled=start lun_id=0
    Command executed successfully.
  • Start the DIF scan task for LUN "0" on controller 0A.

    developer:/>change dif_scan enabled controller=0A enabled=start lun_id=0
    Command executed successfully.
  • Stop the DIF scan task for all LUNs on the current controller.

    developer:/>change dif_scan enabled enabled=stop
    Command executed successfully.
  • Start the DIF scan task for all LUNs on controller 0A.

    developer:/>change dif_scan enabled controller=0A enabled=stop
    Command executed successfully.
  • Start the DIF scan task for all LUNs of disk domain "0" on the current controller.

    developer:/>change dif_scan enabled enabled=start disk_domain_id=0
    Command executed successfully.
  • Start the DIF scan task for all LUNs of disk domain "0" on controller 0A.

    developer:/>change dif_scan enabled controller=0A enabled=start disk_domain_id=0
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 728626

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next