Great...thank !!!

On 10/05/2017 01:12 PM, Rafael Weingärtner wrote:

Gian, I did that once, but I used the following command:
vhd-util coalesce -p -n <vhdUUID>.vhd –o /tmp/ <name>.vhd

You need the full chain of the '<vhdUUID>.vhd' in the folder you are
running this command

On Thu, Oct 5, 2017 at 8:07 AM, Mārtiņš Jakubovičs 
<martins-li...@hostnet.lv<mailto:martins-li...@hostnet.lv>


wrote:





Hello Gian,

I would suggest just to copy vdi.

xe vdi-copy uuid= sr-uuid=

This will create new VDI in destination SR without VHD chain.



On 2017.10.05. 10:40, Gian Paolo Buono wrote:



Hi,

I use cloudstack with XenServer and I would like to move some disks to
another xenserver pool.
I would like to join the chain of disks and create a single vhd to move
it. I'm doing some tests with a disk with an example chain:

vhd-util scan -f -m 8d430cda-c109-4c4b-acfd-3492b8f35cd7.vhd -p
vhd=8d430cda-c109-4c4b-acfd-3492b8f35cd7.vhd capacity=8589934592
size=20992 hidden=0 parent=f8ab7260-c1ae-4007-85ec-aa2ba4a04127.vhd (not
found in scan)

I would like to create a new disk called merge.vhd that contain both vhd,
and I tried to follow this:

http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiYyMzhhNTczODAyZjAwY2QxYj01OUQ2MTNBM18xNjQ0XzIxMTBfMSYmMTkwYWZkZDczNjc2NTY5PTEyMjMmJnVybD1odHRwcyUzQSUyRiUyRnNoYW5rZXJiYWxhbiUyRW5ldCUyRmJsb2clMkZyZWNvdmVyLXhlbnNlcnZlci12aGQtdm9sdW1lcyUyRg==

[root@xenser]# mkdir appo ; cp 8d430cda-c109-4c4b-acfd-3492b8f35cd7.vhd
f8ab7260-c1ae-4007-85ec-aa2ba4a04127.vhd appo ; cd appo
[root@xenser]# vhd-util coalesce -n 8d430cda-c109-4c4b-acfd-3492b8
f35cd7.vhd

but I can not have a single file.

Thanks











Reply via email to