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

    Cross Posting - XenServer 7.0 improper HDD add/removal

    IT Discussion
    4
    30
    1.6k
    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 @DustinB3403
      last edited by

      @DustinB3403 said in Cross Posting - XenServer 7.0 improper HDD add/removal:

      I need some assistance with getting my server out of maintenance mode. I performed a CLI add of one hard drive to my SR using the instructions from Citrix. I accidentally added the HDD twice with an incorrect command. I was able to successfully remove one of the SR but the second one stills shows up and I am unable to use the repair tool to fix this.

      System:

      Dell Desktop (don't judge me)
      16 GB RAM
      (1) SSD Hard Drive - 240 GB
      I used a 2nd SSD drive also 240 GB. It isn't using fake/soft raid.

      My test box isn't that good - only 4 GB RAM, I can only run about 2 VMs at a time.

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

        Are you trying to expand your SR or just add a second SR?

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

          I would start by asking did you follow this guide?

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

            OK so you're adding a repository.

            1 Reply Last reply Reply Quote 0
            • K
              krisleslie
              last edited by

              Ok so I was originally trying to add storage to the SR but that didn't work out as planned.

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

                @krisleslie said in Cross Posting - XenServer 7.0 improper HDD add/removal:

                Ok so I was originally trying to add storage to the SR but that didn't work out as planned.

                So do you have two SR?

                This is what I thought happened.

                1 Reply Last reply Reply Quote 0
                • K
                  krisleslie
                  last edited by

                  I did follow the guide, took a second to get use to the command structure but I did get it 🙂 wasn't as bad as I thought. However it allowed me to remove one of the SR's, it didn't allow me to remove the second one. I accidentally pushed a command before double checking. I want to say it was added to the root.

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

                    So you had 3 SR, and now you have 2. But what you wanted to do was extend a SR?

                    Is that correct? Can you show us your current storage configuration of the host?

                    Are you running XS from a USB or from the local drive? Are you using RAID, if so what controller?

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      krisleslie
                      last edited by

                      I would actually prefer to run XenServer from a USB (if there is a guide please point me to it graciously). I used SAM's guide for the install originally and I recall since I'm getting my feet wet, to not use the USB initially. I have experience with Hyper-V and VMWare ESXi both being ran from USB successfully. I realize that moving to XenServer USB might be a tad bit harder.

                      1 Reply Last reply Reply Quote 1
                      • K
                        krisleslie @DustinB3403
                        last edited by

                        @DustinB3403 said in Cross Posting - XenServer 7.0 improper HDD add/removal:

                        So you had 3 SR, and now you have 2. But what you wanted to do was extend a SR?

                        Is that correct? Can you show us your current storage configuration of the host?

                        Are you running XS from a USB or from the local drive? Are you using RAID, if so what controller?

                        Absolutely correct. I entered the same command twice by accident (sorry had a hyper-active finger) and I was able to successfully remove one of the SR's, the 2nd one in question, was a no go.

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

                          So for XenServer to USB this guide here can be followed.

                          It details more, specifically XS6.5 and using software RAID. Which you can gloss over.

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

                            For XS 7 you'll need a 64GB USB as they made the partitions substantially larger. The installation process is straight forward, connect the USB, boot from your boot-media.

                            At the installation screen, select the USB as your boot device and your local array as your VM storage.

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

                              @krisleslie said in Cross Posting - XenServer 7.0 improper HDD add/removal:

                              @DustinB3403 said in Cross Posting - XenServer 7.0 improper HDD add/removal:

                              So you had 3 SR, and now you have 2. But what you wanted to do was extend a SR?

                              Is that correct? Can you show us your current storage configuration of the host?

                              Are you running XS from a USB or from the local drive? Are you using RAID, if so what controller?

                              Absolutely correct. I entered the same command twice by accident (sorry had a hyper-active finger) and I was able to successfully remove one of the SR's, the 2nd one in question, was a no go.

                              Is performing a clean install an option? (just asking as troubleshooting the issue at hand doesn't seem critical)

                              1 Reply Last reply Reply Quote 0
                              • K
                                krisleslie
                                last edited by

                                Possibly ok, but I need that VM, if there is a way I can export it first, then nuking that machine isn't a problem.

                                DustinB3403D 1 Reply Last reply Reply Quote 0
                                • K
                                  krisleslie
                                  last edited by

                                  When I attempt to use the export function it says since its in maintenance mode it won't export.

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

                                    @krisleslie said in Cross Posting - XenServer 7.0 improper HDD add/removal:

                                    Possibly ok, but I need that VM, if there is a way I can export it first, then nuking that machine isn't a problem.

                                    You can do a full export if you have XenCenter configured, but it would be great for the rebuild to have an Xen Orchestra VM running so you can manage your host(s).

                                    There is a guide around here, give me a moment and I'll grab a link.

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

                                      Link.

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        krisleslie
                                        last edited by

                                        0_1473789454209_IMG_3874.JPG

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          krisleslie
                                          last edited by krisleslie

                                          I successfully repaired :

                                          • Local Storage

                                          • SMB ISO Library

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

                                            @krisleslie said in Cross Posting - XenServer 7.0 improper HDD add/removal:

                                            I successfully repaired :

                                            • Local Storage

                                            • SMB ISO Library

                                            Ok so then you should be able to create a small XO build, and export your VM. Once you have the export, just perform a clean Xen Server installation and import the image.

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