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 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands."
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 fs_snapshot general

show fs_snapshot general

Function

The show fs_snapshot general command is used to query a snapshot in a file system, including the name, snapshot ID, file system ID, file system name, health status of the snapshot, snapshot creation time, and capacity consumed by the snapshot.

Format

show fs_snapshot general { file_system_id=? | snapshot_id=? }

Parameters

Parameter

Description

Value

file_system_id=? Indicates the ID of the file system where the snapshot you want to query resides.

To obtain the value, run "show file_system general".

snapshot_id=? Indicates the ID of the snapshot you want to query.

File system id @ snapshot name,the file system id is an integer between 0 and 65535,the snapshot name consists of 1 to 127 ASCII characters including letters, numbers, and underscores (_).

Level

Guest

Usage Guidelines

  • "file_system_id" and "snapshot_id" are mutually exclusive.
  • Before running this command: check whether the ID of the file system you want to query is correct.
  • Before running this command: check whether the ID of the snapshot you want to query is correct.
  • This command does not support OceanStor 2200 V3 storage system.

Example

  • To query all snapshots in file system 1, run the following command:

    admin:/>show fs_snapshot general file_system_id=1
    Snapshot ID Snapshot Name File System ID File System Name Health Status Time Stamp 
    ----------- ------------- -------------- ---------------- ------------- -------------------------- 
    1@snap0 snap0 1 file1 Normal 2014-07-21/10:40:39 +08:00
  • To query snapshot 1@snap0, run the following command:

    admin:/>show fs_snapshot general snapshot_id=1@snap0
    Snapshot ID : 1@snap0 
    Snapshot Name : snap0 
    File System ID : 1 
    File System Name : file1 
    Health Status : Normal 
    Time Stamp : 2014-07-21/10:40:39 +08:00 
    User Capacity : 224.000KB 
    Consumed Capacity : 0.000B

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Snapshot ID

Indicates the ID of the snapshot.

Snapshot Name

Indicates the name of the snapshot.

File System ID

Indicates the ID of the file system where the snapshot you want to query resides.

File System Name

Indicates the name of the file system where the snapshot you want to query resides.

Health Status

Indicates the health status of the read-only snapshot.

Time Stamp

Indicates the time when the snapshot was created.

User Capacity

Indicates the used capacity of the current file system.

Consumed Capacity

Indicates the capacity consumed by the snapshot.

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 259916

Downloads: 176

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