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.


Advanced O&M 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, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these 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 resource

show fs_snapshot resource


The show fs_snapshot resource command is used to query information about space usage and background process operating status.


show fs_snapshot resource file_system_id=? controller=?





file_system_id=? File system ID.

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

controller=? Controller ID.

The value is in the format of "XA" or "XB" or "XC" or "XD", where the "X" is an integer ranging from 0 to 3, for example: "0A", "1C".


Developer view

Usage Guidelines

Before running this command, check whether the working controller ID of the file system is correct.


Query information about space usage and background process operating status.

developer:/>show fs_snapshot resource file_system_id=1 controller=0B
File System Used Space : 22118400
Snapshot Used Space : 0
Free Space Form Delete : 0
Free Space Form Rollback : 0
Current Task ID : 0
Background Running : FALSE
Background Has Task : FALSE

System Response

The following table describes the parameter meanings.



Free Space From Delete

Space reclaimed after the snapshot is deleted.

Free Space From Rollback

Space reclaimed after the snapshot is rolled back.

Current Task ID

ID of a background task.

Background Running

Whether background snapshot reclamation is implemented.

Background Has Task

Whether a background snapshot reclamation task is incomplete.

Snap Used

Total space occupied by read-only snapshots, expressed in bytes.

File System Used Space

Capacity usage of the file system, expressed in bytes.

Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 743325

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next