XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Lost VMs disk after using new SR

    Scheduled Pinned Locked Moved XCP-ng
    3 Posts 3 Posters 18 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      DaleDibbadel
      last edited by

      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 warrantedScreen Shot 2025-12-29 at 22.27.52 PM.png Screen Shot 2025-12-29 at 22.28.19 PM.png Screen Shot 2025-12-29 at 22.28.25 PM.png Screen Shot 2025-12-29 at 22.28.53 PM.png .

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        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 🤔

        1 Reply Last reply Reply Quote 0
        • DanpD Online
          Danp Pro Support Team
          last edited by

          @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 lsblk to provide some additional context.

          Do you have a backup of your pool metadata?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post