doc:appunti:hardware:raspberrypi_nas_smart_hard_disk
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:hardware:raspberrypi_nas_smart_hard_disk [2025/10/10 11:24] – [udisks2.service] niccolo | doc:appunti:hardware:raspberrypi_nas_smart_hard_disk [2026/06/12 09:56] (current) – [smartctl] niccolo | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| # Use the suggedested subset of checks, instead of the ' | # Use the suggedested subset of checks, instead of the ' | ||
| # NOTICE: We are running smartd with option --interval=3600 instead of the | # NOTICE: We are running smartd with option --interval=3600 instead of the | ||
| - | # 1800 default, i.e. device polling occurs every 1 our instead of 30 minutes. | + | # 1800 default, i.e. device polling occurs every 1 hour instead of 30 minutes. |
| # The number of skipped checks (option -n) must be multipled by that value | # The number of skipped checks (option -n) must be multipled by that value | ||
| # to obtain the maximum time that checks will be skipped: | # to obtain the maximum time that checks will be skipped: | ||
| - | # 336 * 3600 seconds | + | # 1 hour interval |
| /dev/sda -d sat \ | /dev/sda -d sat \ | ||
| -H \ # Check the health with the SMART RETURN STATUS command | -H \ # Check the health with the SMART RETURN STATUS command | ||
| Line 32: | Line 32: | ||
| -l error \ # Report increasing errors number in the Summary SMART error log | -l error \ # Report increasing errors number in the Summary SMART error log | ||
| -f \ # Check for ' | -f \ # Check for ' | ||
| - | -n standby,336 \ # Skip smartd checks during standby (max 336 times, add ', | + | -n standby,168 \ # Skip smartd checks during standby (max 168 times, add ', |
| -W 0,50,60 \ # Temperature (SMART att. 194): WARN=50 (log), CRIT=60 (mail) | -W 0,50,60 \ # Temperature (SMART att. 194): WARN=50 (log), CRIT=60 (mail) | ||
| - | -s S/ | + | \ # Schedule a short Self-Test at 23:00 of every monday. |
| - | -s O/ | + | |
| + | -s (S/ | ||
| -m root@localhost \ # Send a warning email on failures and errors | -m root@localhost \ # Send a warning email on failures and errors | ||
| -M daily \ # Repeat email warnings daily | -M daily \ # Repeat email warnings daily | ||
doc/appunti/hardware/raspberrypi_nas_smart_hard_disk.1760088294.txt.gz · Last modified: by niccolo
