File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1185,6 +1185,8 @@ Smart data section 则展示了硬盘的 SMART 信息。其中**自检信息**
11851185 No Self-tests have been logged
11861186 ```
11871187
1188+ SMART 还支持让磁盘自检,对应的参数为 ` smartctl -t ` ,可以选择不同的测试参数(例如 short、long 等),详情可参考 [ ` smartctl(8) ` ] [ smartctl.8 ] 的 "SMART RUN/ABORT OFFLINE TEST AND SELF-TEST OPTIONS" 部分。
1189+
11881190安装 smartmontools 之后,可以启用 smartd 服务(smartd.service 或 smartmontools.service)。
11891191该服务会每隔一段时间检查硬盘的 SMART 信息,并在发现问题时发送邮件通知管理员(在正确配置的情况下)。
11901192默认 Debian 提供的 ` /etc/smartd.conf ` 的有效内容如下:
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ Do not link to a "generic" man page for these commands -->
7171[ mount.8 ] : https://man7.org/linux/man-pages/man8/mount.8.html
7272[ sg_unmap.8 ] : https://linux.die.net/man/8/sg_unmap
7373[ sg_write_same.8 ] : https://linux.die.net/man/8/sg_write_same
74+ [ smartctl.8 ] : https://linux.die.net/man/8/smartctl
7475[ sshd.8 ] : https://linux.die.net/man/8/sshd
7576[ systemd-logind.8 ] : https://www.freedesktop.org/software/systemd/man/latest/systemd-logind.html
7677[ useradd.8 ] : https://manpages.debian.org/stable/passwd/useradd.8.en.html
You can’t perform that action at this time.
0 commit comments