EN
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助
鲲鹏小智

ccm show pgViewOnDisk

命令功能

显示某个磁盘上的所有PG。

命令格式

ccm show pgViewOnDisk [DiskId]

参数说明

参数

参数说明

取值

diskId

磁盘的全局ID。

例如1。

使用实例

root:/mgrtool>ccm show pgViewOnDisk 1
primaryPg: 
pgId |     bv | masterNode | masterDisk |                  state | coyNum | copyInfo 
   4 |      1 |          0 |          1 |        PG_STATE_NORMAL |      3 |[<0, 1, PG_COPY_STATE_RUNNING>, <3, 6, PG_COPY_STATE_RUNNING>, <2, 4, PG_COPY_STATE_RUNNING>, ]
  12 |      1 |          0 |          1 |        PG_STATE_NORMAL |      3 |[<0, 1, PG_COPY_STATE_RUNNING>, <1, 3, PG_COPY_STATE_RUNNING>, <3, 7, PG_COPY_STATE_RUNNING>, ]
  20 |      1 |          0 |          1 |        PG_STATE_NORMAL |      3 |[<0, 1, PG_COPY_STATE_RUNNING>, <3, 6, PG_COPY_STATE_RUNNING>, <2, 5, PG_COPY_STATE_RUNNING>, ]
  28 |      1 |          0 |          1 |        PG_STATE_NORMAL |      3 |[<0, 1, PG_COPY_STATE_RUNNING>, <1, 3, PG_COPY_STATE_RUNNING>, <3, 7, PG_COPY_STATE_RUNNING>, ]
secondaryPg: 
pgId |     bv | masterNode | masterDisk |                  state | coyNum | copyInfo 
   9 |      1 |          1 |          2 |        PG_STATE_NORMAL |      3 |[<1, 2, PG_COPY_STATE_RUNNING>, <3, 7, PG_COPY_STATE_RUNNING>, <0, 1, PG_COPY_STATE_RUNNING>, ]
  10 |      1 |          2 |          4 |        PG_STATE_NORMAL |      3 |[<2, 4, PG_COPY_STATE_RUNNING>, <0, 1, PG_COPY_STATE_RUNNING>, <1, 3, PG_COPY_STATE_RUNNING>, ]
  13 |      1 |          1 |          3 |        PG_STATE_NORMAL |      3 |[<1, 3, PG_COPY_STATE_RUNNING>, <2, 5, PG_COPY_STATE_RUNNING>, <0, 1, PG_COPY_STATE_RUNNING>, ]
  15 |      1 |          3 |          7 |        PG_STATE_NORMAL |      3 |[<3, 7, PG_COPY_STATE_RUNNING>, <0, 1, PG_COPY_STATE_RUNNING>, <2, 5, PG_COPY_STATE_RUNNING>, ]
total: primaryPg: 16, secondaryPg: 33

实例中相关参数释义请参见ccm show pgView的实例参数释义。

搜索结果
找到“0”个结果

当前产品无相关内容

未找到相关内容,请尝试其他搜索词