table of contents
other versions
- jessie 0.80.7-2+deb8u2
- jessie-backports 0.80.10-2~bpo8+1
- jessie-backports 10.2.5-6~bpo8+1
- stretch 10.2.11-2
- testing 12.2.11+dfsg1-2
- stretch-backports 12.2.11+dfsg1-2~bpo9+1
- unstable 12.2.11+dfsg1-2
OSDMAPTOOL(8) | Ceph | OSDMAPTOOL(8) |
NAME¶
osdmaptool - ceph osd cluster map manipulation toolSYNOPSIS¶
osdmaptool mapfilename [--print] [--createsimple numosd [--pgbits bitsperosd ] ] [--clobber]
DESCRIPTION¶
osdmaptool is a utility that lets you create, view, and manipulate OSD cluster maps from the Ceph distributed storage system. Notably, it lets you extract the embedded CRUSH map or import a new CRUSH map.OPTIONS¶
- 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-crush mapfile
- will load the CRUSH map from mapfile and embed it in the OSD map.
- --export-crush mapfile
- will extract the CRUSH map from the OSD map and write it to mapfile.
- --createsimple numosd [--pgbits bitsperosd]
- 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.
EXAMPLE¶
To create a simple map with 16 devices:osdmaptool --createsimple 16 osdmap --clobber
To view the result:
osdmaptool --print osdmap
AVAILABILITY¶
osdmaptool is part of the Ceph distributed storage system. Please refer to the Ceph documentation at http://ceph.com/docs for more information.SEE ALSO¶
ceph(8), crushtool(8),COPYRIGHT¶
2010-2014, Inktank Storage, Inc. and contributors. Licensed under Creative Commons BY-SAJanuary 12, 2014 | dev |