cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner <rafaelweingart...@gmail.com>
Subject Re: Merge VHD
Date Thu, 05 Oct 2017 11:12:22 GMT
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-lists@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:
>>
>> https://shankerbalan.net/blog/recover-xenserver-vhd-volumes/
>>
>> [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
>>
>
>


-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message