ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    UREs Strike InnoDB on MySQL

    IT Discussion
    ure database storage innodb mysql centos centos 6 linux relational database rdbms
    4
    9
    1.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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Had to deal with this one yesterday. Someone (not a client) came to us because their database server had failed. I/O Errors being thrown all over the place. The number of mistakes on the system were pretty crazy: "newly" installed CentOS 6 (why install intentionally old), RAID 0, consumer SATA drives on a Dell server, bare metal install (no virtualization in a one year old install), production deployed on a twelve year old server that was found abandoned with unknown reliability state, no backups, no snapshots, not even local duplicates of the data, no monitoring tools of any sort, no Dell hardware drivers, no visibility of any sort into the PERC controller or drives, 65% of their capacity was used by the database files (so no physical space to use RAID 1, no space to even take a local copy.)

      In other issues, several of the InnoDB databases on the MySQL system were in the 140-300GB range. So the chances of their files being hit with a URE were incredibly high.

      What we think happened? UREs struck the most critical database which was 139GB. This results in the following errors..

      *** glibc detected *** /usr/libexec/mysqld: corrupted double-linked list: 0x000000000013948567 ***
      
      

      And the more general OS error...

      end_request: I/O error, dev sda, sector 898111345
      

      Every search that I've done says the same thing... unrecoverable and you need to restore from backup.

      Given how ridiculously the system was set up, we recommended that as the data wasn't considered to have any value (the entire server it is running on has a street value around $10) that they should just scrap it all and reconsider their choices.

      1 1 Reply Last reply Reply Quote 1
      • 1
        1337 @scottalanmiller
        last edited by 1337

        Step one is to remove the drives and clone them with dd or recovery tool to a new drive.
        You could probably recover 99.9% of the data - if you want.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @1337
          last edited by

          @Pete-S said in UREs Strike InnoDB on MySQL:

          Step one is to remove the drives and clone them with dd or recovery tool to a new drive.
          You could probably recover 99.9% of the data - if you want.

          As you can guess from all of their previous issues, they don't want to pay for any recovery, they just want it magically fixed for free. They don't own any storage onto which to clone it, either.

          1 ObsolesceO 2 Replies Last reply Reply Quote 0
          • 1
            1337 @scottalanmiller
            last edited by

            @scottalanmiller said in UREs Strike InnoDB on MySQL:

            @Pete-S said in UREs Strike InnoDB on MySQL:

            Step one is to remove the drives and clone them with dd or recovery tool to a new drive.
            You could probably recover 99.9% of the data - if you want.

            As you can guess from all of their previous issues, they don't want to pay for any recovery, they just want it magically fixed for free. They don't own any storage onto which to clone it, either.

            Well, that figures. The only things that surprises me here is actually the size of the databases. Unless you store lots of binary data in the db, 100GB or more is usually a lot of data with millions of rows.

            scottalanmillerS 1 Reply Last reply Reply Quote 1
            • scottalanmillerS
              scottalanmiller @1337
              last edited by

              @Pete-S said in UREs Strike InnoDB on MySQL:

              @scottalanmiller said in UREs Strike InnoDB on MySQL:

              @Pete-S said in UREs Strike InnoDB on MySQL:

              Step one is to remove the drives and clone them with dd or recovery tool to a new drive.
              You could probably recover 99.9% of the data - if you want.

              As you can guess from all of their previous issues, they don't want to pay for any recovery, they just want it magically fixed for free. They don't own any storage onto which to clone it, either.

              Well, that figures. The only things that surprises me here is actually the size of the databases. Unless you store lots of binary data in the db, 100GB or more is usually a lot of data with millions of rows.

              Yeah, I was pretty shocked, too. No idea what they do.

              1 Reply Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce @scottalanmiller
                last edited by

                @scottalanmiller said in UREs Strike InnoDB on MySQL:

                @Pete-S said in UREs Strike InnoDB on MySQL:

                Step one is to remove the drives and clone them with dd or recovery tool to a new drive.
                You could probably recover 99.9% of the data - if you want.

                As you can guess from all of their previous issues, they don't want to pay for any recovery, they just want it magically fixed for free. They don't own any storage onto which to clone it, either.

                Then what is the point of any of it? It appears to have zero value to the business.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender
                  last edited by

                  Why did they call if they don’t want to spend money fixing it?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Dashrender
                    last edited by

                    @Dashrender said in UREs Strike InnoDB on MySQL:

                    Why did they call if they don’t want to spend money fixing it?

                    They went through a partner asking for favours to take a look at it.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Obsolesce
                      last edited by

                      @Obsolesce said in UREs Strike InnoDB on MySQL:

                      @scottalanmiller said in UREs Strike InnoDB on MySQL:

                      @Pete-S said in UREs Strike InnoDB on MySQL:

                      Step one is to remove the drives and clone them with dd or recovery tool to a new drive.
                      You could probably recover 99.9% of the data - if you want.

                      As you can guess from all of their previous issues, they don't want to pay for any recovery, they just want it magically fixed for free. They don't own any storage onto which to clone it, either.

                      Then what is the point of any of it? It appears to have zero value to the business.

                      I said that to them.

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