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

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. Based on the CLI provided by DeviceManager, 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).
create snapshot general

create snapshot general

Function

The create snapshot general command is used to create snapshots. You can create an identical and usable point-in-time duplicate for a data object by running this command.

Format

create snapshot general lun_id_list=? name=? [ snapshot_id=? | snapshot_id_list=? ] [ description=? ]

Parameters

Parameter

Description

Value

lun_id_list=?

ID of a source logical unit number (LUN).

To obtain the value, run "show snapshot available_lun".

You can specify multiple source LUN IDs separated by commas (,), or ID range separated by hyphens (-), such as: 0, 5-8.

name=?

Name of a snapshot.

The value contains 1 to 31 characters including letters, digits, hyphens (-), underscores (_), and periods (.).

NOTE:

When creating snapshots in a batch, the length of "name=?" cannot exceed 27 characters.

.

snapshot_id=?

ID of a snapshot. This parameter is used to set the ID for a newly created snapshot. After the snapshot ID is set, it cannot be changed.

The value is an integer ranging from 0 to 65535.

snapshot_id_list

Snapshot ID list. This parameter is used to set the IDs for newly created snapshots. After the snapshot IDs are set, they cannot be changed.

You can add multiple snapshot IDs that are separated by commas (,) or by hyphens (-) to represent the ID range. For example: 100,110-115.

description

Snapshot description.

The value contains 1 to 255 characters.

Level

Administrator

Usage Guidelines

You can create multi-snapshots for different LUNs in the mean time.

Example

  • Create a snapshot for LUN "5", and the name is "new".
    admin:/>create snapshot general lun_id_list=5 name=new 
    Create snapshot of LUN 5 successfully.
  • Create a snapshot respectively for LUNs "1", "3", and "4".
    admin:/>create snapshot general lun_id_list=1,3,4 name=new001 
    Create snapshot of LUN 1 successfully. 
    Create snapshot of LUN 3 successfully. 
    Create snapshot of LUN 4 successfully.

System Response

None

Translation
Download
Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 328318

Downloads: 41

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