]> git.proxmox.com Git - ceph.git/blame - ceph/doc/ceph-volume/simple/systemd.rst
update sources to 12.2.2
[ceph.git] / ceph / doc / ceph-volume / simple / systemd.rst
CommitLineData
3efd9988
FG
1.. _ceph-volume-simple-systemd:
2
3systemd
4=======
5Upon startup, it will identify the logical volume by loading the JSON file in
6``/etc/ceph/osd/{id}-{uuid}.json`` corresponding to the instance name of the
7systemd unit.
8
9After identifying the correct volume it will then proceed to mount it by using
10the OSD destination conventions, that is::
11
12 /var/lib/ceph/osd/{cluster name}-{osd id}
13
14For our example OSD with an id of ``0``, that means the identified device will
15be mounted at::
16
17
18 /var/lib/ceph/osd/ceph-0
19
20
21Once that process is complete, a call will be made to start the OSD::
22
23 systemctl start ceph-osd@0
24
25The systemd portion of this process is handled by the ``ceph-volume simple
26trigger`` sub-command, which is only in charge of parsing metadata coming from
27systemd and startup, and then dispatching to ``ceph-volume simple activate`` which
28would proceed with activation.