From: Yaarit Hatuka Date: Tue, 5 Dec 2017 14:25:00 +0000 (-0500) Subject: osd: add 'ceph [tell|daemon] osd.id smart' X-Git-Tag: v13.0.2~213^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e42bf30b4596b7c58dadfcb77e16f6a26de3bce9;p=ceph.git osd: add 'ceph [tell|daemon] osd.id smart' Also added 'ceph daemon osd.id list_devices' which prints to stdout the OSD devices. 'ceph [tell|daemon] osd.id smart' probes the OSD devices for SMART data and prints it to stdout in a JSON format. It assumes smartctl '--json' feature exists. Signed-off-by: Yaarit Hatuka --- diff --git a/src/common/options.cc b/src/common/options.cc index b286457b9b35..ee73aa106b9f 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1632,6 +1632,10 @@ std::vector