Cross Posting - XenServer 7.0 improper HDD add/removal
-
@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.
-
Are you trying to expand your SR or just add a second SR?
-
I would start by asking did you follow this guide?
-
OK so you're adding a repository.
-
Ok so I was originally trying to add storage to the SR but that didn't work out as planned.
-
@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.
-
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.
-
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?
-
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.
-
@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.
-
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.
-
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.
-
@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)
-
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.
-
When I attempt to use the export function it says since its in maintenance mode it won't export.
-
@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.
-
-
-
I successfully repaired :
-
Local Storage
-
SMB ISO Library
-
-
@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.
-