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.


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

show fs_snapshot general


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.


show fs_snapshot general { file_system_id=? | snapshot_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".


ID of a specified read-only snapshot to be queried.

The value is the ID of an existing snapshot.



Usage Guidelines

  • 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.


  • Query all snapshots in file system "1".
    admin:/>show fs_snapshot general file_system_id=1 
    Snapshot ID Snapshot Name File System ID File System Name Health Status Time Stamp Consumed Capacity UTC Time Stamp 
    ----------- ------------- -------------- ---------------- ------------- -------------------------- ----------------- 
    1@snap0 snap0 1 file1 Normal 2014-07-21/10:40:39 +08:00 0.000B 2014-07-21/02:40:39 +00:00
  • Query snapshot "1@snap0".
    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 
    Consumed SSD Capacity : 0.000B 
    UTC Time Stamp : 2014-07-21/02:40:39 +08:00 

System Response

The following table describes the parameter meanings.



Snapshot ID

Indicates the ID of the snapshot.

Snapshot Name

Name of a read-only 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.

Consumed SSD Capacity

Indicates the SSD capacity consumed by the snapshot.

UTC Time Stamp

Queries the Coordinated Universal Time (UTC) creation time of the snapshot.

Updated: 2019-09-02

Document ID: EDOC1000181601

Views: 320868

Downloads: 41

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