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


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


Administrator Guide

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Routine maintenance activities are the most common activities for the storage device, including powering on or off the storage device, managing users, modifying basic parameters of the storage device, and managing hardware components. This document is intended for the system administrators who are responsible for carrying out routine maintenance activities, monitoring the storage device, and rectifying common device faults.
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).
Deleting a VM Template File

Deleting a VM Template File

This operation enables you to delete a VM template file.


At least one VM exists in the storage system.

Do not delete a VM template file using the SFTP tool. Otherwise, the VM template file of the VM cannot be used normally. If a VM template file is required, transfer it to the storage system. If no VM template file is required, delete the VM template file from the VM.


  1. Go to the CLI.
  2. On the CLI, run delete vm_template general vm_fs_id=? name=?. Table 5-44 describes the related parameters.

    Table 5-44 Parameters for deleting a VM template file





    ID of the VM file system

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


    Name of the VM template

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

  3. Confirm that all required parameters are correctly configured.


Delete VM template file test.img from file system 1.

admin:/>delete vm_template general vm_fs_id=1 name=test.img 
WARNING: You are about to delete a file. The deleted file cannot be recovered. 
Suggestion: Before performing this operation, ensure that the target file is the one you want to 
Have you read warning message carefully?(y/n)y 
Are you sure you really want to perform the operation?(y/n)y 
Command executed successfully.
Updated: 2019-07-11

Document ID: EDOC1000181576

Views: 18651

Downloads: 25

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