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).
spacetx show

spacetx show


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


spacetx show file_system_id [ type ]





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.


Diagnostic view

Usage Guidelines

This command is applicable only to the local controller.


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.



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.


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.


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.


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.


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.


The reference count in Open handle.

Clean State

Clean status.

Cleaning Flag

Whether the handle is cleaning.

Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 743280

Downloads: 59

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next