XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Don.Gould.NZ
    3. Posts
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: /dev/xvdaZ does not exist - Xen4 xl migration to xcp-ng

      @DustinB firstly, thank you for giving your time to engage my post. 🙂

      Your response suggested to me that you are not clear where I am up to, so...

      1. I do know what a Dom0 is.
      2. I have already run the script on Dom0 and moved the guest VM to the xcp-ng host.
      3. The problem is that the guest is not booting correctly on the new xcp-ng host.

      We (my friend and I) think that the problem is that GRUB in the guest is looking for xvda2 while xcp-ng may have set up xvdaa and xvdab (file system and swap).

      We suspect that I need to mount the guest file system on xcp-ng:dom0 so I can edit the GRUB configuration.

      We suspect the problem is that XEN4 on the old system and xcp-ng on the new system have slightly different naming conventions.

      fb8e79f9-25a4-457e-b12b-93ceaa83b45c-image.png

      I assume that xcp-ng is presenting the devices to the transferred guest as xvda and xvdb, so I simply need to changing the GRUB configuration.

      531d1ac5-752a-47b0-aebe-8568d6f64ad9-image.png

      It would be more ideal if I could change the naming in the control panel so I don't have to mount the file system of the guest but I suspect that I can't.

      0e6563cd-8905-44ba-81b2-a6287064bd12-image.png

      68ca6056-0ab6-4e24-a680-57e5809414ae-image.png

      I have provided these other screen prints for context to help readers understand where I am up to.

      https://gist.github.com/r4um/6285376
      https://run.tournament.org.il/clone-corrupted-disk-in-xenserver/

      I am currently working through these articles to get more insight into how I might mount the file system, but if anyone knows of a simpler way then that would be great.

      I have provided as much detail as I can here to help the next person 🙂 I would suggest that the script should be updated a bit to figure this out in the conversion but I suspect so few people will still be using this that it's pointless wasting time. 🙂 These systems are now 12 or more years old and I expect I will be one of the last using them.

      Thanks again for your attention.

      posted in Migrate to XCP-ng
      D
      Don.Gould.NZ
    • /dev/xvdaZ does not exist - Xen4 xl migration to xcp-ng

      c6b6e030-d6a1-416f-bc3f-d8efda9f95be-image.png

      I've migrated a VM from Xen4 using xen2xcp.py per: https://docs.xcp-ng.org/installation/migrate-to-xcp-ng/

      The guest is Debian 12 79efefdf-629a-4fb0-8578-10937ad84b3f-image.png

      I am aware there is already a thread that touches on this issue but I didn't follow it but did understand what information that people want provided to help: https://xcp-ng.org/forum/topic/3237/dev-xvda-not-appearing-in-guest

      From my Xen4.cfg file...

      #
      #  Disk device(s).
      #
      root        = '/dev/xvda2 ro'
      disk        = [
                        'phy:/dev/BenVPS-vg/MineCraft01-disk,xvda2,w',
                        'phy:/dev/BenVPS-vg/MineCraft01-swap,xvda1,w',
                    ]
      

      I an new to xcp-ng, not new to Xen4. I don't currently know where the configuration files are in the file system.

      The migration appears to have done what I would expect, I'm just not understanding why it's not starting up and what I need to do to pin point the fault and fix it.

      Cheers D

      posted in Migrate to XCP-ng
      D
      Don.Gould.NZ