QNAP virtual machine folder disk space filling up (not in sync with Home Assistant)

Hi Everyone, I have a Home Assistant with supervisor installed on a QNAP VM. My disk is filling up and there is a mismatch between what HASS is using and wat QNAP is measuring. The HASS image is 139gb but when I check within HASS the usage is around 50gb. How can I find the cause?

Hi Pieter_Arts

I have this exact condition, except my Qnap HD size is now used 207Gb / Available 200Gb. ( yes, used higher than available).
Further, I can not work out how to reduce the 207Gb… I tried to remove a number of larger what appear to be files that are not required, bu then the VM wont restart.

Did you resolve?

Thanks,

Jarrod.

image

Hi,

Did you manage to find a fix for this?

I did a complete re-install, but the disc size continues to grow…

Thanks,
Jarrod.

Probably something large was written to your vm disk, increasing it’s size, then deleted. Your disk image is 139G. The space being used inside the disk image is less.

The disk image size will stay at 139G until something inside the vm writes out more than the space available, then it will extend again up to 200G (ish).

I’d be very surprised if there is a mechanism to shrink a disk. You’d probably have to create a new smaller image, copy everything over, switch the vm to the new, smaller, image and delete the big one. But if you have something in the os that periodically creates and deletes large files, like backups or container images, you will end up back at square one anyway.

I have a qnap but I’ve not looked at it’s vm stuff. I imagine you should be able to create a fixed size thick provisioned disk image instead of a thin provisioned one, it would take a chunk out of your space but wouldn’t change.