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

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F 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).
volume showresrunning

volume showresrunning

Function

The volume showresrunning command is used to view the resource allocation of a data volume.

Format

volume showresrunning { volumeid | all } type

Parameters

Parameter

Description

Value

volumeid

Volume ID.

The value ranges from 0 to n

minus one. n indicates the

maximum number of LUNs.

all

All resource type.

-

type

Resource type.

Possible values are:

  • data: data storage space.
  • cow: snapshot storage

space.

Views

Diagnostic view

Usage Guidelines

None

Example

View statistics on volume allocation and release.

admin:/diagnose>volume showresrunning 0 data 
  Allocate Statistics 
  Extent Num From Pool                  : 0 
  Grain Num From Res Tree               : 0 
  Total In Grain                        : 0 
  Total Out Grain                       : 0 
  Free Statistics 
  Extent Num To Pool                    : 0 
  Grain Num In Res Tree                 : 0 
  Total In Grain                        : 0 
  Total Out Grain                       : 0 
  Res Tree 
  Total Entry Num                       : 0 
  Leaf Node Num                         : 0 
  Inner Node Num                        : 0 
  Root ID                               : 0xffffffffffffffff 
  Res Manager 
  Grain Density                         : 1 
  Res Alloc New 
  Max Grain Num                         : 1056 
  Max Bit Num                           : 81920 
  Allocate Threshold                    : 16 
  Task Num                              : 0 
  Background Allocate Task 
  Task State                            : Enable 
  Is Allocate Task In Process           : FALSE 
  Total Request Grain Num               : 0 
  Finished Request Grain Num            : 0 
  Front Allocate Waiting Task 
  Waiting Task Status                   : TASK_NOT_USED 
  TX ID                                 : 0xffffffffffffffff 
  Waiting Grain Num                     : 0 
  Finished Grain Num                    : 0 
  Res Free New 
  Max Grain Num                         : 64 
  Max Item Num                          : 1280 
  Task Num                              : 0 
  Background Free Task 
  Task State                            : Idle 
  Is Free Task In Process               : FALSE 
  Total Request Grain Num               : 0 
  Finished Request Grain Num            : 0 
  Res Free Extent New 
  Max Grain Num                         : 64 
  Max Item Num                          : 1280 
  Task Num                              : 0 
  Background Free Extent Task 
  Task State                            : Idle 
  Is Free Extent Task In Process        : FALSE 
  Total Request Grain Num               : 0 
  Finished Request Grain Num            : 0 
  Front Free Waiting Task 
  Waiting Task Status                   : TASK_NOT_USED 
  TX ID                                 : 0xffffffffffffffff 
  Waiting Grain Num                     : 0 
  Finished Grain Num                    : 0 
  Thick Lun Pre Alloc Task 
  Is Task Finished                      : Yes 
  Is Task In Process                    : No 
  Current Alloc Extend ID               : 0 
  Finished Extent Num                   : 51200 
  Total Extent Num                      : 51200

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Allocate Statistics

Statistics on resource allocation.

Extent Num From Pool

Number of extents allocated from the pool.

Grain Num From Res Tree

Number of grains allocated from the resource tree.

Total In Grain

Total number of grains that are in queues.

Total Out Grain

Total number of grains that are outside the queues.

Free Statistics

Statistics on resource release.

Extent Num To Pool

Number of extents released to the pool.

Grain Num In Res Tree

Number of extents in the resource tree.

Res Tree

Resource tree information.

Total Entry Num

Number of nodes.

Leaf Node Num

Number of leaf nodes.

Inner Node Num

Number of internal nodes.

Root ID

ID of the root node.

Res Manager

Resource management information.

Grain Density

Grain density, expressed in grains per extent.

Res Alloc New

Allocator information.

Max Grain Num

Maximum number of grains that can be allocated each time.

Max Bit Num

Maximum length of the allocation queue.

Allocate Threshold

Enabled background allocation threshold.

Task Num

Number of background tasks.

Background Allocate Task

Information about background allocation tasks.

Task State

Task status.

Is Allocate Task In Process

Whether resource reservation is in progress.

Total Request Grain Num

Number of grain applied this time.

Finished Request Grain Num

Number of finished grains.

Front Allocate Waiting Task

Information about allocation waiting tasks.

Waiting Task Status

Status of allocation waiting tasks.

TX ID

Task ID.

Waiting Grain Num

Number of grains to be allocated.

Finished Grain Num

Number of grains that have been allocated.

Res Free New

Releaser information.

Max Item Num

Maximum number of items that can be released each time.

Task Num

Maximum number of items in a queue.

Background Free Task

Information about background release tasks.

Task State

Task status.

Is Free Task In Process

Whether resource release is in progress.

Total Request Grain Num

Total number of grains to be released.

Finished Request Grain Num

Number of grains that have been released.

Res Free Extent New

Information about background release.

Max Grain Num

Maximum number of grains that can be released each time.

Max Item Num

Maximum length of the release queue.

Task Num

Number of release tasks.

Background Free Extent Task

Information about level-2 background release.

Task State

Task status.

Is Free Extent Task In Process

Whether level-2 background tasks are in progress.

Total Request Grain Num

Not used at present.

Finished Request Grain Num

Not used at present.

Front Free Waiting Task

Information about foreground release waiting tasks.

Waiting Task Status

Status of the waiting task.

TX ID

Task ID.

Waiting Grain Num

Number of grains to be released.

Finished Grain Num

Number of grains that have been released.

Thick Lun Pre Alloc Task

Information about the pre-allocation of thick LUNs.

Is Task Finished

Whether a task is complete.

Is Task In Process

Whether a task is in progress.

Current Alloc Extend ID

Extent ID currently allocated.

Finished Extent Num

Pre-allocation progress.

Total Extent Num

Total number of allocated extents.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 632964

Downloads: 252

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