Differences between revisions 5 and 6
Revision 5 as of 2017-10-11 00:30:16
Size: 811
Editor: shran
Comment:
Revision 6 as of 2017-11-11 20:06:46
Size: 807
Editor: shran
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
# apt-get install smartmontools apt-get install smartmontools
Line 27: Line 27:
# service smartd restart service smartd restart

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)