User Tools

Site Tools


doc:appunti:hardware:raspberrypi_nas_smart_hard_disk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
doc:appunti:hardware:raspberrypi_nas_smart_hard_disk [2025/10/10 11:24] – [udisks2.service] niccolodoc:appunti:hardware:raspberrypi_nas_smart_hard_disk [2025/12/09 09:37] (current) – [smartctl] niccolo
Line 26: Line 26:
 # 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 14 days.+1 hour interval 168 times days.
 /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 'failure' of any Usage Attributes     -f \                # Check for 'failure' of any Usage Attributes
-    -n standby,336 \    # Skip smartd checks during standby (max 336 times, add ',q' for quiet)+    -n standby,168 \    # Skip smartd checks during standby (max 168 times, add ',q' for quiet)
     -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/../../1/23   # Schedule a short Self-Test at 23:00 of every monday. +                      # Schedule a short Self-Test at 23:00 of every monday
-    -s O/../.././21 \   # Schedule an Offline Immediate Test every day at 21:00.+                      # Schedule an Offline Immediate Test every day at 21:00
 +    -s (S/../../1/23|O/../.././21\
     -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.txt · Last modified: by niccolo