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 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).
show pal truncate_info

show pal truncate_info


The show pal truncate_info command is used to query the asynchronous truncation information of a file system or global truncation information.


show pal truncate_info [ file_system_id=? ]





file_system_id=? File system ID.

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


Developer view

Usage Guidelines



  • Query PAL asynchronous truncation information.

    developer:/>show pal truncate_info 
    Async truncate info : 
    Async Switch : on 
    Task Switch : on 
    Timer ID : 13 
    Task Status : 0 
    Total Truncate Count : 0 
    Trunc count Each Task : 10 
    Next File System ID : 1 
    Bit Size Shift : 25 
    Bit Size : 33554432 
    Max File Size : 281474976710656 
    Async truncate task info: 
    Error Number : 45 
    Retry Number : 44 
    Truncate Size : 566398812160 
    Trunc File Number : 3 
    Task Run Number : 107 
    Task Run Time : 260234 
    Truncate perfomance : 2077 m/s
  • Query asynchronous truncation information of file system "0".

    developer:/>show pal truncate_info file_system_id=0
    Async truncate file system(0) info:
    Start Queue ID : 40
    End Queue ID : 46
    File System Truncate Number : 0
    Next Queue ID : 0
    Truncate Status : 0
    Load Status : 1
    Queue ID    File Count

System Response

The following table describes the parameter meanings.



Async Switch

Feature switch.

Task Switch

Switch of a background task.

Timer ID

Timer ID.

Task Status

Operating status of a timer task.

Total Truncate Count

Total count of files to be truncated. The default value is "0".

Trunc count Each Task

Count of files to be truncated by each task.

Next File System ID

Next file system to be processed by a background task.

Bit Size Shift

Specifies the offset of the data mount that maps to each bit.

Bit Size

Specifies the data mount that maps to each bit.

Max File Size

Specifies the maximum file size.

Error Number

Number of background errors.

Retry Number

Number of flow control retries.

Truncate Size

Truncation size.

Trunc File Number

Number of truncated files.

Task Run Number

Count of task execution.

Task Run Time

Task execution time, expressed in milliseconds.

Truncate perfomance

Truncation performance statistics.

Start Queue ID

Start queue ID of asynchronous truncation.

End Queue ID

End queue ID of asynchronous truncation.

File System Truncate Number

Number of files to be truncated in the file system. The default value is "0".

Next Queue ID

ID of the next queue to be processed.

Truncate Status

Truncation status.

Load Status

Feature load status.

Queue ID

ID of the current queue.

File Count

Count of files truncated by the current queue.

Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 719421

Downloads: 31

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next