From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/test/cli/osdmaptool/help.t | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/test/cli/osdmaptool/help.t (limited to 'src/test/cli/osdmaptool/help.t') diff --git a/src/test/cli/osdmaptool/help.t b/src/test/cli/osdmaptool/help.t new file mode 100644 index 00000000..344b7ba6 --- /dev/null +++ b/src/test/cli/osdmaptool/help.t @@ -0,0 +1,36 @@ +# TODO be user-friendly + $ osdmaptool --help + usage: [--print] + --create-from-conf creates an osd map with default configurations + --createsimple [--clobber] [--pg-bits ] [--pgp-bits ] creates a relatively generic OSD map with devices + --pgp-bits pgp_num map attribute will be shifted by + --pg-bits pg_num map attribute will be shifted by + --clobber allows osdmaptool to overwrite if it already exists + --export-crush write osdmap's crush map to + --import-crush replace osdmap's crush map with + --health dump health checks + --test-map-pgs [--pool ] [--pg_num ] [--range-first --range-last ] map all pgs + --test-map-pgs-dump [--pool ] [--range-first --range-last ] map all pgs + --test-map-pgs-dump-all [--pool ] [--range-first --range-last ] map all pgs to osds + --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 + --clean-temps clean pg_temps + --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: 10] + --upmap-deviation + max deviation from target [default: 5] + --upmap-pool restrict upmap balancing to 1 or more pools + --upmap-save write modified OSDMap with upmap changes + --upmap-active Act like an active balancer, keep applying changes until balanced + --dump displays the map in plain text when is 'plain', 'json' if specified format is not supported + --tree displays a tree of the map + --test-crush [--range-first --range-last ] map pgs to acting osds + [1] -- cgit v1.2.3