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

    XenServer installation SR issue

    IT Discussion
    xencenter xenserver xenserver 7 xen virtualization lvm ext3 poweredge r710 perc h700
    10
    88
    20.1k
    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.
    • BRRABillB
      BRRABill
      last edited by

      XS installs are usually pretty pain-free.

      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender
        last edited by

        I ask this for understanding sake.

        When you install XS on a hardware RAID Array, how does XS see the remaining disk? Does it see it as a completely different disk from the one XS is installed on? or does it realize it's just empty space and create an additional partition to whatever size you dictate?

        BRRABillB 1 Reply Last reply Reply Quote 0
        • BRRABillB
          BRRABill @Dashrender
          last edited by

          @Dashrender said in XenServer installation SR issue:

          I ask this for understanding sake.

          When you install XS on a hardware RAID Array, how does XS see the remaining disk? Does it see it as a completely different disk from the one XS is installed on? or does it realize it's just empty space and create an additional partition to whatever size you dictate?

          Since it is a DELL H700 (I have the H710) it's just all one big array. No slicing it up from the hardware level.

          Would have made things so much easier.

          1 Reply Last reply Reply Quote 0
          • momurdaM
            momurda
            last edited by

            On my xs 6.5 install (which originally was 6.0 I think way before I started here) xs is installed on sda which is the local disk array. The partitions for xs are sda1 and sda2 while sda3 is the local sr. I didn't originally set this up but I would think that you just give XS a whole array, then let it take what it wants for itself, it then gives you the rest to use as local SR.

            1 Reply Last reply Reply Quote 0
            • AdamFA
              AdamF @momurda
              last edited by

              @momurda said in XenServer installation SR issue:

              what is the output of vgs, lvs, pvs from the console?
              Seems like either your lvm layer is bad, or the actual raid array is bad.
              Have you tried to unmount this and then runs fsck?

              Really weird that the local sr wasn't auto created for after install. It is like the first thing that happens when you connect to XS with XC.
              Since it is not working you could just reinstall and try again, there shouldn't be an thing on it at this point.

              [root@xenserver ~]# vgs
                VG                                              #PV #LV #SN Attr   VSize VFree
                XSLocalEXT-0bff8e3b-dd7c-c3c4-3125-22569f5bbd77   1   1   0 wz--n- 5.42t    0
              
              [root@xenserver ~]# lvs
                LV                                   VG                                              Attr       LSize Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
                0bff8e3b-dd7c-c3c4-3125-22569f5bbd77 XSLocalEXT-0bff8e3b-dd7c-c3c4-3125-22569f5bbd77 -wi-a----- 5.42t
              
              [root@xenserver ~]# pvs
                PV         VG                                              Fmt  Attr PSize PFree
                /dev/sda3  XSLocalEXT-0bff8e3b-dd7c-c3c4-3125-22569f5bbd77 lvm2 a--  5.42t    0
              
              

              And yes, I've reinstalled twice. The second time, I completely destroyed the RAID array, and created a new one. Then ran a Fast Init on it and install XS. That's all I've done to get to the point of error. 🙂

              1 Reply Last reply Reply Quote 0
              • momurdaM
                momurda
                last edited by

                I think you may need to use a different uuid in your xe pbd-plug command
                Here is a reference article
                http://support.citrix.com/article/CTX121896

                This one in your case(I think):
                xe pbd-plug uuid=0bff8e3b-dd7c-c3c4-3125-22569f5bbd77

                1 Reply Last reply Reply Quote 0
                • momurdaM
                  momurda
                  last edited by

                  Ah wait. I see the type in the Local SR is ext3
                  On my XSs they are LVM
                  Did you format the lv?

                  AdamFA 1 Reply Last reply Reply Quote 0
                  • AdamFA
                    AdamF @momurda
                    last edited by

                    @momurda No, I didn't format the lv. Is that something done during the installation?

                    DanpD 1 Reply Last reply Reply Quote 0
                    • momurdaM
                      momurda
                      last edited by

                      From the 7.0 Admin guide
                      5.2.2. Local EXT3
                      Using EXT3 enables Thin Provisioning on local storage. However, the default Storage Repository type is LVM as it gives a consistent write performance and, prevents storage over-commit. Customers using EXT3 may see reduced performance when carrying out VM lifecycle operations such as VM Create, suspend/resume and when initially creating large files from within the VM.
                      Local disk EXT SRs must be configured using the XenServer CLI.
                      5.2.2.1. Creating a Local EXT3 SR (ext)

                      Device-config parameters for ext SRs:
                      Parameter Name Description Required? Device device name on the local host to use for the SR
                      To create a local ext SR on /dev/sdb use the following command:

                      xe sr-create host-uuid=<valid_uuid> content-type=user \ name-label=<"Example Local EXT3 SR"> shared=false \ device-config:device=/dev/sdb type=ext

                      1 Reply Last reply Reply Quote 1
                      • DanpD
                        Danp @AdamF
                        last edited by

                        @fuznutz04 Any update?

                        AdamFA 1 Reply Last reply Reply Quote 0
                        • AdamFA
                          AdamF @Danp
                          last edited by

                          @Danp

                          Was just about to post this. I tried to do a fsck on the drive. See below screenshot.

                          0_1472740333364_image.jpeg

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

                            @fuznutz04 Have you rebuilt the array on this device?

                            AdamFA 1 Reply Last reply Reply Quote 0
                            • AdamFA
                              AdamF @DustinB3403
                              last edited by

                              @DustinB3403 Meaning rebuild the RAID array itself? Yes, twice now. Destroyed the array, recreated a RAID 10 array, initialized the array, and then installed XS. During the install, it asks where to store the VMs (the wording might be off here) and I am able to select the array itself. So XS is seeing the array, but not actually making it available as a SR.

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

                                Hrm..

                                I wonder if there is a compatibility issue with your hardware then...

                                AdamFA 1 Reply Last reply Reply Quote 0
                                • AdamFA
                                  AdamF @DustinB3403
                                  last edited by

                                  @DustinB3403 said in XenServer installation SR issue:

                                  Hrm..

                                  I wonder if there is a compatibility issue with your hardware then...

                                  Meaning the actual physical disks, or the RAID controller? I checked, and the RAID controller is on the HCL for XS 7. The disks are a mix of drives that I had around my house. WD Reds and a WD green or two.

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

                                    The RAID array should appear as a single drive and nothing that XS does should make a rebuild of the array needed. If that is happening, there is a deeper problem.

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

                                      @fuznutz04 said in XenServer installation SR issue:

                                      @DustinB3403 said in XenServer installation SR issue:

                                      Hrm..

                                      I wonder if there is a compatibility issue with your hardware then...

                                      Meaning the actual physical disks, or the RAID controller? I checked, and the RAID controller is on the HCL for XS 7. The disks are a mix of drives that I had around my house. WD Reds and a WD green or two.

                                      The drives shouldn't matter (I'd be really really surprised if it did).

                                      I just checked you hardware as well and it is supported. I actually just installed XS7 on a desktop yesterday for a tiny project.

                                      So I'm guessing it's a hardware problem of some sort.

                                      Have you given XS6.5 a go on this system and see what happens?

                                      AdamFA 1 Reply Last reply Reply Quote 0
                                      • AdamFA
                                        AdamF @scottalanmiller
                                        last edited by scottalanmiller

                                        @scottalanmiller said in XenServer installation SR issue:

                                        The RAID array should appear as a single drive and nothing that XS does should make a rebuild of the array needed. If that is happening, there is a deeper problem.

                                        It does. It shows as a single 6 TB "drive"

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

                                          @DustinB3403 said in XenServer installation SR issue:

                                          @fuznutz04 said in XenServer installation SR issue:

                                          @DustinB3403 said in XenServer installation SR issue:

                                          Hrm..

                                          I wonder if there is a compatibility issue with your hardware then...

                                          Meaning the actual physical disks, or the RAID controller? I checked, and the RAID controller is on the HCL for XS 7. The disks are a mix of drives that I had around my house. WD Reds and a WD green or two.

                                          The drives shouldn't matter (I'd be really really surprised if it did).

                                          I just checked you hardware as well and it is supported. I actually just installed XS7 on a desktop yesterday for a tiny project.

                                          So I'm guessing it's a hardware problem of some sort.

                                          Have you given XS6.5 a go on this system and see what happens?

                                          No, I haven't tried 6.5 yet, only 7.

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

                                            @fuznutz04 said in XenServer installation SR issue:

                                            @scottalanmiller said in XenServer installation SR issue:

                                            The RAID array should appear as a single drive and nothing that XS does should make a rebuild of the array needed. If that is happening, there is a deeper problem.

                                            It does. It shows as a single 6 TB "drive"

                                            Should not need to rebuild, then. If the underlying array is corrupting, then the issue is at the controller or disk level.

                                            AdamFA 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • First post
                                              Last post