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

Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"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).
scan virtual_machine block

scan virtual_machine block

Function

The scan virtual_machine block command is used to scan the block device information in a virtual machine (VM) container.

Format

scan virtual_machine block owner_container_id=?

scan virtual_machine block owner_container_id=? [ enlarge_vmfs_enabled=? ]

Parameters

Parameter

Description

Value

owner_container_id=? ID of the VM container.

To obtain the value, run the "show vm_container general" command without parameters.

enlarge_vmfs_enabled=? Vmfs enlarged or not. This parameter can be specified only in developer mode. For details about how to go to the developer mode, see the Restricted Command Reference.

The value can be "yes" or "no",where:

  • "yes": enlarge the vmfs.
  • "no": do not enlarge the vmfs.

Level

Administrator

Usage Guidelines

Only OceanStor 5300 V3 (32 GB memory), 5500 V3 (48 GB/64 GB memory), 5600 V3 (64 GB/128 GB memory), and 5800 V3 (128 GB/256 GB memory) support this command.

Example

  • Scan for the block device in a VM container.

    admin:/>scan virtual_machine block owner_container_id=1
    Command executed successfully.
  • Scan for the block device in a VM container and expand the file system where the virtual machine resides.

    developer:/>scan virtual_machine block owner_container_id=1 enlarge_vmfs_enabled=yes
    CAUTION: You are about to expand the file system where the virtual machine resides. This operation will expand the capacity of the file system.
    Suggestion: Run the show vm_fs general vm_fs_id=? command to check whether the file system has been successfully expanded based on detailed information about the file system. Large capacities of block devices or data reads and writes may prolong the time required for file system expansion. Check whether the file system has been successfully expanded later.
    Do you wish to continue?(y/n)y
    Command executed successfully.
  • Scan for the block device in a VM container.

    developer:/>scan virtual_machine block owner_container_id=1 enlarge_vmfs_enabled=no
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 279149

Downloads: 1559

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