Lost VMs disk after using new SR
-
xcp used dellr640 dis pool as vm store, 4TB, single disk. it was local SR.
Brought in trunas, set a SR device: /dev/sda, rebooted Dell, now VMs wont start.
Current issue:
Your SR metadata is partially lost.
Specifically:
The VDI files exist
But XAPI has lost the VM
VDI attachment records (VBDs)
That is why:
SR scan complains
VMs have no disks
XO only shows “Other install media”
This is classic SR metadata desync, usually caused by:
SR delete/recreate
Interrupted SR introduce
xapi restart during SR changes...
How can I still use my current VM data?I am deep in the chatGPT hole.
Any help is greatly warranted
. -
Hi,
Can you explain yourself (without the help of ChatGPT) exactly what you did in the first place to get into that situation? It's not clear to me

-
@DaleDibbadel said in Lost VMs disk after using new SR:
Brought in trunas, set a SR device: /dev/sda, rebooted Dell, now VMs wont start.
Please elaborate on the exact commands that you ran here. Also, you may want to provide the output from
lsblkto provide some additional context.Do you have a backup of your pool metadata?