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

    Building Out XenServer 6.5 with USB Boot and Software RAID 10

    IT Discussion
    xen virtualization xenserver xenserver 6.5 how to
    13
    182
    59.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.
    • RomoR
      Romo
      last edited by

      Lost the whole array? That's strange that would imply something went really wrong. The entry added in fstab whould only cause the os to automount the array, nothing there should cause the array itself to get wiped.

      What is the current status of your array?
      mdadm --detail /dev/md0
      cat /proc/mdstat

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

        This is what is in /var/run/sr-mount....

        0_1447077315730_2015-11-09_08-54-47.png

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

          This is mdadm --details

          0_1447077386678_2015-11-09_08-56-05.png

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

            and cat /proc/mdstat

            0_1447077445996_2015-11-09_08-56-57.png

            scottalanmillerS RomoR 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @DustinB3403
              last edited by

              @DustinB3403 said:

              and cat /proc/mdstat

              ![0_1447077435496_2015-11-09_08-56-57.png](Uploading 100%)

              patience.....

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

                Yes Yes, you're too quick some times sir. I corrected it.

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

                  So with the above 3 pictures and the Array missing.

                  I'd obviously have to rebuild the array, and remap items. Additionally, I'll have to recreate my "backup" USB (which isn't a huge deal)

                  1 Reply Last reply Reply Quote 0
                  • RomoR
                    Romo @DustinB3403
                    last edited by

                    @DustinB3403 can you run

                    mdadm --examine --scan

                    1 Reply Last reply Reply Quote 2
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      We need to find the missing array before we can do anything else. As @romo mentioned we need to scan and see if the array is out there somewhere.

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

                        0_1447092654693_2015-11-09_13-10-40.png

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

                          Running

                              mount md0
                          

                          results in

                             mount: mount point /mnt/raid10 does not exist
                          
                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            mkdir /mnt/raid10

                            1 Reply Last reply Reply Quote 0
                            • RomoR
                              Romo @DustinB3403
                              last edited by

                              @DustinB3403 what is in your mdadm.conf?

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

                                Can't find

                                    md0 in /etc/fstab or /etc/mtab
                                
                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @DustinB3403
                                  last edited by

                                  @DustinB3403 said:

                                  Can't find

                                      md0 in /etc/fstab or /etc/mtab
                                  

                                  Should not be there, right?

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

                                    @Romo said:

                                    @DustinB3403 what is in your mdadm.conf?

                                    0_1447093272983_2015-11-09_13-21-02.png

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

                                      @scottalanmiller said:

                                      @DustinB3403 said:

                                      Can't find

                                          md0 in /etc/fstab or /etc/mtab
                                      

                                      Should not be there, right?

                                      I added an entry into fstab. It may have a typo...

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

                                        fstab

                                        0_1447093339301_2015-11-09_13-22-06.png

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

                                          fstab corrected, entry reversed.

                                               mount raid10
                                          mount: /mnt/raid10 is not a block device
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • RomoR
                                            Romo
                                            last edited by

                                            Your could run

                                            mdadm --examine --scan >> /etc/mdadm/mdadm.conf

                                            To recreate the conf and see if it fixes the problem. /dev/md/0 should be a symbolic link to /dev/md0

                                            DustinB3403D 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 6 / 10
                                            • First post
                                              Last post