]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | $ osdmaptool |
2 | osdmaptool: must specify osdmap filename | |
3 | usage: [--print] [--createsimple <numosd> [--clobber] [--pg_bits <bitsperosd>]] <mapfilename> | |
4 | --export-crush <file> write osdmap's crush map to <file> | |
5 | --import-crush <file> replace osdmap's crush map with <file> | |
6 | --test-map-pgs [--pool <poolid>] [--pg_num <pg_num>] map all pgs | |
7 | --test-map-pgs-dump [--pool <poolid>] map all pgs | |
8 | --test-map-pgs-dump-all [--pool <poolid>] map all pgs to osds | |
9 | --mark-up-in mark osds up and in (but do not persist) | |
10 | --clear-temp clear pg_temp and primary_temp | |
11 | --test-random do random placements | |
12 | --test-map-pg <pgid> map a pgid to osds | |
13 | --test-map-object <objectname> [--pool <poolid>] map an object to osds | |
14 | --upmap-cleanup <file> clean up pg_upmap[_items] entries, writing | |
15 | commands to <file> [default: - for stdout] | |
16 | --upmap <file> calculate pg upmap entries to balance pg layout | |
17 | writing commands to <file> [default: - for stdout] | |
18 | --upmap-max <max-count> set max upmap entries to calculate [default: 100] | |
19 | --upmap-deviation <max-deviation> | |
20 | max deviation from target [default: .01] | |
21 | --upmap-pool <poolname> restrict upmap balancing to 1 or more pools | |
22 | [1] |