How to correctly repack a differencing disk image?
Posted: 17. Jul 2019, 18:26
I have a VM on hand that uses two disk images, which I want to repack[*] to reduce their on-disk size.
Data.vdi seems to be image base
Data_0.vdi reporting as "Dynamically allocated differencing storage"
I can only add the Data_0.vdi image if I add the Data.vdi first.
Now, I'd like to know how to correctly apply repack to them so to not destroy the setup completely.
* By "repack" I mean zeroing unused space on the partition and then using on prepared image.
Data.vdi seems to be image base
Data_0.vdi reporting as "Dynamically allocated differencing storage"
I can only add the Data_0.vdi image if I add the Data.vdi first.
Now, I'd like to know how to correctly apply repack to them so to not destroy the setup completely.
* By "repack" I mean zeroing unused space on the partition and then using
Code: Select all
VBoxManage modifyhd "…" --compact