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 storage systems. It describes hardware installation of those storage systems for helping you easily and quickly finish the installation.

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_name=? ] | 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=? ID of a specified read-only snapshot to be queried.

The value is the ID of an existing snapshot.

snapshot_name Snapshot name.

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

Level

Guest

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.

Example

  • 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
  • Query the snapshot named "snap0" in file system "1".

    admin:/>show fs_snapshot general file_system_id=1 snapshot_name=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.

Parameter

Meaning

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.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181601

Views: 380088

Downloads: 54

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next