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

    Bad Sectors and Failed Image Upload

    Scheduled Pinned Locked Moved
    Linux Problems
    4
    18
    7.9k
    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.
    • I
      ianabc Testers
      last edited by

      And after running chkdsk are you still seeing the same error?

      1 Reply Last reply Reply Quote 0
      • G
        geoffpeters
        last edited by

        Yes, I have run chkdsk twice with the same result.

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          Then there likely is actually something wrong with the drive that chkdsk is missing.

          Could you try a different system of the same model? Do you run into the same issues?

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • G
            geoffpeters
            last edited by

            I don’t have an identical system.

            I have a number that are similar, same MB and CPU, but with different amounts of RAM and different HD sizes.

            I will try one and see what happens.

            1 Reply Last reply Reply Quote 0
            • I
              ianabc Testers
              last edited by

              Could you try taking a non-resizing image of the disk? i.e. create a multiple partition single disk image and try uploading to that. This is probably not what you want to do long term but it might let you pull the image off of that machine before the disk finally dies.

              1 Reply Last reply Reply Quote 0
              • G
                geoffpeters
                last edited by

                I don’t have enough space on the fog server to do that.

                I have no reason to believe there is actually anything wrong with the HD on the problem machine. Is it possible the report is incorrect? Is there another way to test it other than Windows chkdsk to verify that there is an issue? It’s a WD 1TB enterprise drive only a few months old.

                The image of another machine just completed successfully.

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

                  try the western digital drive diagnostics available from their website

                  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
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    “The image of another machine just completed successfully.”

                    Does this not tell you anything.

                    Why is it so hard to believe that there could potentially be a “REAL” problem with a manufactured drive? These kinds of problems happen all the time.

                    We know it’s not fog just toying with your emotions here. It’s telling you what the problem is and why it’s failing. I would see if WD can test it.

                    You could try a ddrescue on the drive and see if anything shows up, or better yet perform a surface scan on the disk, using fogs very vast amount of tools.

                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • G
                      geoffpeters
                      last edited by

                      Running WD diagnostics now. Will follow up with surface scan.

                      1 Reply Last reply Reply Quote 0
                      • I
                        ianabc Testers
                        last edited by

                        [quote=“geoffpeters, post: 34452, member: 25329”]I don’t have enough space on the fog server to do that.[/quote]
                        The image process still uses partclone.ntfs and not dd, so you are still only storing the “used space” of the disk image. smartctl can also pop out information about the failure status of a disk
                        [CODE]
                        $ smartctl -a /dev/sda
                        [/CODE]

                        On the up side if your drive is starting to fail you caught it early and you are still under warranty 🙂

                        1 Reply Last reply Reply Quote 0
                        • G
                          geoffpeters
                          last edited by

                          OK. The WD Data Lifeguard extended test did not find any problems.

                          When I run the surface scan from Fog, can I see the results later? It will take a long time to run and I want to start it when I leave for the day.

                          I tried running smartctl using the debug option but I get a message “command not found”

                          Thanks

                          1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            I don’t know that smartctl is installed. You stated the bad-sectors option, but have you defragged the system and then tried chkdsk?

                            THe command to “repair” bad-sectors is already embedded into FOG but if you do though debug it would be something like:
                            ntfsresize -b [otherargs as needed] <partition to clean>

                            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • G
                              geoffpeters
                              last edited by

                              I’m a bit confused about what you are recommending.

                              Should I run the surface scan? If so is there a way to view the results at a later time. I ran it on a smaller disk and the scan results were only visible for a few seconds. I will not necessarily be viewing the monitor when scan completes.

                              Can you clarify what you mean “THe command to “repair” bad-sectors is already embedded into FOG”

                              Thanks

                              1 Reply Last reply Reply Quote 0
                              • I
                                ianabc Testers
                                last edited by

                                I would certainly try the surface scan. If you are having problems getting the results out of fog you could run the test manually, I think it uses badblocks in the background so booting into a debug session and then running
                                [CODE]
                                $ badblocks -sv /dev/sda
                                [/CODE]
                                should give you the output you are looking for. As I mentioned above though I would try one of the non-resizing upload tasks (multi-partition image), you don’t need 1TB to do it and it will give you an image to recover from if you have a problem with the disk.

                                1 Reply Last reply Reply Quote 0
                                • G
                                  geoffpeters
                                  last edited by

                                  Thanks.

                                  I decided to forgo the surface scan for now.

                                  The multi-partition image is currently uploading.

                                  I appreciate the help and thank you both for your time.

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

                                  159

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project