OK, got it. I will upgrade to latest vhd-util. Thanks, -Soheil

On 4/12/13 5:04 PM, "Chiradeep Vittal" <chiradeep.vit...@citrix.com> wrote:

>Because of this
>http://s.apache.org/Nsd
>
>On 4/12/13 4:32 PM, "Soheil Eizadi" <seiz...@infoblox.com> wrote:
>
>>That patch is about downloading vhd-util to XenServer.
>>
>>The XenServer (6.0.2) I am using already came bundled with vhd-util, I
>>did
>>not have to download it. I have not read the detail of
>>copy_vhd_from_secondarystorage.sh which throws the error to figure out
>>exactly why it is failing in my environment. I have used this same
>>XenServer image with Citrix Cloud Platform 3.0.6 distribution and it
>>worked fine (which is based on CloudStack 4.x as I understand.)
>>-Soheil
>>
>>[root@xenserver-devcloud /]# which vhd-util
>>/usr/sbin/vhd-util
>>
>>
>>[root@xenserver-devcloud /]# vhd-util read -p -n
>>/var/run/sr-mount/c375f445-5314-8c9b-bbc7-f60a84a65c6c/4a386682-6f7c-456a
>>-
>>8
>>76a-d6d07b1dc955.vhd
>>VHD Footer Summary:
>>-------------------
>>Cookie              : conectix
>>Features            : (0x00000002) <RESV>
>>File format version : Major: 1, Minor: 0
>>Data offset         : 512
>>Timestamp           : Thu Apr 11 19:06:47 2013
>>Creator Application : 'tap'
>>Creator version     : Major: 1, Minor: 3
>>Creator OS          : Unknown!
>>Original disk size  : 2 MB (2097152 Bytes)
>>Current disk size   : 2 MB (2097152 Bytes)
>>Geometry            : Cyl: 60, Hds: 4, Sctrs: 17
>>                    : = 1 MB (2088960 Bytes)
>>Disk type           : Dynamic hard disk
>>Checksum            : 0xfffff172|0xfffff172 (Good!)
>>UUID                : 6157192c-bf61-4c56-a859-e32f61ad76f8
>>Saved state         : No
>>Hidden              : 0
>>
>>VHD Header Summary:
>>-------------------
>>Cookie              : cxsparse
>>Data offset (unusd) : 18446744073709
>>Table offset        : 1536
>>Header version      : 0x00010000
>>Max BAT size        : 1
>>Block size          : 2097152 (2 MB)
>>Parent name         :
>>Parent UUID         : 00000000-0000-0000-0000-000000000000
>>Parent timestamp    : Sat Jan  1 00:00:00 2000
>>Checksum            : 0xfffff476|0xfffff476 (Good!)
>>
>>VHD Batmap Summary:
>>-------------------
>>Batmap offset       : 2560
>>Batmap size (secs)  : 1
>>Batmap version      : 0x00010002
>>Checksum            : 0xffffffff|0xffffffff (Good!)
>>
>>
>>
>>On 4/12/13 3:51 PM, "Chiradeep Vittal" <chiradeep.vit...@citrix.com>
>>wrote:
>>
>>>Try this fix http://s.apache.org/j27
>>>
>>>On 4/12/13 3:11 PM, "Soheil Eizadi" <seiz...@infoblox.com> wrote:
>>>
>>>>>>[ Record_util.Record_failure("Failed to parse field
>>>>>>'virtual-size'
>>>>
>>>
>>
>

Reply via email to