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

      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
            • RomoR
              Romo
              last edited by

              Don't believe it was quite ready for him yet. At least not from only looking at the OP of this thread. @scottalanmiller hasn't yet changed several things from there

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

                Is mkfs.xfs not included in XenServer 6.5?

                with mkfs -help I get mkfs.ext2

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

                  No it is not there by default best option would be mkfs.ext3

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

                    options found by default

                    Screenshot from 2015-11-05 12:50:55.png

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

                      Well that sucks. Ext3? Ugh.

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

                        Yeah I'm thinking he adjusted the command to be

                        mkfs.ext3 /dev/md0
                        

                        And hit enter, just waiting for confirmation.

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

                          Script has been updated.

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

                            @scottalanmiller remeber to change the line that targets devices sd[a-d] to sd[b-e],

                            There is also a typo in the last line,
                            device-config:device=/dev/md10 should be /dev/md0 following that guide

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

                              @Romo The typo's have been addressed.

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

                                @DustinB3403 said:

                                @Romo The typo's have been addressed.

                                Great, this way more people can follow the guide 😃

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

                                  We should probably make a topic on building an off-host ISO and backup target server to complement this guide here.

                                  Since we've already gone full tilt with the USB mdadm RAID 10....

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

                                    @DustinB3403 said:

                                    We should probably make a topic on building an off-host ISO and backup target server to complement this guide here.

                                    Since we've already gone full tilt with the USB mdadm RAID 10....

                                    Agreed.

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

                                      I'm build a XenServer right now on laptop hard drives, using this guide.

                                      So it'll tie in well with Virtualize everything.

                                      Scott would you start a new topic with the basics of "why everything should be virtual" reference this topic, and what the "second server" will be for.

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

                                        I wonder if it's possible to put this into a executable script that could just be downloaded, and run.

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

                                          @DustinB3403 said:

                                          I wonder if it's possible to put this into a executable script that could just be downloaded, and run.

                                          Yes it could, that's part of the goal. We want to be able to fully automate this. In the long run you will likely want a prompt that will ask which devices to add to the array and after that it could do everything on its own.

                                          1 Reply Last reply Reply Quote 0
                                          • stacksofplatesS
                                            stacksofplates
                                            last edited by

                                            What kind of impact does log writing have on the USB? Is that worth a concern at all?

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