Smartmontools: Difference between revisions
Marked this version for translation |
m changed category from software to applications |
||
(2 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
== Example == <!--T:3--> | == Example == <!--T:3--> | ||
</translate> | </translate> | ||
<translate> | |||
<!--T:4--> | |||
{{Template:file:nixos|<nowiki>{ | {{Template:file:nixos|<nowiki>{ | ||
services.smartd = { | services.smartd = { | ||
Line 16: | Line 18: | ||
devices = [ | devices = [ | ||
{ | { | ||
device = "/dev/sda"; # FIXME: Change this to your actual disk; use lsblk to find the appropriate value | device = "/dev/sda"; # FIXME: Change this to your actual disk; use lsblk to find the appropriate value | ||
} | } | ||
]; | ]; | ||
Line 24: | Line 24: | ||
} | } | ||
</nowiki>}} | </nowiki>}} | ||
</translate> | |||
[[Category:Hardware]] | [[Category:Hardware]] | ||
[[Category: | [[Category:Applications]] |
Latest revision as of 17:56, 25 August 2024
smartmontools is a package which provides tools for monitoring drives which support the S.M.A.R.T. system for monitoring hard drive health.
It includes the smartd and smartctl programs. smartd can be enabled on NixOS systems with the services.smartd
module.
Example
/etc/nixos/configuration.nix
{
services.smartd = {
enable = true;
devices = [
{
device = "/dev/sda"; # FIXME: Change this to your actual disk; use lsblk to find the appropriate value
}
];
};
}