Skip to content

muabila/unattended-snapraid

Repository files navigation

unattended-snapraid.sh

© COPYRIGHT 2019 by T.Magerl dev@muab.org

LICENCE: CC BY-NC-SA 4.0 (see licence-file included)

Description:

  • snapraid script for nightly schedules
  • updating parity data (if needed) and verifying results afterwards.
  • if neither is needed scan for bad blocks or verify x% of the parity (based on last verification)

Usage:

unattended-snapraid.sh [configfile] [scheduled-check-amount]

just pass snapraid-config file for the pool you want to handle.

optional: percent of archive to reverify if nothing else to do (default 3)

Changelog:

  • 2019-08-02
    • improved log output
  • 2019-07-31
    • minor bugfix
    • improved log output
  • 2019-07-30
    • ready for release
    • FIXED: suppress error message while removing non-existent logfiles
    • ADDED: only keep 7 most recent log files
    • ADDED: default settings via config file

About

unattended-snapraid script

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages