zipurman / oVIRT_Simple_Backup

A REST API backup using PHP for oVirt 4.2.x
GNU General Public License v3.0
56 stars 32 forks source link

restore thin provisioning fail on FC storage #29

Closed txsastre closed 5 years ago

txsastre commented 6 years ago

I have created VM in thin provisioning on a FC storage, a small one, a Debian with 10GB of disk, once created it uses 3GB more or less.

I have made a backup of this VM, everything OK.

When restoring to the same FC storage, I cannot do it in provisioning state, If I try it does the restore, but I can see the machine but the disk is not there, so it does not start.

If I restore the VM with provisioning it works.

zipurman commented 6 years ago

So when restoring, if its a thin provisioned backup, you'd have to set Thin Provisioning: YES on the restore screen. I dont have it self-detecting. Is that what you mean?

txsastre commented 6 years ago

nope :)

First, I backuped up a VM

then I restore : 1 - if I choose "provisioned" -> OK 2 - if I choose "thin provisioned" -> Error, VM appears, but no disk.

zipurman commented 6 years ago

When you did the original backup, was it of a thinly provisioned VM?

txsastre commented 6 years ago

yes, it was 10GB but real used size is 1GB