Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
6.5 SP1
-
None
-
We are using ext3 SR and xenserver 6.5 SP1, When I check vdi-param-list physical utilisation shows incorrect size, If I do a full clone of the VM and check physical utilization, it also shows wrong (physical utilization size), if I create a new VM(Ubuntu 14.04) and check vdi-param-list uuid=vdiuuid params=all, I see virtual size is max size but physical size is few hundred or 1 GB, even though actual file utilization is almost 10GB or 27G.
E.g: A windows 10 VM with 27GB actual data:
xe vdi-param-list uuid=81a34832-01b7-4388-b563-925ddd15c8f2
uuid ( RO) : 81a34832-01b7-4388-b563-925ddd15c8f2
name-label ( RW): R6
name-description ( RW): Feb182016
is-a-snapshot ( RO): false
snapshot-of ( RO): <not in database>
snapshots ( RO): ea7c47c5-7c80-4d7f-8c2b-ec7fab1e2d42; bdb95bf7-4480-4a66-b168-1558087502ff
snapshot-time ( RO): 19700101T00:00:00Z
allowed-operations (SRO): forget; generate_config; update; resize; destroy; clone; copy; snapshot
current-operations (SRO):
sr-uuid ( RO): f8af92ae-4689-be63-a6b0-2dc0a1e4f904
sr-name-label ( RO): hkgpu8-local
vbd-uuids (SRO): c09bc853-5f71-7f2f-ffad-31db84618ccf
crashdump-uuids (SRO):
virtual-size ( RO): 107374182400
physical-utilisation ( RO): 1777869312
location ( RO): 81a34832-01b7-4388-b563-925ddd15c8f2
type ( RO): System
sharable ( RO): false
read-only ( RO): false
storage-lock ( RO): false
managed ( RO): true
parent ( RO): <not in database>
missing ( RO): false
other-config (MRW): content_id: f3531edc-d54b-52d2-faf9-4449e85d1e65
xenstore-data (MRO):
sm-config (MRO): vhd-parent: af271986-485a-4c7b-a5ae-38257603c73e
on-boot ( RW): persist
allow-caching ( RW): false
metadata-latest ( RO): false
metadata-of-pool ( RO): <not in database>
tags (SRW):vhd-util query -vspd -n 81a34832-01b7-4388-b563-925ddd15c8f2.vhd
102400
2744443392We are using ext3 SR and xenserver 6.5 SP1, When I check vdi-param-list physical utilisation shows incorrect size, If I do a full clone of the VM and check physical utilization, it also shows wrong (physical utilization size), if I create a new VM(Ubuntu 14.04) and check vdi-param-list uuid=vdiuuid params=all, I see virtual size is max size but physical size is few hundred or 1 GB, even though actual file utilization is almost 10GB or 27G. E.g: A windows 10 VM with 27GB actual data: xe vdi-param-list uuid=81a34832-01b7-4388-b563-925ddd15c8f2 uuid ( RO) : 81a34832-01b7-4388-b563-925ddd15c8f2 name-label ( RW): R6 name-description ( RW): Feb182016 is-a-snapshot ( RO): false snapshot-of ( RO): <not in database> snapshots ( RO): ea7c47c5-7c80-4d7f-8c2b-ec7fab1e2d42; bdb95bf7-4480-4a66-b168-1558087502ff snapshot-time ( RO): 19700101T00:00:00Z allowed-operations (SRO): forget; generate_config; update; resize; destroy; clone; copy; snapshot current-operations (SRO): sr-uuid ( RO): f8af92ae-4689-be63-a6b0-2dc0a1e4f904 sr-name-label ( RO): hkgpu8-local vbd-uuids (SRO): c09bc853-5f71-7f2f-ffad-31db84618ccf crashdump-uuids (SRO): virtual-size ( RO): 107374182400 physical-utilisation ( RO): 1777869312 location ( RO): 81a34832-01b7-4388-b563-925ddd15c8f2 type ( RO): System sharable ( RO): false read-only ( RO): false storage-lock ( RO): false managed ( RO): true parent ( RO): <not in database> missing ( RO): false other-config (MRW): content_id: f3531edc-d54b-52d2-faf9-4449e85d1e65 xenstore-data (MRO): sm-config (MRO): vhd-parent: af271986-485a-4c7b-a5ae-38257603c73e on-boot ( RW): persist allow-caching ( RW): false metadata-latest ( RO): false metadata-of-pool ( RO): <not in database> tags (SRW): vhd-util query -vspd -n 81a34832-01b7-4388-b563-925ddd15c8f2.vhd 102400 2744443392