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

    PERC H730P Mini - Multiple LV's

    IT Discussion
    lvm raid perc h730 raid controller hardware raid storage
    8
    31
    4.7k
    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.
    • DashrenderD
      Dashrender
      last edited by Dashrender

      OK, my solution for this on a XS7 install, to the local drive:

      install XS7 to the local disk (RAID or single disk, test only) We assume you are installing to /dev/sda
      Use XC or SSH to XS Dom0 log in as root

       parted /dev/sda unit s print free
      

      This command will output something like this.
      https://i.imgur.com/RdeCbdD.png

      You see the free space in the last row, you'll need the starting and ending numbers.

       parted /dev/sda mkpart ext2 8703385s  976773134s
      

      https://i.imgur.com/gieTSvf.png

       parted print free
      

      You should see something like this
      https://i.imgur.com/ajTgk4W.png

      You'll notice that our new partition is number 4 aka /dev/sda4

      to get the XS UUID run

      xe host-list
      

      You'll see something like this
      https://i.imgur.com/JNBmml9.png

      You'll use the UUID in the next command.

      Now to add this new partition to XS as a SR.

      xe sr-create host-uuid=80a90bd4-646b-4b41-a6f3-31fc0795f720 content-type=user name-label="Local Storage" shared=false device-config:device=/dev/sda4 type=lvm
      

      With output like this.
      https://i.imgur.com/48o6tL3.png

      now if you look in XC, you should see that you have a SR called Local Storage.
      https://i.imgur.com/68Lp4Qj.png

      DashrenderD 1 Reply Last reply Reply Quote 2
      • DashrenderD
        Dashrender @Dashrender
        last edited by

        @Dashrender said in PERC H730P Mini - Multiple LV's:

        You see the free space in the last row, you'll need the starting and ending numbers.

         parted /dev/sda mkpart ext2 8703385s  976773134s
        

        There will be no output, you just return to a prompt

        So moving to Dustin's actual situation, he has a 14TB OBR10 - I don't know if XS will allow ext2 on a partition that large. We'll try it first, it might fail. If so, we'll try ext4

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

          @travisdh1
          This thread.

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

            @Dashrender said in PERC H730P Mini - Multiple LV's:

            @travisdh1
            This thread.

            Yeah, looks like a good procedure.

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

              ext2 and ext3 don't know anything over the existence of 2TB, but you can use type lvm to do this locally(looks like you have done this). If XS doesn't have support for ext4 natively I don't think you can use ext4 file systems for anything in XS.
              ext4 would work if you can mount it as an ext type SR in XS, but you probably cant, and will have to use lvm type locally for large SR
              If you want thin provisioning on large shared SRs, use NFS instead of iscsi.

              This was all in that Xenserver book I just got and read through.

              There is also The Tobias reply to this topic
              http://discussions.citrix.com/topic/373709-adding-storage-to-xenserver/

              This Xenserver 7 blog that states why ext4 support is missing in XS 7 (although it is coming in the future)
              https://www.citrix.com/blogs/2016/06/30/xenserver-7-building-the-foundations-of-a-great-future/

              You may be wondering why the move to CentOS 7 didn’t automatically mean that XenServer 7 acquired various features and mechanisms that CentOS 7 happens to have, such as SELinux or the XFS filesystem. This is because the domain 0 Linux platform is a component of the XenServer system (rather than XenServer being an application that runs on top of Linux) and is therefore tightly integrated into the overall system – when we upgrade components of the system our first priority is to ensure a like-for-like upgrade which preserves the integrity, functionality, quality, performance and security of the system. If the new component comes with new mechanisms that didn’t exist in the older version, we carefully consider if and how we can integrate those new mechanisms into the XenServer system (for example moving from ext3 to XFS would require careful consideration for XenServer upgrade and rollback use-cases and therefore isn’t a transparent change) – these additional integrations may come in later releases than the underlying component upgrade.

              BRRABillB stacksofplatesS 2 Replies Last reply Reply Quote 0
              • BRRABillB
                BRRABill @momurda
                last edited by

                @momurda said

                This was all in that Xenserver book I just got and read through.

                What book was that?

                DustinB3403D momurdaM 2 Replies Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @BRRABill
                  last edited by

                  @BRRABill I believe it's the XenServer Practical Guides and Tips book . . .

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

                    @BRRABill
                    • XenServer Administration Handbook: Practical Recipes for Successful Deployments

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

                      Ha. . . . .

                      So everyone get ready for a kicker.

                      Did a 6.5 install to a 16GB usb with the same OBR10 array (15TB) and selected it as the default SR during installation.

                      And I now have a Local SR of 15TB on an XS6.5 installation, with no additional configuration....

                      Um WTF did we all do wrong before?

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

                        @DustinB3403
                        You were trying to use ext type for thin provisioning rather than the default for large SR of type lvm

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

                          @momurda said in PERC H730P Mini - Multiple LV's:

                          @DustinB3403
                          You were trying to use ext type for thin provisioning rather than the default for large SR of type lvm

                          You'd think, but I went through this not to long ago, and I specifically didn't choose thin provisioning to test and had to add the SR manually.

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

                            Yes I remember, but it did work as type lvm eventually. Not sure why it didn't on install, ive not had a problem with it yet myself.
                            Also, is there a 'Guided using entire disk with lvm' option in XS installer?(I cant remember) perhaps that option is where the magic happens. Without it maybe you have to add the large SR manually.

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

                              @momurda said in PERC H730P Mini - Multiple LV's:

                              ext2 and ext3 don't know anything over the existence of 2TB, but you can use type lvm to do this locally(looks like you have done this). If XS doesn't have support for ext4 natively I don't think you can use ext4 file systems for anything in XS.
                              ext4 would work if you can mount it as an ext type SR in XS, but you probably cant, and will have to use lvm type locally for large SR
                              If you want thin provisioning on large shared SRs, use NFS instead of iscsi.

                              This was all in that Xenserver book I just got and read through.

                              There is also The Tobias reply to this topic
                              http://discussions.citrix.com/topic/373709-adding-storage-to-xenserver/

                              This Xenserver 7 blog that states why ext4 support is missing in XS 7 (although it is coming in the future)
                              https://www.citrix.com/blogs/2016/06/30/xenserver-7-building-the-foundations-of-a-great-future/

                              You may be wondering why the move to CentOS 7 didn’t automatically mean that XenServer 7 acquired various features and mechanisms that CentOS 7 happens to have, such as SELinux or the XFS filesystem. This is because the domain 0 Linux platform is a component of the XenServer system (rather than XenServer being an application that runs on top of Linux) and is therefore tightly integrated into the overall system – when we upgrade components of the system our first priority is to ensure a like-for-like upgrade which preserves the integrity, functionality, quality, performance and security of the system. If the new component comes with new mechanisms that didn’t exist in the older version, we carefully consider if and how we can integrate those new mechanisms into the XenServer system (for example moving from ext3 to XFS would require careful consideration for XenServer upgrade and rollback use-cases and therefore isn’t a transparent change) – these additional integrations may come in later releases than the underlying component upgrade.

                              That's ridiculous. Id much rather have SELinux, XFS, and other advancements over backwards/forward compatibility. Give people real V2V tools and with that and xva's backwards/forward compatibility won't matter.

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

                                Hey, I'm just italicizing what XS blog guy said.

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

                                  @momurda said in PERC H730P Mini - Multiple LV's:

                                  Hey, I'm just italicizing what XS blog guy said.

                                  I know. Sorry on my phone and didn't feel like trying to quote just his quote.

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

                                    What are XVAs?

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

                                      Xen Virtual Appliance file. I think it is just a container for ovf types.
                                      edit: it is a container for ova types, which are containers for ovf types.

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

                                        @Dashrender said in PERC H730P Mini - Multiple LV's:

                                        What are XVAs?

                                        Its the format that XenServer exports snapshots to. Some compressed format that has to be stitched back together to get a usable disk out of it. So the only way to export from XenServer to something else is to uncompress the file and untar it. Then stitch all of the files back together.

                                        1 Reply Last reply Reply Quote 1
                                        • T
                                          Texkonc
                                          last edited by

                                          I thought you were the Xen god?
                                          I heard you knock on doors to spread the gospel.

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

                                            @Texkonc said in PERC H730P Mini - Multiple LV's:

                                            I thought you were the Xen god?
                                            I heard you knock on doors to spread the gospel.

                                            Me or Dash?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post