]> git.proxmox.com Git - pve-docs.git/blame - pve-disk-health-monitoring.adoc
add qmeventd manpage
[pve-docs.git] / pve-disk-health-monitoring.adoc
CommitLineData
897abbde
DC
1Disk Health Monitoring
2----------------------
5f09af76
DM
3ifdef::wiki[]
4:pve-toplevel:
5endif::wiki[]
6
e60ce90c 7Although a robust and redundant storage is recommended,
897abbde
DC
8it can be very helpful to monitor the health of your local disks.
9
10Starting with {pve} 4.3, the package smartmontools footnote:[smartmontools homepage https://www.smartmontools.org]
11is installed and required. This is a set of tools to monitor and control
12the S.M.A.R.T. system for local hard disks.
13
14You can get the status of a disk by issuing the following command:
15----
16# smartctl -a /dev/sdX
17----
18
19where /dev/sdX is the path to one of your local disks.
20
21If the output says:
22
23----
24SMART support is: Disabled
25----
26
27you can enable it with the command:
28
29----
30# smartctl -s on /dev/sdX
31----
32
33For more information on how to use smartctl, please see `man smartctl`.
34
35By default, smartmontools daemon smartd is active and enabled, and scans
36the disks under /dev/sdX and /dev/hdX every 30 minutes for errors and warnings, and sends an
37e-mail to root if it detects a problem.
38
39For more information about how to configure smartd, please see `man smartd` and
40`man smartd.conf`.
41
42If you use your hard disks with a hardware raid controller, there are most likely tools
43to monitor the disks in the raid array and the array itself. For more information about this,
44please refer to the vendor of your raid controller.