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

    How do I mount this as a SR in XenServer 6.5

    IT Discussion
    9
    102
    8.3k
    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.
    • scottalanmillerS
      scottalanmiller @Jason
      last edited by

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

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

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

      With the time you spend fiddling with Xen rather than doing actual work you would save money by using vSphere or Hyper-v

      Thanks, this is very helpful 🙂

      It's a business time is money. It's relevant. He has a lot of issues with Xen, It's costing him money not saving him money.

      Only because, normally, he's doing things that are outside the designed use case. Same problems would arise with vSphere or Hyper-V. So not relevant. Let me see you build vSphere with software RAID 10. See how long that takes you.

      Don't use something for what it's not designed for.

      Right, so that rules on vSPhere and Hyper-V here, because they can't handle the use case. So you are proving the point. vSphere can't even be installed in the way he often uses them.

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

        @Jason you are using the same argument that people often do with Windows and Linux. You mix up the impossible on Windows with the hard on Linux and see "impossible" as easier than "possible" which is obviously not true. He's doing stuff that really only can be done on XS and is hard. If he did something that "just worked" on vSphere it would basically "just work" here too.

        J stacksofplatesS 2 Replies Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @Jason
          last edited by

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

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

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

          With the time you spend fiddling with Xen rather than doing actual work you would save money by using vSphere or Hyper-v

          Thanks, this is very helpful 🙂

          It's a business time is money. It's relevant. He has a lot of issues with Xen, It's costing him money not saving him money.

          Only because, normally, he's doing things that are outside the designed use case. Same problems would arise with vSphere or Hyper-V. So not relevant. Let me see you build vSphere with software RAID 10. See how long that takes you.

          Don't use something for what it's not designed for.

          I agree, in theory, but that's not always applicable. Sometimes we have to make something work.

          1 Reply Last reply Reply Quote 0
          • J
            Jason Banned @scottalanmiller
            last edited by

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

            @Jason you are using the same argument that people often do with Windows and Linux. You mix up the impossible on Windows with the hard on Linux and see "impossible" as easier than "possible" which is obviously not true. He's doing stuff that really only can be done on XS and is hard. If he did something that "just worked" on vSphere it would basically "just work" here too.

            No you said specifically he is using it outside it's designed use case which is why it's having issues. I said then don't use things for something it's not designed for. You go back and fourth on here just to make it seem like you are right so much it ain't even funny and everyone knows it but you.

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

              Guys, take it to another thread.

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

                @DustinB3403
                xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user

                Or I guess type could be ext3 if that's what yorue wanting to use.

                BRRABillB DashrenderD scottalanmillerS 4 Replies Last reply Reply Quote 1
                • BRRABillB
                  BRRABill @momurda
                  last edited by

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

                  @DustinB3403
                  xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user

                  Or I guess type could be ext3 if that's what yorue wanting to use.

                  @Dashrender wasn't this the issue you had when restoring....?

                  DashrenderD 1 Reply 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:

                    @DustinB3403
                    xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user

                    Or I guess type could be ext3 if that's what yorue wanting to use.

                    I think XS formatted it ext3, so unless he wants to remake the partition with LVM, ...

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

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

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

                      I get this

                      Error code: SR_BACKEND_FAILURE_47
                      Error parameters: , The SR is not available [opterr=no such volume group: VG_XenStorage-41365a56-2219-26df-5453-    8a45ffef1b74],
                      

                      You failed to show what you did.

                      Also in this example on my screen it looks like there is a space in there? Like a tab?

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

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

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

                        @DustinB3403
                        xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user

                        Or I guess type could be ext3 if that's what yorue wanting to use.

                        @Dashrender wasn't this the issue you had when restoring....?

                        Damn, good memory man! yes it was. !!!!

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

                          pvscan
                          PV /dev/sdc VG XSLocalEXT-41365a56-2219-26df-5453-8a45ffef1b74 lvm2 [14.55 TB / 0 free]
                          Total: 1 [14.55 TB] / in use: 1 [14.55 TB] / in no VG: 0 [0 ]

                          xe pbd-plug uuid=1b295c66-152c-5593-72e4-5095b3c45608
                          Error code: SR_BACKEND_FAILURE_47
                          Error parameters: , The SR is not available [opterr=no such volume group: VG_XenStorage-41365a56-2219-26df-5453-8a45ffef1b74],

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

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

                            Quoted from Scott's link

                            Do a pvscan to get the Universally Unique Identifier (UUID) of an existing SR on a local disk. This example uses UUID 39baf126-a535-549f-58d6-feeda55f7801:

                            pvscan

                            PV /dev/sda3 VG VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801 lvm2 [66.87 GB / 57.87 GB free]
                            Total: 1 [66.87 GB] / in use: 1 [66.87 GB] / in no VG: 0 [0 ]

                            Note the output above, the VG name of the local drive /dev/sda3 is VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801 . The >VG name contains the SR UUID that resides on this storage media. In this case, the UUID is 39baf126-a535-549f-58d6-feeda55f7801.

                            Introduce the SR with the following command:

                            xe sr-introduce uuid=39baf126-a535-549f-58d6-feeda55f7801 type=lvm name-label=”Local storage” content-type=user
                            This command sets up database records for the SR named “Local storage”.

                            From your error, It appears that you copied the whole name VG_XenStorage-39baf126-a535-549f-58d6-feeda55f7801, when you should have only used the number portion 39baf126-a535-549f-58d6-feeda55f7801

                            Yeah this tripped me up a few times when follow Citrix documentation.

                            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:

                              @DustinB3403
                              xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user

                              Or I guess type could be ext3 if that's what yorue wanting to use.

                              It's already ext3 so that would be necessary.

                              1 Reply 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:

                                @DustinB3403
                                xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=lvm name-label="Local Storage" content-type=user

                                Or I guess type could be ext3 if that's what you're wanting to use.

                                xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=ext name-label="Local Storage" content-type=user

                                Posted for FYI.

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

                                  I think it should be...

                                  # xe sr-introduce uuid=41365a56-2219-26df-5453-8a45ffef1b74 type=ext3 name-label=”Local storage” content-type=user
                                  
                                  1 Reply Last reply Reply Quote 1
                                  • BRRABillB
                                    BRRABill
                                    last edited by

                                    Where are you getting

                                    uuid=1b295c66-152c-5593-72e4-5095b3c45608
                                    

                                    From?

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

                                      Is it ext instead of ext3? My bad. We had the same command otherwise.

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

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

                                        Where are you getting

                                        uuid=1b295c66-152c-5593-72e4-5095b3c45608
                                        

                                        From?

                                        No idea.

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

                                          Yeah, agree with @Dashrender and @scottalanmiller

                                          That is the right UUID.

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

                                            @scottalanmiller

                                            He's doing stuff that really only can be done on XS and is hard

                                            No, I can do all of this with KVM and more. I have multiple local stores. Some are just directories for images some are full LVs.

                                            It's only hard because it's XenServer.

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