Hi,
my (virtual) disk is running out of space.
I checked my regular folders: no problem
So I think that there is some overhead on level of OS
Is there a way to easily browse trough the root folders to see where the most storage is used?
I would prefer to
- mount the root file system as a share
- use a tool like TreeSize Free (TreeSize Free | JAM Software) to have a quick and nice overview of disk space use
Is this possible?
Is it possible to configure the samba-addon to include all root partitions and share them?
Other ways to achieve this?
kind regards,
bart
This is not what you specifically asked for but my comments below might be useful …
It has been suggested that a typical VM installation would require around 32GB which should be plenty for most purposes. This is what I have and Settings-System-Storage shows that I have 53% used space.
One thing that might be chewing up your available space is backups as by default these are stored within the HA folder structure. You could alleviate this by adding an external backup location either on your host or ideally on a separate host for better security.
See Settings-Storage-Add Network Storage, then use Settings-Backups followed by the 3-dots menu to change the default backup location. Remember to move or delete your old backups to free up some space.
1 Like
Hi @Jonah1970
thanx for your answer.
However, how can you explain following:
I’m runnung VM’s in proxmox, disk usage comes from lvs -a
, all disk sizes are 32GB
- my current instance A: 94,34% used = 30GB
- I create new instance B: 12.80% used = 4 GB
- I copy full backup from A to B and restore A to B: 49,88% used = 16GB
So, I have a fully working instance that needs 30GB - 16GB = 14GB less disk space…!
For some reason, my Instance A needs that space for…? Syslogs? internal downloads? …?
Hi @bartplessers unfortunately I have never used Promox so have no idea how this is setup (I am using Synology Virtual Machine Manager).
Maybe you can install “Terminal & SSH” from HA Add-On’s to access the command line and explore the file system.
OK, this works:
- enter the console of Home Assistant and run
fstrim -a
- enter the console of Proxmox and check disk space with
lvs -a
now it will show the correct disk usage. The fstrim -a
command reclaims the disk space that once has been occupied
cheers
Bart