I am using VirtualBox with following setup,
Host OS :- Windows 10 (Up to date)
Guest OS :- Ubuntu Server 20
I have two virtual Disc Attached with Ubuntu Server - 30GB / sda (Boot - with Default Ubuntu Install Partition), and 500GB / sdb (Data Storage with only one single partition) and I am running NextCloud on this VM for my home (family) photos and videos backup.
The 500 GB Dynamic Disc is growing as per the requirements but how do I shrink it when I am freeing up data from NextCloud, the Dymamic Disc isn't shrinking automatically. For manual attempt, I have tried to run following command,
Code: Select all
VBoxManage.exe modifymedium disk "my vdi path" --compact
Please suggest what do I need to do to reduce the foot print since its unnecessarily blocking a lot of HDD space on host drive when actual disc usage in side guest is far lower after data deletion.
Thanks.