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.
    • 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
                          • scottalanmillerS
                            scottalanmiller @stacksofplates
                            last edited by

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

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

                            We've not even determined that it is hard yet. Let's save judgment for if it actually doesn't "just work."

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

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

                              Did this work?

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

                                Poor XenServer...

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

                                  @scottalanmiller no

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

                                    @scottalanmiller no

                                    What error did you get?

                                    Please include the full command as run and full output each time.

                                    DustinB3403D 1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403 @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:

                                      @scottalanmiller no

                                      What error did you get?

                                      Please include the full command as run and full output each time.

                                      I'm working on a clean install again as shit is odd in here, have 2 SR's of which neither can connect.

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

                                        I mean, honestly what is the alternative here, create 18 2TB VDI's and connect those as SR's to the host?

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

                                          I mean, honestly what is the alternative here, create 18 2TB VDI's and connect those as SR's to the host?

                                          THat's an assumed issue, we don't know that that is part of the problem.

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

                                            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.

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