I went through a guide to install and configure my Home assistant on a Virtual machine on my Synology NAS, and all is working perfectly, but I wanted to have a look and understand if my resources (CPU, storage, etc …) were still ok, and I have some questions / unclarities …
First, on my Synology Virtual machine, I see this … I assume this is my NAS CPU and RAM usage right ?
… here come my worries … here below on the Virtual Machine tab, I see “Host memory” which is 2.36 out of 8Gb … is that a part of the NAS RAM assigned to the virtual machine ?
Your synology nas has finite hardware. Correct.
Virtual machine will use some of that hardware to function.
You currently have allocated to your virtual machine a portion of your 2.6TB which is 32GB and your VM is using your NAS ram & cpu as needed.
To further break this down simply:
NAS 2.6TB of which;
VM 32gb allocated off which;
HA 16gb used;
The other 15.x GB is likely being used by the VM operating system.
Which ha are you using? What os is the VM running?
I ask, because it looks like you have your VM running an os like Windows or maybe some legacy synology VM os then have ha running within that os which would explain the space used on the 32gb
However if your VM is running HAOS directly, id be more concerned with the space used.
If your VM isn’t running HAOS directly, you could probably free up some space by running it but probably not a huge amount.
I’d run HAOS directly on the VM and just increase the storage to 64gb or so and see how you get on, for this scenario.
… and to be honest the installations methods of HA are not clear to me, so I just followed a guide to install HA on this Virtual machine …
If I remember well I used this : * VMware ESXi/vSphere (.ova)
It looks as though your VM is running HAOS to me which would be the efficient route to have taken.
Maybe check your backups section within home assistant and see how much space they are taking up?
If i remember correctly in the guide I followed for my install which included various scripts, I believe one script did a cleanup of install files and such.
A full backup of my VM is only 6.x GB so if your VM still contains remnants and temporary files from the install that may account for some of that space.
I’ve just had a look, but the guide just does a post install script for proxmox, not HA, so that’s not what I was thinking of.
so it seems clear from the HA point of view only 15GB is used … where on the NAS (VM), almost 32GB.
I will open a ticket at Synology to ask if it is possible to check what is taking space on the VM (how those 32 GB’s are used)
ok - I got a reply from the Synology suppoer, they tell they have no way, on the NAS, to show the content of a VM, that “HA support” need to be contacted for this.
In short, I have open a ticket with them asking why my HA shows 15Gb is used :
where on the NAS (Virtual machine), it tells 32 almost Gb :
They told me to activate an option on the Vitrual machine to enable “Space reclamation”, as this would allow to reclaim the space on the NAS when I delete data on the VM … I have done so
But still I am unable to see how this 32Gb mentioned by the VM is used …
Do you have any idea how to check this ?
Is there a way to see on HA how the data is being used ?
Maybe try adding the system monitor integration and then enable the disk sensors.
You should see sensors like “system monitor disk free /” “system monitor disk use” etc down the list after the integration is installed/rebooted/initilised.
That should give you a more accurate read on what’s being used.
I have a feeling the 32gb/32gb (almost full) is simply because the VM has assigned that much so it’s written off the whole 32gb and any actual readout you want would be done from within ha itself, the VM is just blind to how that 32gb is being used, essentially.