The SSDs in the bruuni, specifically, have mostly catastrophically failed. There are no details about sectors in the SMART output. Just obvious failure. `smart.sh` wasn't capable of detecting that.
Signed-off-by: David Galloway <dgallowa@redhat.com>
failed=true
rc=2
fi
+ # The SSDs in the bruuni just straight up say failed with no additional detail
+ elif sudo smartctl -a /dev/$l | grep -q "FAILED!"; then
+ messages+=("Drive $l has completely failed")
+ failed=true
+ rc=2
else
messages+=("No SMART data found for drive $l")
failed=true