xenserver error fsck
-
Hold on dude..
your data is still probably just fine..As long as XC still works, pull the data i mentioned before - find all the uuid's from all drives and their mounted order to each VM and write it down.
then you'll shut down the server, replace the USB drive, then install XS then install updates,
then attach SR
then start remaking your VMs by hand and attach your VDIs to the VMs and boot -
@DustinB3403 said in xenserver error fsck:
@Danp said in xenserver error fsck:
@DustinB3403 Or a clone / image of the USB?
Nothing recent enough to try I don't think. I do have a clone of this USB though.
Make another copy and then boot from that. What's the worst that could happen?
-
Yeah I would definitely try...
- booting from your cloned USB
- reinstalling XS and recreating your VMs by hand as Dash has suggested
- doing a restore
In that order.
I played with XS a lot moving the boot drive and stuff and it was pretty resilient.
-
How do I get the disk UUIDs for the Vm's?
-
@DustinB3403
xe vm-list
or
xe vdi-list
for disks -
@momurda said in xenserver error fsck:
@DustinB3403
xe vm-list
or
xe vdi-list
for disksI wonder if that will work for him?
Seems like anything the host has to do fails...
-
If those wont work in cli, you still can use XC to get this info. Or XO i imagine has this info listed on its web interface.
-
we're probably going to migrate everything over (but guess when.... next flipping weekend...)
-
Is there a way to use xe vdi-list against specific VM's so I can see it all?
-
@DustinB3403 WTF... that makes mo sense. Why wait?!
-
@Danp said in xenserver error fsck:
@DustinB3403 WTF... that makes mo sense. Why wait?!
please stop asking question..... hurting my brain.
-
@momurda said in xenserver error fsck:
If those wont work in cli, you still can use XC to get this info. Or XO i imagine has this info listed on its web interface.
In XC, click the VDI, and then STORAGE (on the menu) and COPY UUID TO CLIPBOARD.
-
Gives a list of all SRs and their contained VDIs.
-
im just not seeing it
-
Does it work from XC? If not, I don't think you are going to be able to get it.
-
from within XC I'm not seeing UUID's on the drives them selves.
-
is this the kind of thing I'm looking for?
uuid ( RO) : 6e599b8b-6894-4f56-b4e7-2aa8a79e463c
name-label ( RW): Tom Training
name-description ( RW):
sr-uuid ( RO): ab4b21fd-1157-d4ca-cd4d-78cb4affee2a
virtual-size ( RO): 107374182400
sharable ( RO): false
read-only ( RO): false@Dashrender what steps did you go through to restore, can you send me what you had to follow directly?
-
@DustinB3403 said in xenserver error fsck:
we're probably going to migrate everything over (but guess when.... next flipping weekend...)
Chances are it won't live that long if you're having these issues already.
-
@Dashrender That's what I was thinking as well.
-
These links should help you with backing up metadata and restoring.
Citrix XenServer 7.0 Administrator's Guide
http://docs.citrix.com/content/dam/docs/en-us/xenserver/xenserver-7-0/downloads/xenserver-7-0-administrators-guide.pdfHow to Back Up Virtual Machine Metadata to a USB Device
https://support.citrix.com/article/CTX121282How to Reinstall a XenServer Host and Preserve Virtual Machines on the Local Storage
https://support.citrix.com/article/CTX136342