pastewart

Test pool with 1 pg

Oct 20th, 2020 (edited)
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.87 KB | None | 0 0
  1. [root@ceph1 ~]# ceph osd pool create test.pool 1 1 replicated replicated_host_nvme
  2. [root@ceph1 ~]# ceph osd pool get test.pool pg_num
  3. pg_num: 1
  4. [root@ceph1 ~]# ceph osd pool get test.pool pgp_num
  5. pgp_num: 1
  6. [root@ceph1 ~]# ceph pg ls-by-pool test.pool
  7. PG    OBJECTS  DEGRADED  MISPLACED  UNFOUND  BYTES  OMAP_BYTES*  OMAP_KEYS*  LOG  STATE         SINCE  VERSION  REPORTED  UP           ACTING       SCRUB_STAMP                      DEEP_SCRUB_STAMP
  8. 14.0        0         0          0        0      0            0           0    0  active+clean     5m      0'0  52831:12  [8,69,24]p8  [8,69,24]p8  2020-10-20T16:00:10.152988-0500  2020-10-20T16:00:10.152988-0500
  9.  
  10. * NOTE: Omap statistics are gathered during deep scrub and may be inaccurate soon afterwards depending on utilization. See http://docs.ceph.com/docs/master/dev/placement-group/#omap-statistics for further details.
Add Comment
Please, Sign In to add comment