我正在使用 2 x nvme Raid 1 运行 debian stable。
这是它在https://www.hetzner.com/dedicated-rootserver/ex62-nvme?country=us上运行的硬件/主机
几乎每隔一天 mdadm 监控报告失败事件并使阵列降级。
正如您在此处看到的那样,它仅禁用 1 个分区:
This is an automatically generated mail message from mdadm
running on xxx
A Fail event had been detected on md device /dev/md/2.
It could be related to component device /dev/nvme1n1p3.
Faithfully yours, etc.
P.S. The /proc/mdstat file currently contains the following:
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 nvme1n1p3[1](F) nvme0n1p3[0]
465895744 blocks super 1.2 [2/1] …Run Code Online (Sandbox Code Playgroud) 我使用最近购买的 1T Seagate Backup Plus Slim 外置硬盘ID 0bc2:ab24 Seagate RSS LLC(NTFS 文件系统)作为备份工具。我想在此磁盘上运行 Smartmontools 软件,但是当我尝试使用以下命令启用它时
smartctl -s on -d scsi /dev/sdb (as a root)
Run Code Online (Sandbox Code Playgroud)
我得到以下回复:
smartctl 6.6 2016-05-31 r4324 [i686-linux-4.15.0-23-generic] (local b$
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontoo$
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
Informational Exceptions (SMART) disabled
Temperature warning disabled
Run Code Online (Sandbox Code Playgroud)
事实上,当我尝试跑步时
smartctl -all -d scsi /dev/sdb
Run Code Online (Sandbox Code Playgroud)
输出是:
smartctl 6.6 2016-05-31 r4324 [i686-linux-4.15.0-23-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF …Run Code Online (Sandbox Code Playgroud) 我设置 smartd 来向我发送邮件报告,以防我的磁盘出现故障。不幸的是,我每天都会收到具有相同(不变)值的相同属性的垃圾邮件:
The following warning/error was logged by the smartd daemon:
Device: /dev/sdb [SAT], 1 Offline uncorrectable sectors
Device info:
ST32000542AS, S/N:XXXXX, WWN:5-XXXXXX-XXXXXXXX, FW:XXXX, 2.00 TB
Run Code Online (Sandbox Code Playgroud)
我完全意识到具有不可纠正扇区的磁盘所隐含的危险。(此磁盘用于 RAID10 配置)
我只是不想每天收到相同的电子邮件,我只想在值发生变化/增加时收到一封电子邮件。
这是我的当前配置/etc/smartd.conf:
DEVICESCAN -d removable -n standby -t -m root -M exec /usr/share/smartmontools/smartd-runner
Run Code Online (Sandbox Code Playgroud)
为了实现 smartd 的预期行为,我必须改变什么?