I want to add to the compatibility check and incorporate a smart status check on the drives being imaged.
Also add the check right before imaging while the inits are doing checks, check the SMART disk status. If “PASSED” then continue. If “FAILED” then error out with message about a bad drive. If “UNSUPPORTED” then continue. (need to check on the message for unsupported but you get the jist)
This also gives you all the details of the HDD check it out!
apt-get install smartmontools smartctl -i /dev/sda smartctl -H /dev/sda
We could store that HDD info in the database if we wanted also for inventory purposes and such
I believe this will create a better stability of FOG itself
What do all of you think?