X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fosdmaptool%2Fhelp.t;fp=src%2Fceph%2Fsrc%2Ftest%2Fcli%2Fosdmaptool%2Fhelp.t;h=8fd313a765add05da214ba4bc2f24ae58956bdc8;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/test/cli/osdmaptool/help.t b/src/ceph/src/test/cli/osdmaptool/help.t new file mode 100644 index 0000000..8fd313a --- /dev/null +++ b/src/ceph/src/test/cli/osdmaptool/help.t @@ -0,0 +1,26 @@ +# TODO be user-friendly + $ osdmaptool --help + usage: [--print] [--createsimple [--clobber] [--pg_bits ]] + --export-crush write osdmap's crush map to + --import-crush replace osdmap's crush map with + --test-map-pgs [--pool ] [--pg_num ] map all pgs + --test-map-pgs-dump [--pool ] map all pgs + --test-map-pgs-dump-all [--pool ] map all pgs to osds + --health dump health checks + --mark-up-in mark osds up and in (but do not persist) + --mark-out mark an osd as out (but do not persist) + --with-default-pool include default pool when creating map + --clear-temp clear pg_temp and primary_temp + --test-random do random placements + --test-map-pg map a pgid to osds + --test-map-object [--pool ] map an object to osds + --upmap-cleanup clean up pg_upmap[_items] entries, writing + commands to [default: - for stdout] + --upmap calculate pg upmap entries to balance pg layout + writing commands to [default: - for stdout] + --upmap-max set max upmap entries to calculate [default: 100] + --upmap-deviation + max deviation from target [default: .01] + --upmap-pool restrict upmap balancing to 1 or more pools + --upmap-save write modified OSDMap with upmap changes + [1]