Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / test / cli / osdmaptool / missing-argument.t
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      --health                dump health checks
10      --mark-up-in            mark osds up and in (but do not persist)
11      --mark-out <osdid>      mark an osd as out (but do not persist)
12      --with-default-pool     include default pool when creating map
13      --clear-temp            clear pg_temp and primary_temp
14      --test-random           do random placements
15      --test-map-pg <pgid>    map a pgid to osds
16      --test-map-object <objectname> [--pool <poolid>] map an object to osds
17      --upmap-cleanup <file>  clean up pg_upmap[_items] entries, writing
18                              commands to <file> [default: - for stdout]
19      --upmap <file>          calculate pg upmap entries to balance pg layout
20                              writing commands to <file> [default: - for stdout]
21      --upmap-max <max-count> set max upmap entries to calculate [default: 100]
22      --upmap-deviation <max-deviation>
23                              max deviation from target [default: .01]
24      --upmap-pool <poolname> restrict upmap balancing to 1 or more pools
25      --upmap-save            write modified OSDMap with upmap changes
26   [1]