O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

The syntax for ceph-objectstore-tool is:

ceph-objectstore-tool <options>

The values for <options> can be as follows:

  • --data-path: The path to the OSD
  • --journal-path: The path to the journal
  • --op: The operation
  • --pgid: The placement group ID
  • --skip-journal-replay: Use this when the journal is corrupted
  • --skip-mount-omap: Use this when the LevelDB data store is corrupted and unable to mount
  • --file: The path to the file, used with the import/export operation

To understand this tool better, let's take an example: a pool makes two copies of an object, and PGs are located on osd.1 and osd.2. At this point, if failure happens, the following sequence will occur:

  1. osd.1 goes down.
  2. osd.2 handles all the write operations in a degraded ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required