rposudnevskiy / RBDSR

RBDSR - XenServer/XCP-ng Storage Manager plugin for CEPH
GNU Lesser General Public License v2.1
58 stars 23 forks source link

A new created vdi has wrong size for physical-utilisation #31

Closed djmoonshine closed 7 years ago

djmoonshine commented 7 years ago

If I create a new VDI the physical-utilisation size shown when running xe vdi-param-list uuid= is incorrect. I'm running XenServer7, ceph version 10.2.3 and the latest rbdsr code.

This is the values of a 10GB image.

virtual-size ( RO): 10737418240 physical-utilisation ( RO): 11258999068426240

This affects for instance if i try to run a move on it, then this value is checked when XenServer decides where there is space enough to place it.

This is not a very big issue since there is a work-around and that is to run xe sr-scan uuid=, after the values are correct.

virtual-size ( RO): 10737418240 physical-utilisation ( RO): 10737418240

rposudnevskiy commented 7 years ago

Fixed