xfs_repair could not find valid secondary superblock











up vote
0
down vote

favorite












I had 3 bad tracks on my hard drive so I used Disk Genius to fix it,ofcourse the data near the back tracks were wiped out.Then I booted from linux rescue disk and run



xfs_repair /dev/sda1
xfs_repair /dev/sda2


sda1 went through ok but sda2 at some point it says"Sorry,could not find valid secondary superblock" and can't go all the way through.What other method do I have to fix it?










share|improve this question














bumped to the homepage by Community 8 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    up vote
    0
    down vote

    favorite












    I had 3 bad tracks on my hard drive so I used Disk Genius to fix it,ofcourse the data near the back tracks were wiped out.Then I booted from linux rescue disk and run



    xfs_repair /dev/sda1
    xfs_repair /dev/sda2


    sda1 went through ok but sda2 at some point it says"Sorry,could not find valid secondary superblock" and can't go all the way through.What other method do I have to fix it?










    share|improve this question














    bumped to the homepage by Community 8 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I had 3 bad tracks on my hard drive so I used Disk Genius to fix it,ofcourse the data near the back tracks were wiped out.Then I booted from linux rescue disk and run



      xfs_repair /dev/sda1
      xfs_repair /dev/sda2


      sda1 went through ok but sda2 at some point it says"Sorry,could not find valid secondary superblock" and can't go all the way through.What other method do I have to fix it?










      share|improve this question













      I had 3 bad tracks on my hard drive so I used Disk Genius to fix it,ofcourse the data near the back tracks were wiped out.Then I booted from linux rescue disk and run



      xfs_repair /dev/sda1
      xfs_repair /dev/sda2


      sda1 went through ok but sda2 at some point it says"Sorry,could not find valid secondary superblock" and can't go all the way through.What other method do I have to fix it?







      centos xfs






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 31 at 11:00









      shadow_wxh

      1118




      1118





      bumped to the homepage by Community 8 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 8 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          When you have hard drive errors, it's always better to have the following:




          • a bootable USB running the same OS you're running

          • a hard drive equal to or larger than the hard drive you're recovering from

          • a hard drive to save your valuable data on


          Then you should immediately create a copy of your failing hard drive using ddrescue onto the new one and work from the copy so you can always go back and try again...



          Now that you didn't, you can't any more but I still would take an image at this point in time, because no superblocks at all means that (most of) your data is still there, it just cannot be found and you can still use:




          • TestDisk

          • PhotoRec

          • foremost


          to recover individual files.






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434646%2fxfs-repair-could-not-find-valid-secondary-superblock%23new-answer', 'question_page');
            }
            );

            Post as a guest
































            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            When you have hard drive errors, it's always better to have the following:




            • a bootable USB running the same OS you're running

            • a hard drive equal to or larger than the hard drive you're recovering from

            • a hard drive to save your valuable data on


            Then you should immediately create a copy of your failing hard drive using ddrescue onto the new one and work from the copy so you can always go back and try again...



            Now that you didn't, you can't any more but I still would take an image at this point in time, because no superblocks at all means that (most of) your data is still there, it just cannot be found and you can still use:




            • TestDisk

            • PhotoRec

            • foremost


            to recover individual files.






            share|improve this answer

























              up vote
              0
              down vote













              When you have hard drive errors, it's always better to have the following:




              • a bootable USB running the same OS you're running

              • a hard drive equal to or larger than the hard drive you're recovering from

              • a hard drive to save your valuable data on


              Then you should immediately create a copy of your failing hard drive using ddrescue onto the new one and work from the copy so you can always go back and try again...



              Now that you didn't, you can't any more but I still would take an image at this point in time, because no superblocks at all means that (most of) your data is still there, it just cannot be found and you can still use:




              • TestDisk

              • PhotoRec

              • foremost


              to recover individual files.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                When you have hard drive errors, it's always better to have the following:




                • a bootable USB running the same OS you're running

                • a hard drive equal to or larger than the hard drive you're recovering from

                • a hard drive to save your valuable data on


                Then you should immediately create a copy of your failing hard drive using ddrescue onto the new one and work from the copy so you can always go back and try again...



                Now that you didn't, you can't any more but I still would take an image at this point in time, because no superblocks at all means that (most of) your data is still there, it just cannot be found and you can still use:




                • TestDisk

                • PhotoRec

                • foremost


                to recover individual files.






                share|improve this answer












                When you have hard drive errors, it's always better to have the following:




                • a bootable USB running the same OS you're running

                • a hard drive equal to or larger than the hard drive you're recovering from

                • a hard drive to save your valuable data on


                Then you should immediately create a copy of your failing hard drive using ddrescue onto the new one and work from the copy so you can always go back and try again...



                Now that you didn't, you can't any more but I still would take an image at this point in time, because no superblocks at all means that (most of) your data is still there, it just cannot be found and you can still use:




                • TestDisk

                • PhotoRec

                • foremost


                to recover individual files.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 1 at 8:07









                Fabby

                2,80911024




                2,80911024






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434646%2fxfs-repair-could-not-find-valid-secondary-superblock%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest




















































































                    Popular posts from this blog

                    Morgemoulin

                    Scott Moir

                    Souastre