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 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, 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

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.

The value is the ID of the snapshot you want to query.

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

    Usage Guidelines

    None.

    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-04

Document ID: EDOC1000084195

Views: 303784

Downloads: 1561

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