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

    Import VM from Xen with multiple files

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    8 Posts 2 Posters 397 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.
    • R Offline
      rvl
      last edited by

      Hi,
      I have some vm in xen system with centos 6 on OLD server dell.
      It's time to replace the old servers and I'm considering switching to xcp-ng.
      My VMs have a lot of raw data files. How can I also import the other data files of my VMs?
      Thanks for your help
      Luca

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

        Hi,

        What do you mean by "raw data files"? You means .raw files used as "virtual disk" for your VM?

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rvl @olivierlambert
          last edited by

          @olivierlambert
          what you say is correct.
          The files was created with dd command and mounted in vm machine for extra space

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

            Linux VMs?

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              rvl @olivierlambert
              last edited by

              @olivierlambert
              Yes, Centos 6
              this a example for my VM config
              disk=[ 'tap:aio:/dati/xen/asterisk/asterisk.raw,xvda,w', 'tap:aio:/dati/xen/asterisk/asteriskDati.raw,xvdb,w', ]

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

                First, I would convert your PV to a HVM guest. Then, IIRC, XO accepts to import raw disk files 🙂

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  rvl @olivierlambert
                  last edited by

                  @olivierlambert
                  Thank's Olivier,
                  So if I understand correctly I can't use it xva.py to convert and install directly.
                  Ok, I test today this way.
                  Luca

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

                    I'm not sure the XVA.py will work with raw files. But Xen Orchestra accepts to import raw drives. So you can create the VM and then import the drives later on (if it doesn't work with the Python script)

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