.. _devices: Device Management ================= Ceph tracks which hardware storage devices (e.g., HDDs, SSDs) are consumed by which daemons, and collects health metrics about those devices in order to provide tools to predict and/or automatically respond to hardware failure. Device tracking --------------- You can query which storage devices are in use with: .. prompt:: bash $ ceph device ls You can also list devices by daemon or by host: .. prompt:: bash $ ceph device ls-by-daemon ceph device ls-by-host For any individual device, you can query information about its location and how it is being consumed with: .. prompt:: bash $ ceph device info Identifying physical devices ---------------------------- You can blink the drive LEDs on hardware enclosures to make the replacement of failed disks easy and less error-prone. Use the following command:: device light on|off [ident|fault] [--force] The ```` parameter is the device identification. You can obtain this information using the following command: .. prompt:: bash $ ceph device ls The ``[ident|fault]`` parameter is used to set the kind of light to blink. By default, the `identification` light is used. .. note:: This command needs the Cephadm or the Rook `orchestrator `_ module enabled. The orchestrator module enabled is shown by executing the following command: .. prompt:: bash $ ceph orch status The command behind the scene to blink the drive LEDs is `lsmcli`. If you need to customize this command you can configure this via a Jinja2 template:: ceph config-key set mgr/cephadm/blink_device_light_cmd "