]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/osdmaptool/help.t
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / test / cli / osdmaptool / help.t
1 # TODO be user-friendly
2 $ osdmaptool --help
3 usage: [--print] <mapfilename>
4 --create-from-conf creates an osd map with default configurations
5 --createsimple <numosd> [--clobber] [--pg-bits <bitsperosd>] [--pgp-bits <bits>] creates a relatively generic OSD map with <numosd> devices
6 --pgp-bits <bits> pgp_num map attribute will be shifted by <bits>
7 --pg-bits <bits> pg_num map attribute will be shifted by <bits>
8 --clobber allows osdmaptool to overwrite <mapfilename> if it already exists
9 --export-crush <file> write osdmap's crush map to <file>
10 --import-crush <file> replace osdmap's crush map with <file>
11 --health dump health checks
12 --test-map-pgs [--pool <poolid>] [--pg_num <pg_num>] [--range-first <first> --range-last <last>] map all pgs
13 --test-map-pgs-dump [--pool <poolid>] [--range-first <first> --range-last <last>] map all pgs
14 --test-map-pgs-dump-all [--pool <poolid>] [--range-first <first> --range-last <last>] map all pgs to osds
15 --mark-up-in mark osds up and in (but do not persist)
16 --mark-out <osdid> mark an osd as out (but do not persist)
17 --with-default-pool include default pool when creating map
18 --clear-temp clear pg_temp and primary_temp
19 --test-random do random placements
20 --test-map-pg <pgid> map a pgid to osds
21 --test-map-object <objectname> [--pool <poolid>] map an object to osds
22 --upmap-cleanup <file> clean up pg_upmap[_items] entries, writing
23 commands to <file> [default: - for stdout]
24 --upmap <file> calculate pg upmap entries to balance pg layout
25 writing commands to <file> [default: - for stdout]
26 --upmap-max <max-count> set max upmap entries to calculate [default: 10]
27 --upmap-deviation <max-deviation>
28 max deviation from target [default: 5]
29 --upmap-pool <poolname> restrict upmap balancing to 1 or more pools
30 --upmap-save write modified OSDMap with upmap changes
31 --upmap-active Act like an active balancer, keep applying changes until balanced
32 --dump <format> displays the map in plain text when <format> is 'plain', 'json' if specified format is not supported
33 --tree displays a tree of the map
34 --test-crush [--range-first <first> --range-last <last>] map pgs to acting osds
35 [1]