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 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. 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).
spacetx show

spacetx show

Function

The spacetx show command is used to query the status of the current task.

Format

spacetx show file_system_id [ type ]

Parameters

Parameter

Description

Value

file_system_id

File system ID.

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

type

Type of the status to be queried.

The value can be "tno","syncing","history" or "detail", where:

  • "tno": ID of the task to be queried.
  • "syncing": syncing.Show the syncing tno information.
  • "history": history.Show the history tno information.
  • "detail": detail.Show the detail information.

Views

Diagnostic view

Usage Guidelines

This command is applicable only to the local controller.

Example

Query the status of the current file system.


admin:/diagnose>spacetx show 1 

  Instance ID                  : 1  
  Thread Switch                : Open 
  Thread State               : Idle  
  Write Mode                : writeback  
  NextOpen Tno                 : 5  
  Synced Tno                 : 4  
  Open Total                : 0  
  Quiesce Total                : 0  
  Wait Total                : 0 


System Response

The following table describes the parameter meanings.

Parameter

Meaning

Instance ID

ID of the handle instance.

Thread Switch

Status of the background thread.

Thread State

Operating status of the background thread.

Open max Wait Count

The max count of waiting to Open.

Open cond Wait

Number of waiting to Open.

Sync max Wait Count

The max count in wait queue.

Write Mode

Task status of the file system.

Stop Error Type

Type of error.

Begin Goto Count

The max cycl times of get Tno.

First log Count

Count of first log.

NextOpen Tno

Task number to be allocated for the next task.

Synced Tno

Number of the task that has been stored in disks.

State

Task status.

Error log Count

Count of error log.

Lastpro Tno

Last processed number.

Sync Check

Flag of flush check.

Sync End

The end number of flushing.

Sync Begin

The begain number of flushing.

Sycing Handle

Handle number.

Timer Count

The count of timer.

TimerOut Value

The timer timing cycle.

Open Total

Number of tasks in the Open state.

Syncing Tno

Number of the task.

Write Flag

Write flag.

Quiesce Total

Number of tasks in the Quiesce state.

Wait Total

Number of tasks in the Wait state.

Abort Code

Framework error code obtained in task abortion.

Abort Private

Error code obtained from the service module in task abortion.

Abort Type

Service module that returns the error in task abortion.

Return Error

Error code returned by the task framework.

Return Private

Error code that needs to be transferred transparently by services.

Error Time

Failure point in time in task abortion.

Error Module

Service module that fails in task abortion.

Transaction Number

Task number.

Reference Count

Count of task numbers.

Total Size

Amount of data processed by the task.

Arg Count

Number of arg parameters of the handle.

Child Count

Whether the task callback is complete.

Notify Count

Whether to notify and invoke the cache flusher during task flushing.

Open Check

Flag of overload.

Notify Not Free

Whether to delete the handle when the task is abnormal.

Process State

Task status.

Magic Number

Magic number of the task.

Para Value

Record task.

Ret

Value returned to the record task handle.

Begin Total

Total count of begin operations.

Return Value

Value that needs to be transparently transferred to the parent invoker after asynchronous invoking.

Cond Synced

Handle that notifies cache flushing.

Step

Time required at each step when record tasks are stored in disks.

Open Tno

Number of the task that is in the Open state.

Begin Cnt

Total count of begin operations of the instance.

End Cnt

Total count of begin operations of the instance.

Through Flag

Whether the handle is written through.

Retry Count

Count of task retries.

Context ID

ID of context.

Open Tno

Number of the current Open queue.

Notify Wake Up

Flag of waking a snapshot that is in asynchronous waiting.

Seq

SN in the historical record.

Syncing Step

Information about and time required in each phase when the task is stored in disks.

Big Io Pass Count

Number of big I/O.

End Total

Total count of end operations.

Open2Q Tno

Last writeback number after the file systerm change to though.

Quiesce Maxset

The max number of tasks in quiesce state.

Wait Maxset

The max number of tasks in the Wait state.

Through Io Wait Cnt

The max wait count of through I/O.

Open Cnt

Number of tasks in the Open state.

Wait Clear Count

Count of waiting to clear.

Open TXG

Number of the task that is in the Open state.

Refcnt

The reference count in Open handle.

Clean State

Clean status.

Cleaning Flag

Whether the handle is cleaning.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 645821

Downloads: 30

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