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.
    • DustinB3403D
      DustinB3403 @scottalanmiller
      last edited by

      @scottalanmiller said:

      @DustinB3403 said:

      Can't find

          md0 in /etc/fstab or /etc/mtab
      

      Should not be there, right?

      I added an entry into fstab. It may have a typo...

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

        fstab

        0_1447093339301_2015-11-09_13-22-06.png

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

          fstab corrected, entry reversed.

               mount raid10
          mount: /mnt/raid10 is not a block device
          
          1 Reply Last reply Reply Quote 0
          • RomoR
            Romo
            last edited by

            Your could run

            mdadm --examine --scan >> /etc/mdadm/mdadm.conf

            To recreate the conf and see if it fixes the problem. /dev/md/0 should be a symbolic link to /dev/md0

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

              @Romo Same response when reexamining the disks. this is for both

              mount /mnt/raid10 && mount /dev/md10
              

              0_1447093679739_2015-11-09_13-27-40.png

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

                mount /dev/md0 /mnt/raid10 ?

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

                  /dev/md0 not md10

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

                    Using RAID 10 in names anywhere is very confusing and hard to read. I think several of these issues are partially stemming just from poor naming conventions. Name mount points by purpose, not technology.

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

                      You can't mount /dev/md0, because according to the mdadm --examine --scan ouput, the array, is at /dev/md/0

                      StrongBadS 1 Reply Last reply Reply Quote 0
                      • StrongBadS
                        StrongBad @Romo
                        last edited by

                        @Romo said:

                        You can't mount /dev/md0, because according to the mdadm --examine --scan ouput, the array, is at /dev/md/0

                        Good eye, that was hard to see.

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

                          What is the ouput for:
                          cat /dev/md/md-device-map

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

                            cat /dev/md/md-device-map
                            cat: /dev/md/md-device-map: No such file or directory
                            
                            RomoR 1 Reply Last reply Reply Quote 0
                            • RomoR
                              Romo @DustinB3403
                              last edited by

                              @DustinB3403
                              ls /dev/ | grep md

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

                                0_1447096524174_2015-11-09_14-15-08.png

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

                                  @DustinB3403 can you please show us the output of your mdadm.conf file, last time I believe it was cut off because the UUID's dont show.

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

                                    @Romo 0_1447098513375_2015-11-09_14-48-15.png

                                    There is now a new record (3rd line)

                                    1 Reply Last reply Reply Quote 0
                                    • 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
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 7 / 10
                                            • First post
                                              Last post