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

    Building Out XenServer 6.5 with USB Boot and Software RAID 10

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

      This shows the file system added to our raid array

      creating_file_system.png

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

        Automounting

        Screenshot from 2015-11-04 20:22:43.png

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

          mdadm.conf

          Screenshot from 2015-11-04 20:24:45.png

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

            Checking filesystems present in our system, at the bottom theres our array.

            Screenshot from 2015-11-04 20:27:36.png

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

              And finally the status of our array

              Screenshot from 2015-11-04 20:30:58.png

              1 Reply Last reply Reply Quote 1
              • dafyre
                dafyre last edited by

                @Romo -- sd[b-e]... Is this your boot drive, or just the data stores for XenServer ?

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

                  That is the data store.

                  sda would be the boot device.

                  sd[b-e] would be every other disk in the system available.

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

                    Without anyone outcrying (@scottalanmiller and @Romo) are we settled on providing the above process to configure mdadm on a USB XenServer?

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

                      Yes, just need to compile it into a step by step "one place" list.

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

                        And it would be handy to know what his device list was going to look like.

                        1 Reply Last reply Reply Quote 0
                        • dafyre
                          dafyre last edited by

                          And preferably test it as you go, lol.

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

                            Does anyone know how to select the VM storage in xenserver, outside of the ISO installation process. We probably need that as well.

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

                              @dafyre said:

                              And preferably test it as you go, lol.

                              Testing is for wimps.

                              1 Reply Last reply Reply Quote 2
                              • Romo
                                Romo @dafyre last edited by

                                @DustinB3403 I am actually trying to do exactly that just right now on my test setup. It thought that with this command:
                                xe sr-create type=ext device-config:device=/dev/md10 shared=false host-uuid:fba59a9c7e6db5a2d21e40343b415cfd name-label="Array storage"

                                It would get added as local storage to xencenter, but I am getting this error :
                                The SR operation cannot be performed because a device underlying the SR is in use by the host.

                                Don't really know why, I haven't used xenserver before. Any ideas @scottalanmiller

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

                                  OK so without the specific target device I believe this command will work.

                                  xe sr-create content-type=user type=ext device-config:device=/dev/cciss/c0d0p3 shared=false name-label="Local storage"
                                  

                                  We simply need to determine his device path

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

                                    @Romo said:

                                    @DustinB3403 I am actually trying to do exactly that just right now on my test setup. It thought that with this command:
                                    xe sr-create type=ext device-config:device=/dev/md10 shared=false host-uuid:fba59a9c7e6db5a2d21e40343b415cfd name-label="Array storage"

                                    It would get added as local storage to xencenter, but I am getting this error :
                                    The SR operation cannot be performed because a device underlying the SR is in use by the host.

                                    Don't really know why, I haven't used xenserver before. Any ideas @scottalanmiller

                                    The reason your target device is in use is you have it mounted. Try dismounting the array and try again.

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

                                      Romo when you run

                                      xe sr-list 
                                      

                                      What's listed?

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

                                        The array is now properly seen as storage in xencenter, I did have to unmount it first @DustinB3403

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

                                          What process did you run to unmount it.

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

                                            umount /dev/md10

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