muabila / unattended-snapraid

unattended-snapraid script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:Shell 100.0%