Ability to cloning/multiplay only one VHD.
-
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- VHD1 with 500Gb
- 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
-
Fast clone of full copy?
Also, what do you want to achieve functionally speaking?
-
@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 -
xe vdi-copy
will do the trick. -
So only via cli, XO doesn't have that for now?
thank you -
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.
-
@olivierlambert
In real case, I have a VM with 4 VHDs- VHD 1 with the operating system. 140Gb
- VHD 2 with temporary files. 2Tb
- 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. -
Hmm why not using our advanced health check capability to validate the DB during a health check?
-
@olivierlambert
I will read about it.
Thank you -
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