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

FusionStorage 8.0.0 DSware Tool Command Reference 02

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).
Querying Volumes or Snapshots Associated with a QoS Policy

Querying Volumes or Snapshots Associated with a QoS Policy

Run the following command to query the volumes or snapshots associated with a QoS policy:

./dswareTool.sh --op queryQoSAssociatedVolume -n qosName -poolId poolId -queryType (optional) volume/snapshot -pageNum (optional) pageNumber -pageSize (optional) pageSize -keyword (optional) keyword

Parameter

Description

./dswareTool.sh

Specifies an executable program for the tool.

--op queryQoSAssociatedVolume

Queries volumes or snapshots associated with the specified QoS policy.

-n qosName

Specifies the QoS policy name.

-poolId poolId

Specifies the ID of the storage pool accommodating the volumes or snapshots.

-queryType (optional) volume/snapshot

Specifies whether to query the volumes or snapshots associated with the policy.

-pageNum (optional) pageNumber

Specifies the number of pages. The default value is 1. This parameter is optional.

-pageSize (optional) pageSize

Specifies the number of volumes or snapshots displayed on one page. The default value is 10. This parameter is optional.

-keyword (optional) keyword

Specifies the keyword used for searching the matched volumes or snapshots. This parameter is optional.

An example is provided as follows:

dsware@FSM:/opt/dsware/client/bin> sh dswareTool.sh --op queryQoSAssociatedVolume -queryType volume -n cmd_qos_b -poolId 0
[Tue May 24 17:33:59 CST 2016] DswareTool operation start.
Enter User Name:admin
Enter Password :
Operation finish successfully. Result Code:0
Index   poolId      createTime              status      volSize     realSize    fatherName                          volName                             wwn                                 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1       0           2016-06-24 02:52:20     0           1024        0           test01_lc                           cmd_t_vol_1                         0x6888603000000007286eaf3a65732856  
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total records : 1. Page size : 10. Page number : 1/1
[Tue May 24 17:34:24 CST 2016] DswareTool operation end.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081411

Views: 4890

Downloads: 3

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