NAME

SYNOPSIS

DESCRIPTION

osdmaptool is a utility that lets you create, view, and manipulate OSD
cluster maps from the Ceph distributed file system. Notably, it lets
you extract the embedded CRUSH map or import a new CRUSH map.

OPTIONS

--print
will simply make the tool print a plaintext dump of the map,
after any modifications are made.
--clobber
will allow osdmaptool to overwrite mapfilename if changes are
made.
--import-crushmapfile
will load the CRUSH map from mapfile and embed it in the OSD
map.
--export-crushmapfile
will extract the CRUSH map from the OSD map and write it to
mapfile.
--createsimplenumosd[--pgbitsbitsperosd]
will create a relatively generic OSD map with the numosd
devices. If --pgbits is specified, the initial placement group
counts will be set with bitsperosd bits per OSD. That is, the
pg_num map attribute will be set to numosd shifted by
bitsperosd.