Preparing OSDs
The prepare subcommand prepares an OSD back-end object store and
consumes logical volumes (LV) for both the OSD data and journal. It does not modify the logical
volumes, except for adding some extra metadata tags using LVM. These tags make volumes easier to
discover, and they also identify the volumes as part of the Ceph Storage Cluster and the roles of
those volumes in the storage cluster.
Before you begin
- Root-level access to the OSD nodes.
- Optionally, create logical volumes. If you provide a path to a physical device, the subcommand turns the device into a logical volume. This approach is simpler, but you cannot configure or change the way the logical volume is created.
About this task
The BlueStore OSD backend supports the following configurations:
- A block device, a
block.waldevice, and ablock.dbdevice - A block device and a
block.waldevice - A block device and a
block.dbdevice - A single block device
The prepare subcommand accepts a whole device or partition, or a logical volume
for block.
For more information, see: