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

    Replacing a Failed drive in MD RAID 10

    IT Discussion
    failed drive md raid raid linux raid 10 how to
    10
    33
    5.7k
    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.
    • coliverC
      coliver
      last edited by

      How did you figure out what drive it was in the array? Or did you pull them until you saw the one with that serial number?

      DustinB3403D 1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403 @coliver
        last edited by

        @coliver said:

        How did you figure out what drive it was in the array? Or did you pull them until you saw the one with that serial number?

        How do I know which disk it is?

        Well the other day I noticed that the array had a failed disk. Since I was rebuilding the system anyways I pulled each disk and performed a check disk from windows while checking for bad sectors.

        Only 1 disk was found with bad sectors.

        Knowing which disk this was, and windows saying it fixed the problem, I re-added the disk and simply "remember" which disk had the bad sectors.

        So this disk is the disk that has to be removed.

        coliverC 1 Reply Last reply Reply Quote 0
        • coliverC
          coliver @DustinB3403
          last edited by

          @DustinB3403 said:

          @coliver said:

          How did you figure out what drive it was in the array? Or did you pull them until you saw the one with that serial number?

          How do I know which disk it is?

          Well the other day I noticed that the array had a failed disk. Since I was rebuilding the system anyways I pulled each disk and performed a check disk from windows while checking for bad sectors.

          Only 1 disk was found with bad sectors.

          Knowing which disk this was, and windows saying it fixed the problem, I re-added the disk and simply "remember" which disk had the bad sectors.

          So this disk is the disk that has to be removed.

          Ok, so you wouldn't be able to figure this out from the Linux CLI you would have to have a record of all the serial numbers that are in each bay.

          DustinB3403D 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @coliver
            last edited by

            @coliver Pretty much.

            Since there is no hot-swap function on my server (no indicator lights either) it's simply a matter of my knowing which disk is connected to which SATA port.

            1 Reply Last reply Reply Quote 1
            • DustinB3403D
              DustinB3403
              last edited by DustinB3403

              So at this point I have the disk marked as failed, and removed from the array as shown below.

              0_1453994344578_XenCenterMain_2016-01-28_10-18-57.png

              As you can see sdc is not a part of the array at the moment, which means nothing will be written to the disk. Obviously I'm in a dangerous point in time.

              If I can't get my replacement disk soon, I risk losing the entire array.

              Now, because I've ready had issues with this array (specifically the disk) I have nothing running on this system that I don't have several backups of. So the drive has been ordered and will be here in a day or so.

              At which point I'll shutdown the server, remove the bad disk, and put the new one in.

              1 Reply Last reply Reply Quote 1
              • DustinB3403D
                DustinB3403
                last edited by

                While I wait for that drive to arrive, I'm going to figure out how to configure email alerts for the mdadm array. Seeing as this would be incredibly useful to have.

                Since I can't sit here watching the cat /proc/mdstat.... 🙂

                travisdh1T 1 Reply Last reply Reply Quote 1
                • travisdh1T
                  travisdh1 @DustinB3403
                  last edited by

                  @DustinB3403 said:

                  While I wait for that drive to arrive, I'm going to figure out how to configure email alerts for the mdadm array. Seeing as this would be incredibly useful to have.

                  Since I can't sit here watching the cat /proc/mdstat.... 🙂

                  No remote ssh access?

                  DustinB3403D 1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @travisdh1
                    last edited by

                    @travisdh1 I do have access, but I'm still not going to sit here and watch it.

                    1 Reply Last reply Reply Quote 1
                    • DustinB3403D
                      DustinB3403
                      last edited by DustinB3403

                      So now that I have the email alerts configured for my Xen Servers, I really want to work on updating SmartCTL so it supports the drives that I have in this server.

                      Which are pretty common drives.

                      Western Digital Red 1TB.

                      I'm really surprised how old of a database is built into XenServer 6.5.

                      So time to figure this part out.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @DustinB3403
                        last edited by

                        @DustinB3403 said:

                        So now that I have the email alerts configured for my Xen Servers, I really want to work on updating SmartCTL so it supports the drives that I have in this server.

                        Which are pretty common drives.

                        Western Digital Red 1TD.

                        I'm really surprised how old of a database is built into XenServer 6.5.

                        So time to figure this part out.

                        WTF is a TD?

                        DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @JaredBusch
                          last edited by

                          @JaredBusch said:

                          @DustinB3403 said:

                          So now that I have the email alerts configured for my Xen Servers, I really want to work on updating SmartCTL so it supports the drives that I have in this server.

                          Which are pretty common drives.

                          Western Digital Red 1TD.

                          I'm really surprised how old of a database is built into XenServer 6.5.

                          So time to figure this part out.

                          WTF is a TD?

                          That would be a typo' whoops.

                          1TB.

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

                            @JaredBusch said:

                            @DustinB3403 said:

                            So now that I have the email alerts configured for my Xen Servers, I really want to work on updating SmartCTL so it supports the drives that I have in this server.

                            Which are pretty common drives.

                            Western Digital Red 1TD.

                            I'm really surprised how old of a database is built into XenServer 6.5.

                            So time to figure this part out.

                            WTF is a TD?

                            TeraDactyl, duh.

                            It's the amount of storage taht canbe carried by an unladen teradactyl.

                            JaredBuschJ M 2 Replies Last reply Reply Quote 1
                            • JaredBuschJ
                              JaredBusch @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              @JaredBusch said:

                              @DustinB3403 said:

                              So now that I have the email alerts configured for my Xen Servers, I really want to work on updating SmartCTL so it supports the drives that I have in this server.

                              Which are pretty common drives.

                              Western Digital Red 1TD.

                              I'm really surprised how old of a database is built into XenServer 6.5.

                              So time to figure this part out.

                              WTF is a TD?

                              TeraDactyl, duh.

                              It's the amount of storage taht canbe carried by an unladen teradactyl.

                              A Jurassic or Triassic TeraDactyl?

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

                                @JaredBusch said:

                                @scottalanmiller said:

                                @JaredBusch said:

                                @DustinB3403 said:

                                So now that I have the email alerts configured for my Xen Servers, I really want to work on updating SmartCTL so it supports the drives that I have in this server.

                                Which are pretty common drives.

                                Western Digital Red 1TD.

                                I'm really surprised how old of a database is built into XenServer 6.5.

                                So time to figure this part out.

                                WTF is a TD?

                                TeraDactyl, duh.

                                It's the amount of storage taht canbe carried by an unladen teradactyl.

                                A Jurassic or Triassic TeraDactyl?

                                I... I don't know!

                                JaredBuschJ 1 Reply Last reply Reply Quote 1
                                • JaredBuschJ
                                  JaredBusch @scottalanmiller
                                  last edited by

                                  @scottalanmiller said:

                                  @JaredBusch said:

                                  @scottalanmiller said:

                                  @JaredBusch said:

                                  @DustinB3403 said:

                                  So now that I have the email alerts configured for my Xen Servers, I really want to work on updating SmartCTL so it supports the drives that I have in this server.

                                  Which are pretty common drives.

                                  Western Digital Red 1TD.

                                  I'm really surprised how old of a database is built into XenServer 6.5.

                                  So time to figure this part out.

                                  WTF is a TD?

                                  TeraDactyl, duh.

                                  It's the amount of storage taht canbe carried by an unladen teradactyl.

                                  A Jurassic or Triassic TeraDactyl?

                                  I... I don't know!

                                  img

                                  1 Reply Last reply Reply Quote 2
                                  • MattSpellerM
                                    MattSpeller
                                    last edited by MattSpeller

                                    This is a strange thread...

                                    0_1454011384339_image.jpg

                                    coliverC 1 Reply Last reply Reply Quote 0
                                    • coliverC
                                      coliver @MattSpeller
                                      last edited by

                                      @MattSpeller said:

                                      This is a strange thread...

                                      Right... lets not go there tis a silly thread.

                                      brianlittlejohnB 1 Reply Last reply Reply Quote 3
                                      • brianlittlejohnB
                                        brianlittlejohn @coliver
                                        last edited by

                                        @coliver silly english k-nig-hts

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mazterjedi @scottalanmiller
                                          last edited by

                                          @scottalanmiller African or European?

                                          MattSpellerM 1 Reply Last reply Reply Quote 0
                                          • MattSpellerM
                                            MattSpeller @mazterjedi
                                            last edited by

                                            @mazterjedi said in Replacing a Failed drive in MD RAID 10:

                                            @scottalanmiller African or European?

                                            https://cdn.meme.am/instances/500x/31718148.jpg

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