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 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).
mpdk showpartinfo

mpdk showpartinfo

Function

The mpdk showpartinfo command is used to show partition information.

Format

mpdk showpartinfo -p -d -i -x -n name

Parameters

Parameter

Description

Value

-p Shows CPU partition information about a product.

-

-d Shows CPU partition information about a driver.

-

-i Shows internal partition information about the MPDK module.

-

-x Shows CPU partition information delivered to the XNET module.

-

-s Shows the partition delivery status.

-

-n name Partition name.

The value can be "SAS", "FC", "IOD_XNET", "ISCSI", "ISCSI_THREAD", "DCC", "IOD_RV", "IOD_KV", "MGR", or "MGR_GE", where:

  • "SAS": SAS partition.
  • "FC": FC partition.
  • "IOD_XNET": IOD_XNET partition.
  • "ISCSI": ISCSI partition.
  • "ISCSI_THREAD": ISCSI_THREAD partition.
  • "DCC": DCC partition.
  • "IOD_RV": IOD_RV partition.
  • "IOD_KV": IOD_KV partition.
  • "MGR": MGR partition.
  • "MGR_GE": MGR_GE partition.

Views

Diagnostic view

Usage Guidelines

OceanStor 18500 V5 Kunpeng, 18500F V5 Kunpeng, 18800 V5 Kunpeng and 18800F V5 Kunpeng storage systems support this command.

Example

  • Show CPU partition information about a product.

    admin:/diagnose>mpdk showpartinfo -p
    Device type: Controller.
    Total CPU group: 4.
    Group     Index     DrvName                         BitCnt          CPUMaskInfo
    -----     -----     -----------                     ----------      --------------------------------------------------------------------------------------------------------------
    [0  ]     [0  ]     MGR                             1               Mask0 0x1               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [1  ]     MGR_GE                          1               Mask0 0x2               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [2  ]     FC                              1               Mask0 0xF0000           , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [3  ]     IB                              1               Mask0 0xF0000           , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [4  ]     ISCSI                           1               Mask0 0xF0000           , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [5  ]     MIRROR                          1               Mask0 0xF00000          , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [6  ]     SAS                             1               Mask0 0xC               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [7  ]     IOD_NORMAL                      1               Mask0 0xFFF0            , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [8  ]     IOD_XNET                        1               Mask0 0xF00000          , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [9  ]     IOD_RV                          1               Mask0 0xFFF000000       , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [10 ]     IOD_KV                          1               Mask0 0xFFF000000000    , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [11 ]     IOD_BACKGROUND                  1               Mask0 0x2               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [12 ]     ISCSI_THREAD                    1               Mask0 0xF0000           , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [13 ]     DCC                             1               Mask0 0xF00000          , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [14 ]     DEFAULT                         1               Mask0 0x3               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     [15 ]     IOD_NOPOLING                    1               Mask0 0xFFC0            , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [0  ]     MGR                             1               Mask0 0x1000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [1  ]     MGR_GE                          1               Mask0 0x2000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [2  ]     FC                              2               Mask0 0x0               , Mask1 0xF               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [3  ]     IB                              2               Mask0 0x0               , Mask1 0xF               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [4  ]     ISCSI                           2               Mask0 0x0               , Mask1 0xF               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [5  ]     MIRROR                          2               Mask0 0x0               , Mask1 0xF0              , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [6  ]     SAS                             1               Mask0 0xC000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [7  ]     IOD_NORMAL                      1               Mask0 0xFFF0000000000000, Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [8  ]     IOD_XNET                        2               Mask0 0x0               , Mask1 0xF0              , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [9  ]     IOD_RV                          2               Mask0 0x0               , Mask1 0xFFF00           , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [10 ]     IOD_KV                          2               Mask0 0x0               , Mask1 0xFFF00000        , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [11 ]     IOD_BACKGROUND                  1               Mask0 0x2000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [12 ]     ISCSI_THREAD                    2               Mask0 0x0               , Mask1 0xF               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [13 ]     DCC                             2               Mask0 0x0               , Mask1 0xF0              , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [14 ]     DEFAULT                         1               Mask0 0x3000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     [15 ]     IOD_NOPOLING                    1               Mask0 0xFFC0000000000000, Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [0  ]     MGR                             2               Mask0 0x0               , Mask1 0x100000000       , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [1  ]     MGR_GE                          2               Mask0 0x0               , Mask1 0x200000000       , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [2  ]     FC                              2               Mask0 0x0               , Mask1 0xF000000000000   , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [3  ]     IB                              2               Mask0 0x0               , Mask1 0xF000000000000   , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [4  ]     ISCSI                           2               Mask0 0x0               , Mask1 0xF000000000000   , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [5  ]     MIRROR                          2               Mask0 0x0               , Mask1 0xF0000000000000  , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [6  ]     SAS                             2               Mask0 0x0               , Mask1 0xC00000000       , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [7  ]     IOD_NORMAL                      2               Mask0 0x0               , Mask1 0xFFF000000000    , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [8  ]     IOD_XNET                        2               Mask0 0x0               , Mask1 0xF0000000000000  , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [9  ]     IOD_RV                          3               Mask0 0x0               , Mask1 0xFF00000000000000, Mask2 0xF               , Mask3 0x0               , 
    [2  ]     [10 ]     IOD_KV                          3               Mask0 0x0               , Mask1 0x0               , Mask2 0xFFF0            , Mask3 0x0               , 
    [2  ]     [11 ]     IOD_BACKGROUND                  2               Mask0 0x0               , Mask1 0x200000000       , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [12 ]     ISCSI_THREAD                    2               Mask0 0x0               , Mask1 0xF000000000000   , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [13 ]     DCC                             2               Mask0 0x0               , Mask1 0xF0000000000000  , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [14 ]     DEFAULT                         2               Mask0 0x0               , Mask1 0x300000000       , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     [15 ]     IOD_NOPOLING                    2               Mask0 0x0               , Mask1 0xFFC000000000    , Mask2 0x0               , Mask3 0x0               , 
    [3  ]     [0  ]     MGR                             3               Mask0 0x0               , Mask1 0x0               , Mask2 0x10000           , Mask3 0x0               , 
    [3  ]     [1  ]     MGR_GE                          3               Mask0 0x0               , Mask1 0x0               , Mask2 0x20000           , Mask3 0x0               , 
    [3  ]     [2  ]     FC                              3               Mask0 0x0               , Mask1 0x0               , Mask2 0xF00000000       , Mask3 0x0               , 
    [3  ]     [3  ]     IB                              3               Mask0 0x0               , Mask1 0x0               , Mask2 0xF00000000       , Mask3 0x0               , 
    [3  ]     [4  ]     ISCSI                           3               Mask0 0x0               , Mask1 0x0               , Mask2 0xF00000000       , Mask3 0x0               , 
    [3  ]     [5  ]     MIRROR                          3               Mask0 0x0               , Mask1 0x0               , Mask2 0xF000000000      , Mask3 0x0               , 
    [3  ]     [6  ]     SAS                             3               Mask0 0x0               , Mask1 0x0               , Mask2 0xC0000           , Mask3 0x0               , 
    [3  ]     [7  ]     IOD_NORMAL                      3               Mask0 0x0               , Mask1 0x0               , Mask2 0xFFF00000        , Mask3 0x0               , 
    [3  ]     [8  ]     IOD_XNET                        3               Mask0 0x0               , Mask1 0x0               , Mask2 0xF000000000      , Mask3 0x0               , 
    [3  ]     [9  ]     IOD_RV                          3               Mask0 0x0               , Mask1 0x0               , Mask2 0xFFF0000000000   , Mask3 0x0               , 
    [3  ]     [10 ]     IOD_KV                          3               Mask0 0x0               , Mask1 0x0               , Mask2 0xFFF0000000000000, Mask3 0x0               , 
    [3  ]     [11 ]     IOD_BACKGROUND                  3               Mask0 0x0               , Mask1 0x0               , Mask2 0x20000           , Mask3 0x0               , 
    [3  ]     [12 ]     ISCSI_THREAD                    3               Mask0 0x0               , Mask1 0x0               , Mask2 0xF00000000       , Mask3 0x0               , 
    [3  ]     [13 ]     DCC                             3               Mask0 0x0               , Mask1 0x0               , Mask2 0xF000000000      , Mask3 0x0               , 
    [3  ]     [14 ]     DEFAULT                         3               Mask0 0x0               , Mask1 0x0               , Mask2 0x30000           , Mask3 0x0               , 
    [3  ]     [15 ]     IOD_NOPOLING                    3               Mask0 0x0               , Mask1 0x0               , Mask2 0xFFC00000        , Mask3 0x0               ,
  • Show CPU partition information about a driver.

    admin:/diagnose>mpdk showpartinfo -d
    Local process: 12.
    DRV partition info:
    Index     Name                            BondCPUCnt      CPUinfo
    -----     -----------                     ----------      -------------------------------------------------------------------------
    [0  ]     SAS                             0               
    [1  ]     ISCSI                           0               
    [2  ]     MGR_GE                          0               
    [3  ]     IB                              0               
    [4  ]     MIRROR                          0               
    [5  ]     FC                              0               
    [6  ]     ISCSI_THREAD                    0               
    [7  ]     DCC                             0               
    [8  ]     MGR                             0               
    [9  ]     IOD_RV                          0               
    [10 ]     IOD_KV                          0               
    [11 ]     IOD_NORMAL                      0
  • Show the internal CPU partitions of a module.

    admin:/diagnose>mpdk showpartinfo -i
    Inner partition info:
    Index     InnerType                       BitCount        MaskInfo
    -----     -----------                     ----------      ------------------------------------------------------------------------------------------------------
    [0-0]     PARTITION_TYPE_HI               1               Mask0 0xC               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0-1]     PARTITION_TYPE_THREAD           1               Mask0 0xFFC0            , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0-2]     PARTITION_TYPE_POLL             1               Mask0 0xCC0000          , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0-3]     PARTITION_TYPE_MGR              1               Mask0 0x1               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0-4]     PARTITION_TYPE_MGT_HI           0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0-5]     PARTITION_TYPE_MGT_LOW          1               Mask0 0x1               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0-6]     PARTITION_TYPE_POLL_NIC         1               Mask0 0x330000          , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0-7]     PARTITION_TYPE_POLL_NVME        0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1-0]     PARTITION_TYPE_HI               1               Mask0 0xC000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1-1]     PARTITION_TYPE_THREAD           1               Mask0 0xFFC0000000000000, Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1-2]     PARTITION_TYPE_POLL             2               Mask0 0x0               , Mask1 0xCC              , Mask2 0x0               , Mask3 0x0               , 
    [1-3]     PARTITION_TYPE_MGR              1               Mask0 0x1000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1-4]     PARTITION_TYPE_MGT_HI           1               Mask0 0x1000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1-5]     PARTITION_TYPE_MGT_LOW          0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1-6]     PARTITION_TYPE_POLL_NIC         2               Mask0 0x0               , Mask1 0x33              , Mask2 0x0               , Mask3 0x0               , 
    [1-7]     PARTITION_TYPE_POLL_NVME        0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [2-0]     PARTITION_TYPE_HI               2               Mask0 0x0               , Mask1 0xC00000000       , Mask2 0x0               , Mask3 0x0               , 
    [2-1]     PARTITION_TYPE_THREAD           2               Mask0 0x0               , Mask1 0xFFC000000000    , Mask2 0x0               , Mask3 0x0               , 
    [2-2]     PARTITION_TYPE_POLL             2               Mask0 0x0               , Mask1 0xCC000000000000  , Mask2 0x0               , Mask3 0x0               , 
    [2-3]     PARTITION_TYPE_MGR              2               Mask0 0x0               , Mask1 0x100000000       , Mask2 0x0               , Mask3 0x0               , 
    [2-4]     PARTITION_TYPE_MGT_HI           2               Mask0 0x0               , Mask1 0x100000000       , Mask2 0x0               , Mask3 0x0               , 
    [2-5]     PARTITION_TYPE_MGT_LOW          0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [2-6]     PARTITION_TYPE_POLL_NIC         2               Mask0 0x0               , Mask1 0x33000000000000  , Mask2 0x0               , Mask3 0x0               , 
    [2-7]     PARTITION_TYPE_POLL_NVME        0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [3-0]     PARTITION_TYPE_HI               3               Mask0 0x0               , Mask1 0x0               , Mask2 0xC0000           , Mask3 0x0               , 
    [3-1]     PARTITION_TYPE_THREAD           3               Mask0 0x0               , Mask1 0x0               , Mask2 0xFFC00000        , Mask3 0x0               , 
    [3-2]     PARTITION_TYPE_POLL             3               Mask0 0x0               , Mask1 0x0               , Mask2 0xCC00000000      , Mask3 0x0               , 
    [3-3]     PARTITION_TYPE_MGR              3               Mask0 0x0               , Mask1 0x0               , Mask2 0x10000           , Mask3 0x0               , 
    [3-4]     PARTITION_TYPE_MGT_HI           3               Mask0 0x0               , Mask1 0x0               , Mask2 0x10000           , Mask3 0x0               , 
    [3-5]     PARTITION_TYPE_MGT_LOW          0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [3-6]     PARTITION_TYPE_POLL_NIC         3               Mask0 0x0               , Mask1 0x0               , Mask2 0x3300000000      , Mask3 0x0               , 
    [3-7]     PARTITION_TYPE_POLL_NVME        0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               ,
  • Show the CPU partition obtained by the XNET module.

    admin:/diagnose>mpdk showpartinfo -x
    Drv get partition info:
    Total PhyCPU num: 4.
    PhyCPU    InnerType                       BitCount        MaskInfo
    -----     -----------                     ----------      --------------------------------------------------------------------------------------------------------------
    [0  ]     PARTITION_TYPE_THREAD           1               Mask0 0xFFC0            , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     PARTITION_TYPE_POLL             1               Mask0 0xCC0000          , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     PARTITION_TYPE_MGT_HI           0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [0  ]     PARTITION_TYPE_MGT_LOW          1               Mask0 0x1               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     PARTITION_TYPE_THREAD           1               Mask0 0xFFC0000000000000, Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     PARTITION_TYPE_POLL             2               Mask0 0x0               , Mask1 0xCC              , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     PARTITION_TYPE_MGT_HI           1               Mask0 0x1000000000000   , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [1  ]     PARTITION_TYPE_MGT_LOW          0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     PARTITION_TYPE_THREAD           2               Mask0 0x0               , Mask1 0xFFC000000000    , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     PARTITION_TYPE_POLL             2               Mask0 0x0               , Mask1 0xCC000000000000  , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     PARTITION_TYPE_MGT_HI           2               Mask0 0x0               , Mask1 0x100000000       , Mask2 0x0               , Mask3 0x0               , 
    [2  ]     PARTITION_TYPE_MGT_LOW          0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               , 
    [3  ]     PARTITION_TYPE_THREAD           3               Mask0 0x0               , Mask1 0x0               , Mask2 0xFFC00000        , Mask3 0x0               , 
    [3  ]     PARTITION_TYPE_POLL             3               Mask0 0x0               , Mask1 0x0               , Mask2 0xCC00000000      , Mask3 0x0               , 
    [3  ]     PARTITION_TYPE_MGT_HI           3               Mask0 0x0               , Mask1 0x0               , Mask2 0x10000           , Mask3 0x0               , 
    [3  ]     PARTITION_TYPE_MGT_LOW          0               Mask0 0x0               , Mask1 0x0               , Mask2 0x0               , Mask3 0x0               ,
  • Show the partition delivery status.

    admin:/diagnose>mpdk showpartinfo -s
    The details:
    index   part_name          drv_type           bitcnt   bitmap_0             bitmap_1             bitmap_2             time                    result
    -----   ----------------   ----------------   ------   ------------------   ------------------   ------------------   ---------------------   ---------
    [0  ]   ISCSI              NIC                3        0x10000              0x1000000000001      0x100000000          2019-10-18 09:51:41     success
    [1  ]   MGR_GE             NIC                3        0x2000000000002      0x200000000          0x20000              2019-10-18 09:51:41     success
  • Show a specified partition.

    admin:/diagnose>mpdk showpartinfo -n FC  
    Get cpu partition: FC
    Return result    : Success
    Partition info   : Bitcnt:(3), Bitmap0-2:(0xf0000), (0xf00000000000f), (0xf00000000).

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Group

Group number.

Index

Index number in a group.

DrvName

Partition name.

BitCnt

Count of valid bitmaps.

CPUMaskInfo

CPU mask information.

PhyCPU

Physical CPU number.

InnerType

Internal partition type.

result

Partition delivery result.

time

Time when partitions are delivered.

drv_type

Driver type.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 758843

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next