kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.11k stars 364 forks source link

Can not create a hard disk #1202

Closed mwacgi closed 4 years ago

mwacgi commented 6 years ago

Disk only 10 kb when create / add disk 10 GB. Ubuntu 16.04.3 / kimchi 2.5.0

2017-12-12 19_59_13-wok 2017-12-12 20_01_47-novnc

genewitch commented 6 years ago

This happens only when "adding storage" to an existing guest. If you make a new template it correctly registers gigabytes.

In my case, i added a new storage pool (disk, DIR, /mnt/ssd01) - and at first i thought it was because i had formatted it with something other than ext4.

Have not seen if this happens on the "default" storage pool. Will check if OP was also using a "new" storage pool other than default.

mwacgi commented 6 years ago

This happens also using a "new" storage pool other than default. 2017-12-19 16_09_57-wok 2017-12-19 16_10_26-novnc

sbs20 commented 6 years ago

I am also getting this on v2.5.0. It appears to be #1010 again - at least in terms of behaviour if not cause. I managed to create a 1TB by specifying 1073741824.

alinefm commented 6 years ago

I will check it later and turn back to you soon.

genewitch commented 6 years ago

the commit that "closed" #1010 was reverted, and that's why this is happening again.

alinefm commented 4 years ago

Closing this issue as it was fixed by #1228