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

OceanStor 9000 V5 7.0 Command Reference 03

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).
show snapshot general

show snapshot general

Function

The show snapshot general command is used to query snapshots.

Format

show snapshot general [ dir_path=? ] [ snapshot_id=? ] [ start_id=? ]

Parameters

Parameter

Description

Value

dir_path Snapshot directory.

The value is 2 to 4000 characters in length and starts with a slash (/),the root directory is not supported.

snapshot_id Snapshot ID.

snapshot you want to query, and only numbers can be entered.

This parameter is mutually exclusive with all other optional parameters. If "snapshot_id" is specified, the corresponding snapshot is queried, and the two other parameters cannot be specified.

start_id Start ID.

The value is an integer ranging from 0 to 18446744073709551613.

Level

Resource administrator

Usage Guidelines

  • Check snapshots one by one by specifying the ID.
  • You can batch query snapshots by specifying the directory or starting ID.
  • If "dir_path" is specified, all the snapshots of this directory will be queried.
  • If "start_id" is specified, all the snapshots after the ID will be queried.
  • Read-only users can also run this command to view information.

Example

Query a snapshot.

admin:/>show snapshot general
 
  ID : 1 
  Name : snapshot_141999177514 
  RunningStatus : Running 
  Description : 
  TimeStamp : 2014-12-31/10:07:26 +08:00 
  ConsumedCapacity : 0.000B 
DirectoryPath : /test 
ExpireTime : infinite

System Response

The following table describes the parameter meanings.

Parameter

Meaning

ID

Snapshot ID.

Name

Snapshot name.

RunningStatus

Current status of the snapshot.

Description

Snapshot description.

TimeStamp

Time when the snapshot was created.

ConsumedCapacity

Capacity consumed by the snapshot.

DirectoryPath

Directory of the snapshot.

ExpireTime

Expiration time of the snapshot.

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24328

Downloads: 7

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