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

    Ability to cloning/multiplay only one VHD.

    Scheduled Pinned Locked Moved Xen Orchestra
    10 Posts 2 Posters 470 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.
    • GheppyG Offline
      Gheppy
      last edited by

      I kept looking but I couldn't find a possibility to cloning only one VHD.
      The scenario is like this:
      I have a VM with two VHDs

      1. VHD1 with 500Gb
      2. VHD2 with 2TB.

      and I want to copy only one VHD.
      In the present case, I want to multiply this VHD1 without cloning the entire VM, which would mean much more time.

      Thank you

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

        Fast clone of full copy?

        Also, what do you want to achieve functionally speaking?

        GheppyG 1 Reply Last reply Reply Quote 0
        • GheppyG Offline
          Gheppy @olivierlambert
          last edited by Gheppy

          @olivierlambert
          full copy
          The goal is to have the data from the disk available in another VM. The disk contains many small files and takes more time by other methods

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

            xe vdi-copy will do the trick.

            GheppyG 1 Reply Last reply Reply Quote 0
            • GheppyG Offline
              Gheppy @olivierlambert
              last edited by

              @olivierlambert

              So only via cli, XO doesn't have that for now?
              thank you

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

                If we don't understand the use case, there's little chance it will land into the UI. For example, if it's something you need once in a while, might not worth it to expose it into the UI.

                GheppyG 1 Reply Last reply Reply Quote 0
                • GheppyG Offline
                  Gheppy @olivierlambert
                  last edited by Gheppy

                  @olivierlambert
                  In real case, I have a VM with 4 VHDs

                  1. VHD 1 with the operating system. 140Gb
                  2. VHD 2 with temporary files. 2Tb
                  3. VHD 3,4 with database and final files. 4Tb (it is as one disk in VM).

                  I have an active CR and I am copying this VM to another building and it is also a backup in case of disaster.
                  At a interval of 30 days, I have to copy the database. And attach it to another VM that represents the test server. That actually means only VHD 3 and 4.

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

                    Hmm why not using our advanced health check capability to validate the DB during a health check?

                    GheppyG 1 Reply Last reply Reply Quote 0
                    • GheppyG Offline
                      Gheppy @olivierlambert
                      last edited by

                      @olivierlambert
                      I will read about it.
                      Thank you

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

                        In essence, you can write any script you like in your VM that would be executed, test whatever you want in the database, and if it's OK, write a special key in the XenStore. XO will detect it and consider the backup health check done and working 🙂

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