summaryrefslogtreecommitdiffstats
path: root/src/test/cli/osdmaptool/upmap.t
blob: 23a5d5d32d4bf61cf8e489fe93df0ccfcd0b39b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  $ osdmaptool --create-from-conf om -c $TESTDIR/ceph.conf.withracks --with-default-pool
  osdmaptool: osdmap file 'om'
  osdmaptool: writing epoch 1 to om
  $ osdmaptool --osd_calc_pg_upmaps_aggressively=false om --mark-up-in --upmap-max 11 --upmap c
  osdmaptool: osdmap file 'om'
  marking all OSDs up and in
  writing upmap command output to: c
  checking for upmap cleanups
  upmap, max-count 11, max deviation 5
  pools rbd 
  prepared 11/11 changes
  $ cat c
  ceph osd pg-upmap-items 1.7 142 147
  ceph osd pg-upmap-items 1.8 219 223
  ceph osd pg-upmap-items 1.17 201 202 171 173
  ceph osd pg-upmap-items 1.1a 201 202
  ceph osd pg-upmap-items 1.1c 201 202
  ceph osd pg-upmap-items 1.20 201 202
  ceph osd pg-upmap-items 1.24 232 233
  ceph osd pg-upmap-items 1.51 201 202
  ceph osd pg-upmap-items 1.62 219 223
  ceph osd pg-upmap-items 1.6f 219 223
  $ rm -f om c