2 .. _ceph-volume-lvm-api:
6 The backend of ``ceph-volume lvm`` is LVM, it relies heavily on the usage of
7 tags, which is a way for LVM to allow extending its volume metadata. These
8 values can later be queried against devices and it is how they get discovered
11 .. warning:: These APIs are not meant to be public, but are documented so that
12 it is clear what the tool is doing behind the scenes. Do not alter
16 .. _ceph-volume-lvm-tag-api:
20 The process of identifying logical volumes as part of Ceph relies on applying
21 tags on all volumes. It follows a naming convention for the namespace that
24 ceph.<tag name>=<tag value>
26 All tags are prefixed by the ``ceph`` keyword to claim ownership of that
27 namespace and make it easily identifiable. This is how the OSD ID would be used
28 in the context of lvm tags::
33 .. _ceph-volume-lvm-tags:
37 The following describes all the metadata from Ceph OSDs that is stored on an
43 Describes if the device is a an OSD or Journal, with the ability to expand to
44 other types when supported (for example a lockbox)
55 ceph.cluster_fsid=7146B649-AE00-4157-9F5D-1DBFF1D52C26
62 ceph.data_device=/dev/ceph/data-0
69 ceph.data_uuid=B76418EB-0024-401C-8955-AE6919D45CC3
76 ceph.journal_device=/dev/ceph/journal-0
83 ceph.journal_uuid=2070E121-C544-4F40-9571-0B7F35C6CB2B
88 Example for enabled encryption with ``luks``::
92 When encryption is not supported or simply disabled::
101 ceph.osd_fsid=88ab9018-f84b-4d62-90b4-ce7c076728ff
113 Just used on :term:`bluestore` backends. Captures the path to the logical
118 ceph.block_device=/dev/mapper/vg-block-0
123 Just used on :term:`bluestore` backends. Captures either the logical volume UUID or
128 ceph.block_uuid=E5F041BB-AAD4-48A8-B3BF-31F7AFD7D73E
133 Just used on :term:`bluestore` backends. Captures the path to the logical
138 ceph.db_device=/dev/mapper/vg-db-0
143 Just used on :term:`bluestore` backends. Captures either the logical volume UUID or
148 ceph.db_uuid=F9D02CF1-31AB-4910-90A3-6A6302375525
153 Just used on :term:`bluestore` backends. Captures the path to the logical
158 ceph.wal_device=/dev/mapper/vg-wal-0
163 Just used on :term:`bluestore` backends. Captures either the logical volume UUID or
168 ceph.wal_uuid=A58D1C68-0D6E-4CB3-8E99-B261AD47CC39