Answer the question
In order to leave comments, you need to log in
How to restore Xen Storage?
There were three HDDs in the server, xen server was on one, storage was on the other two.
The boot drive is dead. There are no backups. There are two disks left with storage in LVM2 format, in which virtual machines (of this kind VHD-7bd542fb-34a3-475c-9cab-94819c4f6aa8).
Is it possible to restore virtual machines?
PS I
connected the storage like this https://www.schirmacher.de/display/INFO/How+to+rea...
I tried to change the virtual group, but xen manager does not see the machines in the storage.
pvdisplay
pastebin.com/hXJMnsML
vgdisplay
pastebin.com/Af56mVig
lvdisplay
pastebin.com/MxQn2Ct9
Answer the question
In order to leave comments, you need to log in
there were three HDDs, one had a xen server, the other two had storage.
It was the case last year. The disk is dead. Both disks were in MD RAID1. I tried to boot from a live one, but xapi db was damaged during loading - this is a file lying in /var/xapi/state.db
As a result, I had to demolish it, otherwise the server would not exit emergency mode. All metadata on virtual machines was also lost - fortunately there were only 2 of them.
I used google to add storage. Maybe this article will help you .
There is no metadata for anyone, so you will have to create new cars and map disks with pens.
one more moment. You write that PV name - unknown device
This happens when your disk names change.
Suppose you had a storage disk /dev/sdb, and then you connected a new disk and the naming changed - maybe you connected it to the wrong ports - I xs. Either you had a raid, but now there is no raid.
Figure it out. Give another output of fdisk -l
PS:
after discussion with Argenon (below), it is clear from the listings that VG was spread over 3 disks (what the hell?!)
one disk crashed, which means the group is now inconsistent. Perhaps your LV is not recoverable at all. Try to restore.
For the future: do RAID1, and on top of it you already roll storage.
yes, just create a virtual machine config and send it to these images
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question