Guest User

Untitled

a guest
Nov 21st, 2017
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. # SHORT SCANS DAILY:
  2. /dev/sda -d megaraid,0 -s S/../.././06 -m root,my@email.com -M daily -a > /var/log/smartd/short0.log
  3. /dev/sda -d megaraid,1 -s S/../.././07 -m root,my@email.com -M daily -a > /var/log/smartd/short1.log
  4. /dev/sda -d megaraid,2 -s S/../.././08 -m root,my@email.com -M daily -a > /var/log/smartd/short2.log
  5. /dev/sda -d megaraid,3 -s S/../.././09 -m root,my@email.com -M daily -a > /var/log/smartd/short3.log
  6. /dev/sda -d megaraid,4 -s S/../.././10 -m root,my@email.com -M daily -a > /var/log/smartd/short4.log
  7. /dev/sda -d megaraid,5 -s S/../.././11 -m root,my@email.com -M daily -a > /var/log/smartd/short5.log
  8.  
  9. # LONG SCANS OVER WEEKENDS:
  10. /dev/sda -d megaraid,0 -s L/../../6/00 -m root,my@email.com -M daily -a > /var/log/smartd/long0.log
  11. /dev/sda -d megaraid,1 -s L/../../6/06 -m root,my@email.com -M daily -a > /var/log/smartd/long1.log
  12. /dev/sda -d megaraid,2 -s L/../../6/12 -m root,my@email.com -M daily -a > /var/log/smartd/long2.log
  13. /dev/sda -d megaraid,3 -s L/../../6/18 -m root,my@email.com -M daily -a > /var/log/smartd/long3.log
  14. /dev/sda -d megaraid,4 -s L/../../7/00 -m root,my@email.com -M daily -a > /var/log/smartd/long4.log
  15. /dev/sda -d megaraid,5 -s L/../../7/06 -m root,my@email.com -M daily -a > /var/log/smartd/long5.log
  16.  
  17. # GENERAL SCAN
  18. DEVICESCAN -H -m root,my@email.com -M exec /usr/libexec/smartmontools/smartdnotify -n standby,10,q
Add Comment
Please, Sign In to add comment