SMART Checking
-
https://help.ubuntu.com/community/Smartmontools
http://www.techrepublic.com/blog/linux-and-open-source/using-smartctl-to-get-smart-status-information-on-your-hard-drives/-
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?
-
-
I like it.
-
Tom has added the program into the init’s but has not implemented this in full as of yet.
Tested x86_64 (aka init) and commands work correctly
Need to test the x86 (aka init_32)
this will be done in the morning
-
personally, i don’t find SMART status to be reliable enough to care about. and as i recall, some SSDs don’t even support SMART
-
While it doesn’t find all issues it is quick to check and will reduce issues with imaging a bad drive, I certainly haven’t see any false drive failure messages.
-
I’m going to get out an old Pentium 2 laptop I have and try this on it.
-
@Wayne-Workman said:
I’m going to get out an old Pentium 2 laptop I have and try this on it.
I proudly pulled out my old-faithful Latitude C500 laptop (http://www.6thplanet.com/store/technical/infolatitudec500.html) from it’s dark and cozy stasis pod (a laptop bag) and fired her up.
Couldn’t get the onboard NIC to work, Couldn’t get it to network boot after spending time in the CMOS Settings and then I smelled something burning… So I shut her down gracefully.
She’s got a Windows 98 SE product code on her derriere
I’ll need to find another older (but maybe not so old) system to test with…
My Dell D620 is quite old but I have upgraded it to a SATA 3 SSD (among other things) so I’m not sure if it’s fair to test with it… or maybe it is?
-
@Wolfbane8653 said:
Tom has added the program into the init’s but has not implemented this in full as of yet.
Tested x86_64 (aka init) and commands work correctly
Need to test the x86 (aka init_32)
this will be done in the morning
Updates?
-
32-bit and 64-bit both work in the inits.
You just have to boot into debug mode right now and then type in the above commands. I will talk with Tom to see if we can change the compatibility check first as we do not want to mess up the current flow