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

    Building Out XenServer 6.5 with USB Boot and Software RAID 10

    Scheduled Pinned Locked Moved IT Discussion
    xenvirtualizationxenserverxenserver 6.5how to
    182 Posts 13 Posters 62.8k Views
    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 @Romo
      last edited by

      @Romo said:

      I got the uuid using this:

      madadm --detail /dev/md10 | grep UUID

      What is the raw output of that command? Did you need to clean it up? I want this scripted, not manual, if possible.

      1 Reply Last reply Reply Quote 0
      • brianlittlejohnB
        brianlittlejohn
        last edited by

        i'm going to have to try this out, i have an old dell with FAKERAID.

        mlnewsM 1 Reply Last reply Reply Quote 1
        • RomoR
          Romo
          last edited by

          This is the output @scottalanmiller just have to replace : with -

          UUID : fba59a9c:7e6db5a2:d21e4034:3b415cfd

          1 Reply Last reply Reply Quote 0
          • mlnewsM
            mlnews @brianlittlejohn
            last edited by

            @brianlittlejohn said:

            i'm going to have to try this out, i have an old dell with FAKERAID.

            You can do it anywhere. No FakeRAID needed since the whole point is to bypass it. Works equally well where there is no FakeRAID too.

            1 Reply Last reply Reply Quote 1
            • RomoR
              Romo
              last edited by

              echo "modprobe raid10" > /etc/sysconfig/modules/raid.modules
              modprobe raid10
              chmod a+x /etc/sysconfig/modules/raid.modules

              mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/sd[a-d]

              Loading the modules to kernel need to go before creating the md device

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

                @romo can you confirm if this command works?

                madadm --detail /dev/md10 | grep UUID | cut -d' ' -f3
                
                1 Reply Last reply Reply Quote 0
                • RomoR
                  Romo
                  last edited by

                  I got a blank output after fixing madadm to mdadm

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

                    It worked on the output that you gave to me. 😞

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

                      See what -f2 does.

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

                        I refreshed the OP with the latest revisions.

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

                          Screenshot from 2015-11-05 09:47:36.png

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

                            Romo can you confirm if SDA is the USB drive?

                            we need to confirm that it's not attempting to be added to the Array with

                            mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/sd[a-d]
                            
                            1 Reply Last reply Reply Quote 0
                            • RomoR
                              Romo
                              last edited by

                              Yes in my setup sda simulates to be the usb, thats why the array starts with sdb

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

                                OK so scott change the script to start at sd[b-e]

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

                                  I believe it should be in this order:

                                  modprobe raid10
                                  chmod a+x /etc/sysconfig/modules/raid.modules
                                  mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/sd[a-d]
                                  cat /proc/mdstat

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

                                    @Romo

                                    You mean

                                    mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/sd[b-e]
                                    

                                    Need to be very certain we aren't attempting to overwrite the OS USB

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

                                      We should also add that he needs to finish the array building before trying to add the filesystem

                                      watch cat /proc/mdstat to see it build in real time

                                      And also @scottalanmiller i only get mkfs.cramfs mkfs.ext2 and mkfs.ext3 as available fs by default

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

                                        @DustinB3403 said:

                                        @Romo

                                        You mean

                                        mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/sd[b-e]
                                        

                                        Need to be very certain we aren't attempting to overwrite the OS USB

                                        Yes, sorry I just copied the OP to show the order. The array needs to start with sdb, sda is the usb

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

                                          Thats the screenshot of the array detail as you can see the array goes from sd[b-e]

                                          Screenshot from 2015-11-04 20:06:04.png

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

                                            OK Well I've directed him to this topic here, and given him the information he'll need to build the array, following the updated OP.

                                            Lets see how it goes.

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