API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationReferenceGlossary

Viewing chunks

Viewing the list of connected chunks in a cluster

Procedure

Run the following command on any node in the cluster:

zbs-meta chunk list [--show_details]

Parameter description

ParameterDescription
--show_detailsOptional. Specifies whether to display more detailed chunk information.

Output example

  ID  IP            Host Name                                         Port  Storage Pool    Use State    Link Status        Data Capacity    Valid Space    Allocated Space    Failure Data Space    Perf Data Capacity    Perf Valid Space    Perf Allocated Space    Perf Failure Data Space    Registered Date      LSM Version    Zone     Maintenance Mode
----  ------------  ----------------------------------------------  ------  --------------  -----------  -----------------  ---------------  -------------  -----------------  --------------------  --------------------  ------------------  ----------------------  -------------------------  -------------------  -------------  -------  ------------------
   1  10.2.234.198  acos-6-3-0-b45-el7X0617125715X3   10200  system          IN_USE       CONNECTED_ERROR    602.34 GiB       602.34 GiB     0.00 B             0.00 B                20.00 GiB             20.00 GiB           768.00 KiB              0.00 B                     2024-06-17 14:06:12  2.4.1          default  False
   2  10.2.234.196  acos-6-3-0-b45-el7X0617125715X1   10200  system          IN_USE       CONNECTED_HEALTHY  602.34 GiB       602.34 GiB     0.00 B             0.00 B                20.00 GiB             20.00 GiB           256.75 MiB              0.00 B                     2024-06-17 14:06:13  2.4.1          default  False
   3  10.2.234.197  acos-6-3-0-b45-el7X0617125715X2   10200  system          IN_USE       CONNECTED_HEALTHY  602.34 GiB       602.34 GiB     0.00 B             0.00 B                20.00 GiB             20.00 GiB           256.75 MiB              0.00 B                     2024-06-17 14:06:13  2.4.1          default  False

Output note

ParameterDescription
IDThe chunk ID.
IPThe chunk storage IP.
HostNameThe chunk node hostname.
PortThe chunk RPC port.
Storage PoolThe associated storage pool.
Use StateThe usage status.
Link StatusThe connection status.
Data CapacityThe total data capacity provided by the capacity tier.
Valid SpaceThe valid data space in the capacity tier.
Allocated SpaceThe allocated data space in the capacity tier (space recognized as used by meta).
Failure Data SpaceThe failure data space in the capacity tier.
Perf Data CapacityThe total data capacity provided by the performance tier.
Perf Valid SpaceThe valid data space in the performance tier.
Perf Allocated SpaceThe allocated data space in the performance tier (space recognized as used by meta).
Perf Failure Data SpaceThe failure data space in the performance tier.
Registered DateThe registration time.
LSM VersionThe LSM version.
ZoneThe associated availability zone.
Maintenance ModeWhether it is in maintenance mode.

Viewing the list of chunks on a cluster node

Procedure

Run the following command on any cluster node to view the list of chunks on a specified node in the cluster:

zbs-meta node show <data_ip> [--show_details]

You can also run the following command on any cluster node to view the list of chunks on all nodes in the cluster:

zbs-meta node list [--show_details]

Parameter description

ParameterDescription
data_ipThe node storage IP address.
--show_detailsOptional. Specifies whether to display more detailed node information.

Output example

Node: 10.0.128.55, Host: Node55
  INS ID    CID    Data Port  Status               Cap Size    Cap Valid    Cap Alloc    Perf Size    Perf Valid    Perf Alloc    Register Date
--------  -----  -----------  -------------------  ----------  -----------  -----------  -----------  ------------  ------------  -------------------
       1      2        10201  🟢 CONNECTED_HEALTHY  4.70 TiB    4.70 TiB     10.00 GiB    536.00 GiB   536.00 GiB    270.60 GiB    2024-12-24 11:20:43
       2      4        12201  🟢 CONNECTED_HEALTHY  5.05 TiB    5.05 TiB     0.00 B       475.20 GiB   475.20 GiB    85.52 GiB     2025-01-15 14:32:34
       3      5        14201  🟢 CONNECTED_HEALTHY  5.20 TiB    5.20 TiB     5.00 GiB     594.00 GiB   594.00 GiB    186.90 GiB    2025-01-15 14:32:37
       4      6        16201  🟢 CONNECTED_HEALTHY  5.20 TiB    5.20 TiB     5.00 GiB     594.00 GiB   594.00 GiB    186.90 GiB    2025-01-15 14:37:50

Output note

ParameterDescription
NodeThe node storage IP.
HostThe node hostname.
INS IDThe physical disk pool ID.
CIDThe chunk ID.
Data PortThe chunk data communication port.
StatusThe connection status.
Cap SizeThe total data capacity provided by the capacity tier.
Cap ValidThe valid data space in the capacity tier.
Cap AllocThe allocated data space in the capacity tier (space recognized as used by meta).
Perf SizeThe total data capacity provided by the performance tier.
Perf ValidThe valid data space in the performance tier.
Perf AllocThe allocated data space in the performance tier (space recognized as used by meta).
Registered DateThe registration time.

Procedure

Run the following command on any node in the cluster to check the data link connectivity between chunks that are normally connected to meta:

zbs-meta cluster get_chunk_connectivities

Output example

cid 1: {1: CONNECTED, 2: CONNECTED, 3: CONNECTED, 4: DISCONNECTED}
cid 2: {1: CONNECTED, 2: CONNECTED, 3: CONNECTED, 4: CONNECTED}
cid 3: {1: CONNECTED, 2: CONNECTED, 3: CONNECTED, 4: CONNECTED}
cid 4: {1: DISCONNECTED, 2: CONNECTED, 3: CONNECTED, 4: CONNECTED}

Procedure

Run the following command on any node in the cluster to check the data link connectivity between a chunk and other chunks that are normally connected to meta:

zbs-meta cluster show_chunk_connectivity <cid>

ParameterDescription
cidThe chunk ID required to obtain data link connectivity with other chunks.

Output example

dst cid: 1, CONNECTED
dst cid: 2, CONNECTED
dst cid: 3, CONNECTED
dst cid: 4, DISCONNECTED

Viewing detailed information about a node chunk

Procedure

Run the following command on any node in the cluster:

zbs-meta chunk show <data_ip> <data_port>

ParameterDescription
data_ipThe node storage IP address.
data_portThe port used by the chunk.

Output example

-----------------------  ----------------------------------------------
ID                       2
IP                       10.2.234.196
Host Name                5-6-0-b45-el7X0617125715X1
Port                     10200
Storage Pool             system
Use State                IN_USE
Link Status              CONNECTED_HEALTHY
Data Capacity            602.34 GiB
Valid Space              602.34 GiB
Allocated Space          0.00 B
Failure Data Space       0.00 B
Perf Data Capacity       20.00 GiB
Perf Valid Space         20.00 GiB
Perf Allocated Space     256.75 MiB
Perf Failure Data Space  0.00 B
Registered Date          2024-06-17 14:06:13
LSM Version              2.4.1
Zone                     default
Maintenance Mode         False
-----------------------  ----------------------------------------------

Output note

ParameterDescription
Storage PoolThe associated storage pool.
Use StateThe usage status.
Link StatusThe connection status.
Data CapacityThe total data capacity provided by the capacity tier.
Valid SpaceThe valid data space in the capacity tier.
Allocated SpaceThe allocated data space in the capacity tier (space recognized as used by meta).
Failure Data SpaceThe failure data space in the capacity tier.
Perf Data CapacityThe total data capacity provided by the performance tier.
Perf Valid SpaceThe valid data space in the performance tier.
Perf Allocated SpaceThe allocated data space in the performance tier (space recognized as used by meta).
Perf Failure Data SpaceThe failure data space in the performance tier.
Registered DateThe registration time.
LSM VersionThe LSM version.
ZoneThe associated availability zone.
Maintenance ModeWhether it is in maintenance mode.

Viewing the PID information about a node

Procedure

Run the following command on any node in the cluster:

zbs-meta chunk list_pid <chunk_id>

Output example

[root@localhost ~]# zbs-meta chunk list_pid 1
cap pid num: 11
cap thin pid num: 5
cap thick pid num: 6
cap rx pid num: 0
cap tx pid num: 4
cap recover src pid num: 5
cap new thin pid num: 0
cap thin reserved pid num: 0
cap thick reserved pid num: 0

perf pid num: 0
perf thin pid num: 0
perf thick pid num: 0
perf rx pid num: 0
perf tx pid num: 0
perf recover src pid num: 0
perf new thin pid num: 0
perf thin reserved pid num: 0
perf thick reserved pid num: 0

cap pid:                  8930,8938,9107,9112,10193,11230,11231,11234,11246,11250,11254
cap thin pid:             8930,8938,9107,9112,10193
cap thick pid:            11230,11231,11234,11246,11250,11254
cap rx pid:
cap tx pid:               12107,13426,14619,14628
cap recover src pid:      12107,13426,14619,14628,14654
cap new thin pid:
cap thin reserved pid:
cap thick reserved pid:

perf pid:
perf thin pid:
perf thick pid:
perf rx pid:
perf tx pid:
perf recover src pid:
perf new thin pid:
perf thin reserved pid:
perf thick reserved pid:

Output note

ParameterDescription
cap pidThe list of PIDs in the capacity tier managed by the chunk.
cap thin pidThe thin-provisioned PIDs in the capacity tier.
cap thick pidThe thick-provisioned PIDs in the capacity tier.
cap rx pidThe PIDs being received in the capacity tier.
cap tx pidThe PIDs being sent in the capacity tier.
perf pidThe list of PIDs in the performance tier managed by the chunk.
perf thin pidThe thin-provisioned PIDs in the performance tier.
perf thick pidThe thick-provisioned PIDs in the performance tier.
perf rx pidThe PIDs being received in the performance tier.
perf tx pidThe PIDs being sent in the performance tier.

Viewing the space utilization of all chunks in a cluster

Procedure

Run the following command on any node in the cluster:

zbs-meta chunk list_space

Output example

  ID  Cap Valid    Cap Alloc    Cap Ratio    Cap Total    Cap Failure    Cap Inherited    Perf Thin/Thick Valid    Perf Thin/Thick Alloc    Perf Thin/Thick Ratio    Perf Valid    Perf Alloc    Perf Total    Perf Failure    Perf Inherited    Prior Percent    Prior Planned    Prior Alloc
----  -----------  -----------  -----------  -----------  -------------  ---------------  -----------------------  -----------------------  -----------------------  ------------  ------------  ------------  --------------  ----------------  ---------------  ---------------  -------------
   1  109.57 TiB   8.48 TiB     7.70%        109.57 TiB   0.00 B         4.81 GiB         (8.82 TiB, 475.33 GiB)   (4.13 TiB, 226.25 GiB)   (46.85%, 47.60%)         9.28 TiB      4.60 TiB      9.28 TiB      0.00 B          0.00 B            5%               475.33 GiB       226.25 GiB
   2  95.87 TiB    12.82 TiB    13.40%       95.87 TiB    0.00 B         19.66 GiB        (7.84 TiB, 422.53 GiB)   (3.54 TiB, 303.25 GiB)   (45.22%, 71.77%)         8.25 TiB      3.96 TiB      8.25 TiB      0.00 B          0.00 B            5%               422.53 GiB       303.25 GiB
   3  41.09 TiB    7.82 TiB     19.00%       41.09 TiB    0.00 B         7.50 GiB         (7.84 TiB, 422.53 GiB)   (3.88 TiB, 305.00 GiB)   (49.43%, 72.18%)         8.25 TiB      4.29 TiB      8.25 TiB      0.00 B          0.00 B            5%               422.53 GiB       305.00 GiB
   4  47.94 TiB    5.42 TiB     11.30%       47.94 TiB    0.00 B         184.25 MiB       (3.92 TiB, 211.27 GiB)   (1.91 TiB, 131.00 GiB)   (48.84%, 62.01%)         4.13 TiB      2.12 TiB      4.13 TiB      0.00 B          0.00 B            5%               211.27 GiB       131.00 GiB
   5  41.09 TiB    898.48 GiB   2.10%        41.09 TiB    0.00 B         0.00 B           (7.84 TiB, 422.53 GiB)   (0.00 B, 507.50 MiB)     (0.00%, 0.12%)           8.25 TiB      422.53 GiB    8.25 TiB      0.00 B          0.00 B            5%               422.53 GiB       0.00 B
   6  109.57 TiB   6.39 TiB     5.80%        109.57 TiB   0.00 B         18.50 MiB        (8.82 TiB, 475.33 GiB)   (4.03 TiB, 223.75 GiB)   (45.69%, 47.07%)         9.28 TiB      4.49 TiB      9.28 TiB      0.00 B          0.00 B            5%               475.33 GiB       223.75 GiB
   7  47.94 TiB    5.08 TiB     10.60%       47.94 TiB    0.00 B         333.50 MiB       (3.92 TiB, 211.27 GiB)   (1.80 TiB, 152.00 GiB)   (46.01%, 71.95%)         4.13 TiB      2.01 TiB      4.13 TiB      0.00 B          0.00 B            5%               211.27 GiB       152.00 GiB

Viewing the chunk information in storage maintenance mode

Obtain information on chunks in storage maintenance mode, including chunk IDs and timeouts.

Procedure

Run the following command on any node in the cluster:

zbs-meta chunk get_maintenance

Output example

maintenance cid: 1
expire time left: 98 s

Output note

ParameterDescription
maintenance cidThe ID of the chunk in maintenance mode.
expire time leftThe maintenance mode expiration time.

Viewing chunk information

View information related to chunks, including supported features, the LSM version, and I/O rates.

Procedure

Run the following command on a cluster node to view the information about a specified physical disk pool chunk:

zbs-chunk [--ins_id <id>] summary

ParameterDescription
--ins_id <id>Optional. The physical disk pool ID. This parameter can be used to filter and display information for a specific physical disk pool in environments with multiple physical disk pools.

Output example

LSM Version:
============================================================
lsm_state                     : LSM_READY
lsm_version                   : 2.4.3
ctime(Instance 1)             : 2025-06-07T14:31:56Z
lsm_uuid(Instance 1)          : 7a1da998-1e48-472c-a7c7-298e8de2cc3d
ctime(Instance 2)             : 2025-06-07T14:31:56Z
lsm_uuid(Instance 2)          : be837875-fe8b-4b03-87a4-3c8712ab3db9

LSM Capability:
============================================================
LSM_CAP_DISK_SAFE_UMOUNT      : True
LSM_CAP_DISK_REJECT_UNHEALTHY : True
LSM_CAP_PARTITION_ISOLATE     : True
LSM_CAP_COMPARE_EXTENT        : True
LSM_CAP_CACHE_ISOLATE         : True

LSM Speed(All instances):
============================================================
LSM IOPS                      : 0 /s
LSM BW                        : 0.00 B/s(0.00 B/s)
Writeback IOPS                : 0 /s
Writeback BW                  : 0.00 B/s(0.00 B/s)
Unmap IOPS                    : 0 /s
Unmap BW                      : 0.00 B/s(0.00 B/s)
Waiting Reclaim Items         : 0

Data Channel Server:
============================================================
Use RDMA                      : False

chunk Capability:
============================================================
Agile Recover                 : True

Storage Server Status:
============================================================
iSCSI                         : Running
NFS                           : Running
Vhost                         : Running
NVMe-oF                       : Running

Flags:
============================================================
metric_on                     : True
trace_on                      : False
adaptive_trace_on             : True
accel_copy_mode               : ACCEL_COPY_DISABLED
chunk_instances_num           : 2

Output note

ParameterDescription
lsm_stateThe LSM status.
ctime The LSM creation time.
lsm_uuid The LSM UUID.
lsm_versionThe LSM version.
LSM_CAP_DISK_SAFE_UMOUNTTrue indicates that LSM can safely unmount physical disks.
LSM_CAP_DISK_REJECT_UNHEALTHYTrue indicates that LSM rejects unhealthy physical disks.
LSM_CAP_PARTITION_ISOLATETrue indicates that LSM can isolate physical data disks.
LSM_CAP_COMPARE_EXTENTTrue indicates that LSM can compare extent data.
LSM_CAP_CACHE_ISOLATETrue indicates that LSM can isolate physical cache disks.
LSM IOPSThe current LSM IOPS.
LSM BWThe current LSM bandwidth.
Writeback IOPSThe LSM writeback IOPS from the cache partition to the data partition.
Writeback BWThe LSM writeback BW from the cache partition to the data partition.
Unmap IOPSThe current Unmap IOPS.
Unmap BWThe current Unmap bandwidth.
Waiting Reclaim ItemsThe number of extents waiting to be reclaimed.
Use RDMAWhether RDMA is enabled.
Agile RecoverWhether agile recovery is enabled. After the chunk exits maintenance mode, agile recovery can complete data recovery more efficiently.
iSCSI The iSCSI server running status.
NFSThe NFS server running status.
VhostThe Vhost server running status.
NVMe-oF The NVMe-oF server running status.
metric_onTrue indicates that metric collection is enabled.
trace_onTrue indicates that I/O trace collection is enabled.
adaptive_trace_onTrue indicates that dynamic I/O trace collection is enabled.
accel_copy_modeThe status of the hardware-accelerated copy. ACCEL_COPY_DISABLED indicates that hardware-accelerated copy is disabled. ACCEL_COPY_BY_DSA indicates that hardware-accelerated copy is enabled. ACCEL_COPY_BY_SOFTWARE indicates that hardware-accelerated copy failed to be enabled due to a configuration error.
chunk_instances_numNumber of physical disk pools on the node.

Viewing chunk counters

The impact of read and write operations on the chunk is temporarily recorded in the chunk's counters.

Procedure

Run the following command on a cluster node to view all counters:

zbs-chunk counter list '*'

Output example

=================== ========== ============= ============== ==============

============ =========== ========== =========== ========== =========

NAME DURATION TOTAL VALUE TOTAL TIME TOTAL CNT

LAST VALUE LAST TIME LAST CNT CUR VALUE CUR TIME CUR CNT

=================== ========== ============= ============== ==============

============ =========== ========== =========== ========== =========

chunk read counter 1 1.66235e+11 1.45566e+14 4.01898e+07

0 0 0 0 0 0

chunk write counter 1 3.30623e+11 5.42942e+14 4.08241e+07

0 0 0 0 0 0

migrate 1 0 0 0

0 0 0 0 0 0

recover 1 2.68435e+08 1024 1024

0 0 0 0 0 0

=================== ========== ============= ============== ==============

============ =========== ========== =========== ========== =========

Viewing node recovery speed

Procedure

Run the following command on a cluster node to view the recovery speed of all or specific physical disk pools on the current node:

zbs-chunk [--ins_id <id>] recover list

ParameterDescription
--ins_id <id>Optional. The physical disk pool ID. This parameter can be used to filter and display information for a specific physical disk pool in environments with multiple physical disk pools.

Output example

Total Recover Speed: 0.00 B/s(0.00 B/s)
From Local Speed: 0.00 B/s(0.00 B/s)
From Remote Speed: 0.00 B/s(0.00 B/s)

Viewing node migration speed

Procedure

Run the following command on a cluster node to view the migration speed of all or specific physical disk pools on the current node:

zbs-chunk [--ins_id <id>] migrate list

ParameterDescription
--ins_id <id>Optional. The physical disk pool ID. This parameter can be used to filter and display information for a specific physical disk pool in environments with multiple physical disk pools.

Output example

Total Migrate Speed: 0.00 B/s(0.00 B/s)
From Local Speed: 0.00 B/s(0.00 B/s)
From Remote Speed: 0.00 B/s(0.00 B/s)

Viewing extents of a local chunk

Procedure

Run the following command on a cluster node to view extents in a specified range within a physical disk pool chunk:

zbs-chunk [--ins_id <id>] extent list [--start <START_PID>] [--length <LENGTH>]

ParameterDescription
--ins_id <id>Optional. The physical disk pool ID. The default value is 1. This parameter can be used to filter and display information for a specific physical disk pool in environments with multiple physical disk pools.
--start <START_PID>Optional. The starting PID of the extent. The default value is 0.
--length <LENGTH>Optional. The number of extents. The default and maximum value is 1024.

Output example

=====  ========  ==============  =========  ===========  ============  ========  =======  =====  =================  ======
  PID    STATUS    NUM CHILDREN    PART ID    EXTENT NO    ORIGIN PID  BITMAP      EPOCH    GEN  THICK PROVISION    PERF
=====  ========  ==============  =========  ===========  ============  ========  =======  =====  =================  ======
    5         1               0          0            0             0                  5   1783  False              True
   22         1               0          0            0             0                 14   1025  False              True
   23         1               0          0            0             0                 15      0  False              True
   24         1               0          0            0             0                 16      0  False              True
   25         1               0          0            0             0                 17      0  False              True
=====  ========  ==============  =========  ===========  ============  ========  =======  =====  =================  ======

Viewing all extents of a local chunk

Procedure

Run the following command on a cluster node to view all the extents in a specified physical disk pool chunk:

zbs-chunk [--ins_id <id>] extent listall --output_file <file>

ParameterDescription
--ins_id <id>Optional. The physical disk pool ID. The default value is 1. This parameter can be used to filter and display information for a specific physical disk pool in environments with multiple physical disk pools.
--output_file <file>Required. The path of the output file.

Output example

List all extents done.

Viewing the address configuration of local chunks

Procedure

Run the following command on a cluster node to view the address configuration information about all or specific physical disk pools' chunks on the current node:

zbs-chunk [--ins_id <id>] address show

ParameterDescription
--ins_id <id>Optional. The physical disk pool ID. This parameter can be used to filter and display information for a specific physical disk pool in environments with multiple physical disk pools.

Output example

rpc_ip: "10.0.128.25"
rpc_port: 10200
data_ip: "10.0.128.25"
data_port: 10201
data_unix_path: ""
meta_ip: "10.0.128.25"
meta_port: 10100
chunk_id: 4
secondary_data_ip: "20.0.128.25"
scvm_mode_host_data_ip: ""
instance_id: 1

rpc_ip: "10.0.128.25"
rpc_port: 10200
data_ip: "10.0.128.25"
data_port: 12201
data_unix_path: ""
meta_ip: "10.0.128.25"
meta_port: 10100
chunk_id: 9
secondary_data_ip: "20.0.128.25"
scvm_mode_host_data_ip: ""
instance_id: 2

Viewing real-time I/O metric data of a chunk

Procedure

Run the following command on a cluster node to view the I/O Metrics:

zbs-chunk [--ins_id <id>] metric <METRIC_TYPE>

ParameterDescription
--ins_id <id>Optional. The physical disk pool ID. The default value is 1. This parameter can be used to filter and display information for a specific physical disk pool in environments with multiple physical disk pools.
METRIC_TYPESpecifies the I/O type for which to view real-time metric data. Optional values: app (application I/O), sink (demotion I/O), reposition (recovery and migration I/O), and fc (flow control on the performance tier).

Output example

Viewing the metrics of application I/O (METRIC_TYPE = app)

-----------------------------  -----------------------------------------------------------
Access Perf Read               IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Perf Write              IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Read             IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Write            IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Replica Read        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Replica Write       IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Perf Promote Write      IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Promote Read     IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Rep Promote Read    IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Perf Read          IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Perf Write         IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap EC Read        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap EC Write       IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap Replica Read   IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap Replica Write  IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Perf Read           IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Perf Write          IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap EC Read         IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap EC Write        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap Replica Read    IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap Replica Write   IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Help                           App IO
-----------------------------  -----------------------------------------------------------

Viewing the metrics of demotion I/O (METRIC_TYPE = sink)

-----------------------------  ------------------------------------------------------------------------------------------------
Access Perf Read               IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Perf Write              IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Read             IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Write            IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Replica Read        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Replica Write       IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Perf Promote Write      IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Promote Read     IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Rep Promote Read    IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Perf Read          IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Perf Write         IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap EC Read        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap EC Write       IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap Replica Read   IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap Replica Write  IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Perf Read           IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Perf Write          IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap EC Read         IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap EC Write        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap Replica Read    IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap Replica Write   IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Help                           -----------------------------------------------------------------------------------------------
                               * Local: sink io triggered by this chunk; Remote: sink io from by other chunk.

                               * perf write:                    promote during sink & unmap
                               * perf read:                     sink speed
                               * cap ec read:                   ec read during block-granularity update + promote for ec block-size alignment.
                               * cap replica read:              should always be 0.
                               * cap write (both ec & replica):         sink speed with write amplification
                               * ec perf promote write:                 promote for ec block-size alignment (write part).
                               * cap ec promote read:           promote for ec block-size alignment (read part).
                               * cap replica promote read:      should always be 0.
-----------------------------  ------------------------------------------------------------------------------------------------

Viewing the metrics of recovery and migration I/O (METRIC_TYPE = reposition)

-----------------------------  -----------------------------------------------------------
Access Perf Read               IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Perf Write              IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Read             IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Write            IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Replica Read        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Replica Write       IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Perf Promote Write      IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap EC Promote Read     IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Access Cap Rep Promote Read    IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Perf Read          IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Perf Write         IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap EC Read        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap EC Write       IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap Replica Read   IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Remote Cap Replica Write  IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Perf Read           IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Perf Write          IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap EC Read         IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap EC Write        IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap Replica Read    IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
From Local Cap Replica Write   IOPS: 0, BW: 0.000 MiB/s, Lat: 0.000 ms, ReqSize: 0.000 KiB
Help                           Recover or Migrate IO
-----------------------------  -----------------------------------------------------------

Viewing the metrics of performance tier flow control (METRIC_TYPE = fc)

[Flow Manager]
Flow control enable: False
Avail tokens: 2
Perf thin used ratio: 1.0%
Perf thin free ratio: 98.0%
Flow Controller      Requested Tokens    Used Tokens    Over Used Tokens
-----------------  ------------------  -------------  ------------------
1 -> 1                              0              0                   0
2 -> 1                              0              0                   0
3 -> 1                              0              0                   0
4 -> 1                              0              0                   0

[Flow Controller]
Flow Controller    Dest Perf Thin Not Free Ratio      Avail Tokens    Used Tokens No Wait    Used Tokens After Wait    Over Used Tokens    Avg Wait token Lat    Avg Wait token Num
-----------------  -------------------------------  --------------  ---------------------  ------------------------  ------------------  --------------------  --------------------
1 -> 1             2.0%                                   10000000                      0                         0                   0                     0                     0
1 -> 2             7.0%                                   10000000                      0                         0                   0                     0                     0
1 -> 3             7.0%                                   10000000                      0                         0                   0                     0                     0
1 -> 4             2.0%                                   10000000                      0                         0                   0                     0                     0

Output note

I/O metrics output

ParameterDescription
Access Perf ReadThe performance tier read I/O initiated by access.
Access Perf WriteThe performance tier write I/O initiated by access.
Access Cap EC ReadThe capacity tier EC read I/O initiated by access.
Access Cap EC WriteThe capacity tier EC write I/O initiated by access.
Access Cap Replica ReadThe capacity tier replica read I/O initiated by access.
Access Cap Replica WriteThe capacity tier replica write I/O initiated by access.
Access Perf Promote WriteThe promote I/O initiated by access to match a specific I/O length size, writing to the performance tier portion.
Access Cap EC Promote ReadThe promote I/O initiated by access to match a specific I/O length size, reading from the capacity tier EC portion.
Access Cap Rep Promote ReadThe promote I/O initiated by access to match a specific I/O length size, reading from the capacity tier replica portion.
From Remote Perf ReadThe performance tier read I/O from remote access.
From Remote Perf WriteThe performance tier write I/O from remote access.
From Remote Cap EC ReadThe capacity tier EC read I/O from remote access.
From Remote Cap EC WriteThe capacity tier EC write I/O from remote access.
From Remote Cap Replica ReadThe capacity tier replica read I/O from remote access.
From Remote Cap Replica WriteThe capacity tier replica write I/O from remote access.
From Local Perf ReadThe performance tier read I/O from local access.
From Local Perf WriteThe performance tier write I/O from local access.
From Local Cap EC ReadThe capacity tier EC read I/O from local access.
From Local Cap EC WriteThe capacity tier EC write I/O from local access.
From Local Cap Replica ReadThe capacity tier replica read I/O from local access.
From Local Cap Replica WriteThe capacity tier replica write I/O from local access.

Flow manager metrics of performance tier flow control

ParameterDescription
Flow ManagerThe module that allocates tokens: source chunk (allocates tokens) → destination chunk (requests tokens).
Flow control enableWhether performance tier flow control is enabled.
Avail tokenThe number of currently available tokens.
Perf thin used ratiosThe current usage ratio of the performance tier.
Perf thin free ratioThe current free ratio of the performance tier.
Flow ControllerThe module that requests tokens: source chunk (requests tokens) → destination chunk (allocates tokens).
Requested TokensThe number of tokens requested in the last 1 second (mostly for reference, can generally be ignored).
Used TokensThe number of tokens consumed in the last 1 second.
Over Used TokensThe number of replica I/Os issued in the last 1 second without obtaining a token, typically due to DataChannel disconnection, token acquisition timeout, or similar issues.

Flow controller metrics of performance tier flow control

ParameterDescription
Flow ControllerThe module that requests tokens: source chunk (requests tokens) → destination chunk (allocates tokens).
Dest Perf Thin Not Free RatioThe usage ratio of the performance tier space on the destination chunk.
Avail TokensThe tokens currently held for the destination node. When flow control is not enabled, the value is fixed at 10000000.
Used Tokens No WaitThe number of replica I/Os in the last 1 second that obtained tokens without waiting.
Used Tokens After WaitThe number of replica I/Os in the last 1 second that obtained tokens after waiting.
Over Used TokensThe number of replica I/Os issued without obtaining a token, typically due to DataChannel disconnection, token acquisition timeout, or similar issues.
Avg Wait Token LatThe average latency of waiting for tokens in the last 1 second.
Avg Wait Token NumThe number of replica I/Os in the last 1 second that wait for tokens.

Viewing the demotion information about a local chunk

Run the following command on a cluster node to view the demotion information:

zbs-chunk [--ins_id <id>] sink list

ParameterDescription
--ins_id <id>Optional. The physical disk pool ID. This parameter can be used to filter and display information for a specific physical disk pool in environments with multiple physical disk pools.

Output example

Sink mode: SINK_HIGH
Inactive interval: 900 s
Sink inactive lease: True
Cap directly write policy: CAP_DIO_ALL_THROTTLED
Sinkable block lru info:
  Active blocks: 4914422
  Inactive blocks: 631664
  Clean blocks: 0
  Reserve active blocks: 6556339
Potential sinkable block lru info:
  Active blocks: 0
  Inactive blocks: 0
  Clean blocks: 0
  Reserve active blocks: 6556339
Accelerate cids: [4]
Accelerate blocks: 179
Inactive extents: 11125
Max sink task num: 32
Max sink io concurrency: 32
    lid    lepoch    perf_pid    perf_epoch  perf_location      cur_block_no  type
-------  --------  ----------  ------------  ---------------  --------------  -----------
2729295  13723839     2758531      39830494  [2, 3]                      454  SINK_EXTENT
2900678  13896894     4661280      41724371  [2, 4]                      241  SINK_BLOCK
2961581  14890778     8191744      44708358  [2, 1]                      116  DRAIN_EXTENT

Output note

ParameterDescription
Sink modeThe demotion policy level on the current node.
Inactive intervalThe time threshold to determine whether an extent is inactive.
Sink inactive leaseWhether to demote inactive extents.
Cap directly write policyThe direct-write policy of the capacity tier on the current node.
Sinkable block lru infoThe LRU information about demotable blocks on the current node.
Potential sinkable block lru infoThe LRU information about potentially demotable blocks on the current node.
Accelerate cidsThe list of chunks that require accelerated demotion as identified by the current node.
Accelerate blocksThe number of blocks that require accelerated demotion as identified by the current node.
Inactive extentsThe number of inactive extents on the current node.
Max sink task numThe maximum number of demotion tasks on the current node.
Max sink io concurrencyThe maximum I/O concurrency for demotion on the current node.

Run the following command on a cluster node to view its data link information as a client connected to other nodes:

zbs-chunk dc get_manager_info

ParameterDescription
--dst_ipOptional. Specifies whether to display only data links for the specified destination IP address.
--typeOptional. Specifies whether to display only data links for the storage network or the access network.
--show_detailsOptional. Specifies whether to display detailed information.
--show_pidsOptional. Specifies whether to display all PID information for each data link.
--summaryOptional. Specifies whether to display only summary information.

Output example

Version: DATA_CHANNEL_V3
Src                  Dst                  Type      Up Time (sec)
-------------------  -------------------  ------  ---------------
10.10.130.72:32830   10.10.130.73:11201   RDMA              52374
10.10.130.72:37114   10.10.130.74:11201   RDMA              54065
10.10.130.72:45090   10.10.130.72:11201   RDMA              54065
10.10.130.72:46660   10.10.130.71:11201   RDMA              53334
10.199.130.72:46482  10.199.130.71:10201  TCP               53334
10.199.130.72:57680  10.199.130.74:10201  TCP               54067
10.199.130.72:59436  10.199.130.73:10201  TCP               52374

Output note

ParameterDescription
VersionThe version of the data link.
SrcThe IP address and port used by the local node for the data link.
DstThe IP address and port used by the peer node for the data link.
TypeThe data link type, which can be TCP or RDMA.
Up Time (sec)The duration for which the data link has been active.

Run the following command on a cluster node to view its data link information as a server connected to other nodes:

zbs-chunk dc get_server_info

ParameterDescription
--show_detailsOptional. Specifies whether to display detailed information.

Output example

Version: DATA_CHANNEL_V3
Src                  Dst                  Type      Up Time (sec)
-------------------  -------------------  ------  ---------------
10.10.130.72:10201   10.10.130.72:52768   TCP                5551
10.10.130.72:11201   10.10.130.73:45276   RDMA                 26
10.10.130.72:11201   10.10.130.74:46626   RDMA                411
10.10.130.72:11201   10.10.130.72:45090   RDMA              54559
10.10.130.72:11201   10.10.130.71:52162   RDMA              53825
10.199.130.72:10201  10.199.130.73:40152  TCP                  27
10.199.130.72:10201  10.199.130.74:56334  TCP                 413
10.199.130.72:10201  10.199.130.71:55514  TCP               53828

Output note

ParameterDescription
VersionThe version of the data link.
SrcThe IP address and port used by the local node for the data link.
DstThe IP address and port used by the peer node for the data link.
TypeThe data link type, which can be TCP or RDMA.
Up Time (sec)The duration for which the data link has been active.