Differences between revisions 4 and 5
Revision 4 as of 2017-10-11 00:30:04
Size: 810
Editor: shran
Comment:
Revision 5 as of 2017-10-11 00:30:16
Size: 811
Editor: shran
Comment:
Deletions are marked like this. Additions are marked like this.
Line 24: Line 24:
Restart the `smartd` service Restart the `smartd` service.

KVM Host S.M.A.R.T

The S.M.A.R.T system is used in almost all disks today, and is in many cases able to report that a a disk is about to fail. Using the S.M.A.R.T features we can make sure that we replace the faulty hardware before it becomes a real problem.

Install the smartmontools package.

# apt-get install smartmontools

Edit /etc/smartd.conf and comment the DEVICESCAN line.

#DEVICESCAN -d removable -n standby -m root -M exec /usr/share/smartmontools/smartd-runner

Add the following to the end of the file

/dev/sdc -d ata -l error -l xerror -l selftest -s L/../../4/04 -m root -M daily -f
/dev/sdd -d ata -l error -l xerror -l selftest -s L/../../4/04 -m root -M daily -f

Restart the smartd service.

# service smartd restart

None: KVM Host S.M.A.R.T (last edited 2021-01-22 13:28:26 by Kristian Kallenberg)