Displaying 1 result from an estimated 1 matches for "totaldevices".
Did you mean:
total_devices
2017 Feb 20
0
mdadm vs raidcheck
...at those errors mean, I looked at
the file specified in the errors,
/usr/share/rear/layout/save/GNU/Linux/21_raid_layout.sh, where I find
line 44 and a couple above it read:
ndevices=$( grep "Raid Devices" $TMP_DIR/mdraid | tr -d " " | cut -d ":" -f "2")
totaldevices=$( grep "Total Devices" $TMP_DIR/mdraid | tr -d " " | cut -d ":" -f "2")
let sparedevices=$totaldevices-$ndevices
it appears that "ndevices" and "totaldevices" are both empty (not zero,
but empty) because the error report above says &quo...