Blaine Story 3b4354ffcd update snapraid role to work with stream9 2 years ago
..
defaults 6ada263557 add snapraid role 3 years ago
tasks 3b4354ffcd update snapraid role to work with stream9 2 years ago
templates 1a8f7dd530 modify snapraid-diff-n-sync script to push to ntfy 2 years ago
README.md 3def090907 update snapraid readme 3 years ago

README.md

snapraid

Installs and configures snapraid. Installs periodic S.M.A.R.T. tests on all disks as well as automated snapraid syncs.

Variables

snapraid_parity_disks:
  - path: /mnt/parity1
    parity: parity
    disk: /dev/disk/by-id/ata-WDC_WD101EFAX-68LDBN0_VCG6YNSN
    fs: ext4         # defaults to xfs
    opts: noatime    # defaults to 'defaults'
    owner: username  # defaults to root
    group: groupname # defaults to root
    mode: '0777'     # defaults to '0750'

  - path: /mnt/parity2
    parity: 2-parity
    disk: /dev/disk/by-id/ata-WDC_WD101EFAX-68LDBN0_VCG6VGPN


snapraid_data_disks:
  - path: /mnt/disk1
    disk: /dev/disk/by-id/ata-WDC_WD101EFBX-68B0AN0_VCJW0TDP

Cronjobs can have any of the following settings:

  • minute
  • hour
  • dom
  • month
  • dow

Default cronjob times:

snapraid_sync_cron:
  minute: '30'
  hour: '3'

snapraid_smart_test_cron:
  minute: '0'
  hour: '0' 
  dow: '0'