Cross Posting - XenServer 7.0 improper HDD add/removal
-
@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.
-
-
It's stuck in maintenance mode. I can't add new VM's.
-
Is there an alternate way to export the VM file? I recall from ESXi I could remote ftp into the server to download the files. Is it possible to do that with XenServer as well?
-
@krisleslie there is probably a way to do this, but I haven't had to go and do this yet.
-
As for maintenance mode, if you've fixed the storage issues, what happens when you tell the system to exit maintenance mode?
-
@krisleslie said in Cross Posting - XenServer 7.0 improper HDD add/removal:
Is there an alternate way to export the VM file? I recall from ESXi I could remote ftp into the server to download the files. Is it possible to do that with XenServer as well?
The drives are just stored as VHD files, if that is what you mean?