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 65.4k 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.
    • Reid CooperR
      Reid Cooper
      last edited by

      That can't be right. I'm sure only one of those lines is supposed to be there.

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

        Quite strange that the first two entries don't have a UUID set, mdadm needs the UUID set.

        We could try to manually edit the file, adding the UUID from the last entry into the first entry, and then removing entries 2 and 3.

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

          @Romo Like so?

          [root@eaglexen-baby mnt]# cat /etc/mdadm.conf 
          ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea
             devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde metadata=1.2  name=eaglexen-baby:0
          [root@eaglexen-baby mnt]#
          
          1 Reply Last reply Reply Quote 0
          • RomoR
            Romo
            last edited by

            @DustinB3403 said:

            ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea
            devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde metadata=1.2 name=eaglexen-baby:0

            ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea
            devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde

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

              Don't need the metadata and name again after the devices

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

                [root@eaglexen-baby mnt]# cat /etc/mdadm.conf 
                ARRAY /dev/md0 level=raid10 num-devices=4 metadata=1.2 name=eaglexen-baby:0 UUID=5bd9375b:2166352e:622be934:4b65a7ea devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde
                
                1 Reply Last reply Reply Quote 0
                • RomoR
                  Romo
                  last edited by

                  Yes, seems ok. Reboot and try to check the status of the array once again

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

                    @Romo said:

                    Yes, seems ok. Reboot and try to check the status of the array once again

                    Rebooted.

                    Array found, drives mounted.

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

                      So now that we're back to working condition. We need an entry added to fstab to auto-mount the array.

                        GNU nano 1.3.12             File: /etc/fstab                                  
                      
                      LABEL=root-mhdhrpdq    /         ext3     defaults   1  1
                      /var/swap/swap.001          swap      swap   defaults   0  0
                      none        /dev/pts  devpts defaults   0  0
                      none        /dev/shm  tmpfs  defaults   0  0
                      none        /proc     proc   defaults   0  0
                      none        /sys      sysfs  defaults   0  0
                      none        /sys/fs/cgroup cgroup memory 0 0
                      /opt/xensource/packages/iso/XenCenter.iso   /var/xen/xc-install   iso9660   loo$
                      /mnt/raid10   /dev/md0  ext3  defaults 0  0
                      
                      RomoR 1 Reply Last reply Reply Quote 0
                      • RomoR
                        Romo
                        last edited by

                        Does xencenter see the storage?

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

                          Yes, the Local OBR10 is back on XenCenter.

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

                            @DustinB3403 Not so sure about the entry on fstab, I don't have the entry in my setup and xen properly automounts it

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

                              @Romo It's outside of the norm for XenServer.

                              Even if it's benign.

                              XenServer by default, doesn't say "oh yeah go build an mdadm array" because it's not ideal if you can avoid it.

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

                                @DustinB3403 said:

                                @Romo It's outside of the norm for XenCenter.

                                Even if it's benign.

                                Yes indeed.

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

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    Alex Sage
                                    last edited by Alex Sage

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 2 / 10
                                            • First post
                                              Last post