Smartmontools/ru: Difference between revisions

From NixOS Wiki
Unabomberlive (talk | contribs)
Created page with "== Пример =="
Unabomberlive (talk | contribs)
Created page with "Он включает в себя программы '''smartd''' и '''smartctl'''. Smartd может быть включён на системах NixOS с помощью модуля {{Nixos:option|services.smartd}}."
Tags: Mobile edit Mobile web edit
Line 3: Line 3:
'''smartmontools''' is a package which provides tools for monitoring drives which support the [[wikipedia:Self-Monitoring, Analysis and Reporting Technology|S.M.A.R.T.]] system for monitoring hard drive health.
'''smartmontools''' is a package which provides tools for monitoring drives which support the [[wikipedia:Self-Monitoring, Analysis and Reporting Technology|S.M.A.R.T.]] system for monitoring hard drive health.
</div>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Он включает в себя программы '''smartd''' и '''smartctl'''. Smartd может быть включён на системах NixOS с помощью модуля {{Nixos:option|services.smartd}}.
It includes the '''smartd''' and '''smartctl''' programs. smartd can be enabled on NixOS systems with the {{Nixos:option|services.smartd}} module.
</div>
<span id="Example"></span>
<span id="Example"></span>
== Пример ==
== Пример ==

Revision as of 04:12, 1 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.

Он включает в себя программы smartd и smartctl. Smartd может быть включён на системах NixOS с помощью модуля services.smartd.

Пример

/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
      }
    ];
  };
}