/JMB39X-arrayCheck

A simple script to quickly check the SMART status of a disk array behind a JMB39X-based standalone RAID controller/port multiplier

Primary LanguageShell

README

arrayCheck.sh by TGYK

Requires smartmontools v7.1+

Usage:

./arrayCheck.sh

Options:

All options can be configured to run as default values by editing the arrayCheck.sh script with the corresponding variables.

-d | --device

Specify which device the JMB39X array is seen to linux as. E.G./dev/sda

-n | --array-size

Specify the number of disks are in the array

-q | --quiet-success

Disable output on non-error return