meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:prepare:prepare [2025/01/05 14:00] – niziak | linux:prepare:prepare [2025/01/06 10:53] (current) – niziak | ||
|---|---|---|---|
| Line 153: | Line 153: | ||
| Disable mandb updates after apt: | Disable mandb updates after apt: | ||
| <code bash> | <code bash> | ||
| + | |||
| + | ==== smartmontools ==== | ||
| + | |||
| + | <code bash>apt install smartmontools</ | ||
| + | <file sh / | ||
| + | DEVICESCAN -n standby, | ||
| + | -l xerror \ | ||
| + | -l selftest \ | ||
| + | -l offlinests \ | ||
| + | -l scterc,0,0 \ | ||
| + | -e lookahead, | ||
| + | -s (L/ | ||
| + | -f -p -C 197+ -U 198+ -W 10, | ||
| + | </ | ||
| + | |||
| + | NOTE: It ignores disk in standby to do not spin up HDDs, but it ignores 336 checks (x 1800s interval = 7 days), then it will spin up disc. To put disc sleep again it is good to use '' | ||
| + | |||
| + | ==== hd-idle ==== | ||
| + | |||
| + | <code bash>apt install hd-idle</ | ||
| + | |||
| + | <file sh / | ||
| + | HD_IDLE_OPTS=" | ||
| + | </ | ||
| + | systemctl restart hd-idle | ||
| + | |||