• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    SMART Checking

    Scheduled Pinned Locked Moved
    Feature Request
    4
    9
    3.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Wolfbane8653 Developer
      last edited by Wolfbane8653

      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?

      1 Reply Last reply Reply Quote 3
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        I like it.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • W
          Wolfbane8653 Developer
          last edited by

          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

          Wayne WorkmanW 1 Reply Last reply Reply Quote 1
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            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

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • Joseph HalesJ
              Joseph Hales Testers
              last edited by

              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.

              RTFM

              1 Reply Last reply Reply Quote 1
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                I’m going to get out an old Pentium 2 laptop I have and try this on it.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman @Wayne Workman
                  last edited by Wayne Workman

                  @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?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @Wolfbane8653
                    last edited by

                    @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?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wolfbane8653 Developer
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 2
                      • 1 / 1
                      • First post
                        Last post

                      182

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project