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

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

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

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

      @Dashrender said

      I don't know enough about Linux and partitions, can EXT3 support 14 TB?

      I really wanted to ask this at MangoCon 2016 after the @travisdh1 presentation on LVM. How XS "messes" it up so much, or makes it so different from regular Linux.

      Mostly because it does things for you, like logical volume creation and the file system. Them sticking with ext3 for so long has really started to hurt the platform, I think that's where the 2TB limits come in.

      It is. Files on EXT3 are limited to 2TB. The full filesystem is limited to 32TB.

      So if it's limited to 32TB, how do I add this array, it's half that size.. . .?

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

        And here comes another XS/LVM/EXT discussion. 🙂

        1 Reply Last reply Reply Quote 0
        • travisdh1T
          travisdh1 @travisdh1
          last edited by

          @travisdh1 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:

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

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

          Ok so here is what I'm going to try.

          Install XS to the USB, and not select the presented array for the local storage.

          From this, I'll try to add the array to xs as a local repo, using GPT.

          Okay, so the same kind of procedure you would do if this was ESXi, for example.

          Actually, for the last 30 mins, other than skipping picking an SR during install, this is what he's been doing. The assumption would be that XS would automount the 14 TB drive as an SR, but for whatever reason it's not.

          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?

          Nope. Gotta create multiple 2TB volume groups and add each of those perhaps?

          I'm making no sense, nope, I've got a 6TB ext3 volume on my desk right now....

          Did we ever see the output of?

          vgdisplay
          

          and

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

            @travisdh1 not relevant at the moment (performing a clean install)

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

              https://support.citrix.com/article/CTX121896

              does this article assume the local disk to already have a partition on it?

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

                My local SRs on 6.5 are over 2TB
                lvm not ext though.

                DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @momurda
                  last edited by

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

                  My local SRs on 6.5 are over 2TB
                  lvm not ext though.

                  How did you add that RS? during install or after install?

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

                    Was already here when i started 🙂
                    My guess is after though. I would be able to say for sure if there was any documentation for our XS infrastructure when i started. There wasnt.

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

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

                      My local SRs on 6.5 are over 2TB
                      lvm not ext though.

                      Yeah, that should bypass it.

                      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:

                        @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.

                        scottalanmillerS 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:

                          @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.

                          stacksofplatesS 1 Reply Last reply Reply Quote 1
                          • travisdh1T
                            travisdh1 @DustinB3403
                            last edited by

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

                            @travisdh1 not relevant at the moment (performing a clean install)

                            We are still talking about the system drive, right? At least a VG will come into play as you can't just use an entire PV in that case.

                            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:

                              @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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 3 / 6
                                            • First post
                                              Last post