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

    How do I mount this as a SR in XenServer 6.5

    Scheduled Pinned Locked Moved IT Discussion
    102 Posts 9 Posters 10.3k 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.
    • stacksofplatesS
      stacksofplates @scottalanmiller
      last edited by

      @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

      @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

      @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

      @Dashrender said in How do I mount this as a SR in XenServer 6.5:

      We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?

      Yes, that's small for a filesystem.

      Not for ext3. Max supported size is 16 GB.

      Well on 32bit systems, yeah. But we're not on those. 32TB on 64bit.

      No that's total. https://access.redhat.com/solutions/1532

      Even on 7 which is 64 bit only.

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

        Mother [moderat]ed

        14TB local SR

        [root@xenserver-2 ~]# cat /proc/partitions
        major minor  #blocks  name
        
           7        0      57216 loop0
           8        0   15138816 sda
           8        1    4193297 sda1
           8        2    4193297 sda2
           8       16 15625879552 sdb
          11        0    1048575 sr0
        [root@xenserver-2 ~]# ll /dev/disk/by-id
        total 0
        lrwxrwxrwx 1 root root  9 Oct  5 13:59 scsi-36141877047e9bb001f87d1985c90693e -> ../../sdb
        lrwxrwxrwx 1 root root  9 Oct  5 13:59 usb-Verbatim_STORE_N_GO_070B59EB8129C921 -> ../../sda
        lrwxrwxrwx 1 root root 10 Oct  5 13:59 usb-Verbatim_STORE_N_GO_070B59EB8129C921-part1 -> ../../sda1
        lrwxrwxrwx 1 root root 10 Oct  5 13:59 usb-Verbatim_STORE_N_GO_070B59EB8129C921-part2 -> ../../sda2
        [root@xenserver-2 ~]# xe sr-create content-type=user device-config:device=/dev/disk/by-id/scsi-36141877047e9bb001f87d1985c90693e host-uuid=44b88866-4b75-4b06-9086-e9e36949b084 name-label="Local Storage" shared=false type=lvm
        ab4b21fd-1157-d4ca-cd4d-78cb4affee2a
        

        0_1475705189166_2016-10-05_18-06-02.png

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

          Mother [moderat]ing thing works this time!

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

            lvm ftw

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

              @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

              @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

              @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

              @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

              @Dashrender said in How do I mount this as a SR in XenServer 6.5:

              We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?

              Yes, that's small for a filesystem.

              Not for ext3. Max supported size is 16 GB.

              Well on 32bit systems, yeah. But we're not on those. 32TB on 64bit.

              No that's total. https://access.redhat.com/solutions/1532

              Even on 7 which is 64 bit only.

              That's a RHEL limitation. Not ext3.

              https://www.novell.com/support/kb/doc.php?id=7009075

              Even in 2011 it was 32TB. You use 8192 block size instead of 4096.

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

                @DustinB3403 said in How do I mount this as a SR in XenServer 6.5:

                Mother [moderat]ing thing works this time!

                Ta da!

                1 Reply Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates @scottalanmiller
                  last edited by

                  @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                  @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

                  @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                  @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

                  @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                  @Dashrender said in How do I mount this as a SR in XenServer 6.5:

                  We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?

                  Yes, that's small for a filesystem.

                  Not for ext3. Max supported size is 16 GB.

                  Well on 32bit systems, yeah. But we're not on those. 32TB on 64bit.

                  No that's total. https://access.redhat.com/solutions/1532

                  Even on 7 which is 64 bit only.

                  That's a RHEL limitation. Not ext3.

                  https://www.novell.com/support/kb/doc.php?id=7009075

                  Even in 2011 it was 32TB. You use 8192 block size instead of 4096.

                  Which is what XenServer is built on. So the same limitation applies.

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

                    @DustinB3403 type being LVM is important.

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

                      XS smiles, nods at @scottalanmiller and slinks back into the corner.

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

                        @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                        @DustinB3403 type being LVM is important.

                        But I ran this guide before earlier today and had the same issues.

                        Except that I was installed directly to the OBR10, and still had no storage.

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

                          while going through these instructions
                          http://support.citrix.com/article/CTX121313

                          He added the 14TB drive as LVM instead, where XS was creating a 14TB with EXT3. Not sure why this mattered, If time allowed, Dustin could have tried this command with EXT instead and tried to mount it. But time is of the essence so he only tried LVM.

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

                            @scottalanmiller

                            These instructions, http://support.citrix.com/article/CTX121313, assume you're mounting an entire disk as a SR, how could you change the following command to indicate it's going to mount a partition (sda3 for example) instead?

                            Here's the command from the post
                            xe sr-create content-type=user device-config:device=/dev/disk/by-id/<scsi-xxxxxxxxxxxxxxxxxxxxxxxxx> host-uuid=<host-uuid> name-label=”Local Storage 2” shared=false type=lvm

                            And do you think it matters if it was EXT vs LVM?

                            1 Reply Last reply Reply Quote 0
                            • FATeknollogeeF
                              FATeknollogee
                              last edited by

                              @DustinB3403 Just curious, was this hard or software RAID?

                              DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @stacksofplates
                                last edited by

                                @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

                                @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                                @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

                                @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                                @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

                                @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                                @Dashrender said in How do I mount this as a SR in XenServer 6.5:

                                We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?

                                Yes, that's small for a filesystem.

                                Not for ext3. Max supported size is 16 GB.

                                Well on 32bit systems, yeah. But we're not on those. 32TB on 64bit.

                                No that's total. https://access.redhat.com/solutions/1532

                                Even on 7 which is 64 bit only.

                                That's a RHEL limitation. Not ext3.

                                https://www.novell.com/support/kb/doc.php?id=7009075

                                Even in 2011 it was 32TB. You use 8192 block size instead of 4096.

                                Which is what XenServer is built on. So the same limitation applies.

                                Tested the 8192 block size on C7 and it indeed block it and reduces it to 4096. How silly.

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

                                  The big issue I have here is the raid controller I have doesn't allow me to create two or more virtual disks from the same OBR.

                                  Which was the real goal.

                                  To have two logical volumes

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

                                    @FATeknollogee said in How do I mount this as a SR in XenServer 6.5:

                                    @DustinB3403 Just curious, was this hard or software RAID?

                                    Hardware RAID Perc H730P

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

                                      @FATeknollogee said in How do I mount this as a SR in XenServer 6.5:

                                      @DustinB3403 Just curious, was this hard or software RAID?

                                      Hardware but PERC does not have an LVM layer so it makes things more complicated than a SmartArray does.

                                      DashrenderD 1 Reply Last reply Reply Quote 0
                                      • FATeknollogeeF
                                        FATeknollogee
                                        last edited by

                                        IIRC, I thought one could always create multiple Virtual drives using those PERC cards?

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

                                          @FATeknollogee said in How do I mount this as a SR in XenServer 6.5:

                                          IIRC, I thought one could always create multiple Virtual drives using those PERC cards?

                                          That's what it is lacking. PERC hasn't done that at least in a while. I thought that they did too, until recently, discovered that that LVM functionality is no longer there.

                                          1 Reply Last reply Reply Quote 0
                                          • stacksofplatesS
                                            stacksofplates @scottalanmiller
                                            last edited by

                                            @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                                            @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

                                            @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                                            @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

                                            @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                                            @stacksofplates said in How do I mount this as a SR in XenServer 6.5:

                                            @scottalanmiller said in How do I mount this as a SR in XenServer 6.5:

                                            @Dashrender said in How do I mount this as a SR in XenServer 6.5:

                                            We know from Dustin's posts that XS is creating a sba3 for the remaining space that XS itself doesn't use. That space is created as EXT3. I don't know enough about Linux and partitions, can EXT3 support 14 TB?

                                            Yes, that's small for a filesystem.

                                            Not for ext3. Max supported size is 16 GB.

                                            Well on 32bit systems, yeah. But we're not on those. 32TB on 64bit.

                                            No that's total. https://access.redhat.com/solutions/1532

                                            Even on 7 which is 64 bit only.

                                            That's a RHEL limitation. Not ext3.

                                            https://www.novell.com/support/kb/doc.php?id=7009075

                                            Even in 2011 it was 32TB. You use 8192 block size instead of 4096.

                                            Which is what XenServer is built on. So the same limitation applies.

                                            Tested the 8192 block size on C7 and it indeed block it and reduces it to 4096. How silly.

                                            At the same time though, what person would be using that now?

                                            scottalanmillerS 1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 5 / 6
                                            • First post
                                              Last post