Nem*_*vic 3 smart docker coreos
如何在 CoreOS 中查看硬盘 ( SMART )的状态?
smartd和smartctl不是CoreOS的一部分。
因此,遵循 CoreOS 理念 smartd 将在容器内运行,因为systemd 单元和 smartctl 将从toolbox 中使用。
我无法从工具箱访问硬盘驱动器。
小智 5
我在这里找到了答案 https://github.com/coreos/bugs/issues/484#issuecomment-165174597
在 CoreOS 主机上
~$ toolbox dnf install -y smartmontools
~$ toolbox --bind=/dev:/dev smartctl --all /dev/sda
Run Code Online (Sandbox Code Playgroud)
您可能会收到“操作不允许错误”,然后直接使用绑定:
~$ toolbox --bind=/dev/sda:/dev/sda smartctl --all /dev/sda
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1697 次 |
| 最近记录: |