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的实例参数释义。
父主题: 连接全局缓存