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.2k
    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.
    • A
      Alex Sage
      last edited by

      Looks good?

      [root@XenServer ~]# cat /proc/mdstat
      Personalities : [raid10] [raid1]
      md0 : active raid1 sdb[0] sdc[1]
            976631360 blocks super 1.2 [2/2] [UU]
            [=>...................]  resync =  5.4% (52749312/976631360) finish=143.3min speed=107400K/sec
      
      unused devices: <none>
      [root@XenServer ~]#
      
      DustinB3403D 1 Reply Last reply Reply Quote 1
      • DustinB3403D
        DustinB3403 @Alex Sage
        last edited by

        @anonymous besides just the two disk, yeah it looks alright.

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

          Nothing wrong with RAID 1!

          1 Reply Last reply Reply Quote 1
          • A
            Alex Sage
            last edited by

            Will this guide work with CentOS 7?

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

              @aaronstuder said:

              Will this guide work with CentOS 7?

              It likely would, but you'll have to test it to find out.

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

                @aaronstuder said:

                Will this guide work with CentOS 7?

                To do what with CentOS 7? Do you want to install CentOS to a USB stick? Or are you just looking for the MD RAID portion?

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

                  We need to make this guide again with XS7.

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

                    Has anyone attempted this guide on XS7? Confirming what works and what doesn't.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Alex Sage @DustinB3403
                      last edited by

                      @DustinB3403 I'll try it tomorrow night.

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

                        @aaronstuder said in Building Out XenServer 6.5 with USB Boot and Software RAID 10:

                        @DustinB3403 I'll try it tomorrow night.

                        Thanks

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          Alex Sage @scottalanmiller
                          last edited by

                          @scottalanmiller Well, change of plans, I ordered 32GB more RAM and 2 New 64GB thumbdrives, which will be here Saturday. Will upgrade then and test 🙂

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

                            There appears to be a bug with XS7 and upgrading / using an existing MD array.

                            https://bugs.xenserver.org/browse/XSO-545

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Alex Sage @DustinB3403
                              last edited by

                              @DustinB3403 Interesting. I will be starting fresh... Would you like to to try a upgrade as well?

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

                                @aaronstuder Tried upgrading, and I'm getting several errors on my test system. Which ran XS6.5 just fine.

                                Going to try again and see what happens, this time not using the existing array, but the same boot device.

                                A 1 Reply Last reply Reply Quote 0
                                • A
                                  Alex Sage @DustinB3403
                                  last edited by

                                  @DustinB3403 Ah, I see. Have you tried a fresh install?

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

                                    @aaronstuder Working on that now.

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

                                      It looks as though I'm going to have to clean the drives that are a part of the old array before I can proceed. I'm getting an error

                                       no such file or directory: '/sys/block/md127p1'
                                      
                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        Alex Sage @DustinB3403
                                        last edited by

                                        @DustinB3403 Bummer. On a side note, how do I quickly remove all partitions on a drive in Linux? I want a blank drive with nothing on it 🙂

                                        DustinB3403D travisdh1T 2 Replies Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403 @Alex Sage
                                          last edited by

                                          @aaronstuder said in Building Out XenServer 6.5 with USB Boot and Software RAID 10:

                                          @DustinB3403 Bummer. On a side note, how do I quickly remove all partitions on a drive in Linux? I want a blank drive with nothing on it 🙂

                                          I'm assuming on the software array, correct?

                                          mdadm --stop /dev/md0
                                          mdadm --remove /dev/md0
                                          mdadm --zero-superblock /dev/sda    (per drive)
                                          sfdisk -d /dev/sda | sfdisk /dev/sdb
                                          
                                          1 Reply Last reply Reply Quote 2
                                          • travisdh1T
                                            travisdh1 @Alex Sage
                                            last edited by travisdh1

                                            @aaronstuder

                                            parted /dev/device
                                            rm 1
                                            

                                            Repeat rm for each partition on the drive.

                                            Edit: @DustinB3403 method is better if it's an mdadm array.

                                            A 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 9 / 10
                                            • First post
                                              Last post