#. Restart each monitor. For Ubuntu distributions, use::
- sudo restart ceph-mon id={hostname}
+ sudo systemctl restart ceph-mon@{hostname}.service
For CentOS/Red Hat/Debian distributions, use::
#. Restart the OSD, where ``N`` is the OSD number. For Ubuntu, use::
- sudo restart ceph-osd id=N
+ sudo systemctl restart ceph-osd@{N}.service
- For multiple OSDs on a host, you may restart all of them with Upstart. ::
+ For multiple OSDs on a host, you may restart all of them with systemd. ::
- sudo restart ceph-osd-all
+ sudo systemctl restart ceph-osd
For CentOS/Red Hat/Debian distributions, use::
#. Restart the metadata server. For Ubuntu, use::
- sudo restart ceph-mds id={hostname}
+ sudo systemctl restart ceph-mds@{hostname}.service
For CentOS/Red Hat/Debian distributions, use::