如何检查CoreOS中硬盘( SMART )的状态?
smartd和smartctl不是CoreOS的一部分。
所以下面的CoreOS哲学smartd将在容器内部运行,因为systemd单元和smartctl将从工具箱中使用 。
我无法从工具箱访问硬盘驱动器。
我在这里find了答案https://github.com/coreos/bugs/issues/484#issuecomment-165174597
在CoreOS主机上
~$ toolbox dnf install -y smartmontools ~$ toolbox --bind=/dev:/dev smartctl --all /dev/sda