OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud šŸš€
http://opennebula.io
Apache License 2.0
1.25k stars 483 forks source link

Restored disks of VM additional disks does not show the real size of the original disk #6734

Closed Franco-Sparrow closed 1 month ago

Franco-Sparrow commented 1 month ago

Description

When you restore a backup image from a VM that has more than one disk, the new restored disk images are not showing the real size of the original disk. It shows the size of the first disk of the VM (vda). The qemu-img output shows the right size for the disk.

To Reproduce

1-Configure backups for a given VM with more than one disk (vda and vdb). 2-Create a backup. 3-Restore the hole backup image, or individual disks for the 2nd disk of the VM. 4-The size of the new image from the 2nd disk (vdb) will show the size of the first disk and not the size of the 2nd original disk.

Original VM:

imagen

Restored VM:

imagen

HINT: Possible error on remotes/datastore/rsync/stat.

Expected behavior

The 2nd disk showing its real size.

Details

Additional context

Add any other context about the problem here.

Progress Status

Franco-Sparrow commented 1 month ago

Hi @rsmontero

Please, take a look at this when you have a free minutes of your time.

Thanks in advance

paczerny commented 1 month ago

Fixed by #6607, release 6.10.1