Good Morning,
I found some older threats about the problem that once the VM has been installed with HassOS, you won´t be able to resize the disk, and the easiest way is to reinstall and change some settings on the VMDK File.
Is this still the best way to do it, or does HassOS 4.11 provides an option to increase the disk space?
I´m running my VM since 2 weeks now, and I only have 512 MB space left and I have to delete my database and Snapshots once in a while.
I just enlarged the vm in esxi and that was it.
Have you done that while the VM was powered on or did you shut it down first?
Only possible when shut down
Tnanks, I will try it !
HI,
can you please explain step by step how you did it?
when i turn off the VM and go to settings Harddrive the size of the disk is 6 GB but is marked gray and i can not change it.
Thanks
HI.
Did you make the changes? can you please explain step by step how you did it.
Thanks
Hi, no sorry. This is the homeassistant forum, not vmware . Google is full of it. Have you really stopped the vm before enlarging the disk.
I simply shut down the vm, resized the disk in the VM Settings, and HassOS expanded it after the boot.
However that was before HassOS 4.13, as there was something mentioned in the changelog that HassOS is not trying to resize on every boot.
I realize this topic is a bit stale, but I’ve seen a lot of folks with this issue. I just discovered myself the trick to this–when you’re setting up the VM, you need to change the hard drive type to IDE, not SATA, not SCSI, not SAS… IDE.
Shut down your Hass.io host, edit the VM settings, expand the hard drive, then where it has the disk type, choose IDE, IDE0. Save, then boot the host back up. You can confirm the disk space increase by logging into the virtual console as root, then run “login”, then from there, type ‘df -h’ (without the quotes) and view the free space there.
Edited to add: you can make the change anytime. I myself went from the VMware Paravirtual SCSI driver to IDE and it booted fine. Just remember to change your boot order… it’s likely out of whack because you changed the disk type.
Do you have a problem of oversized /var/log/docker and /var/log/journal folders in the guest ?
Did you change it back? I don’t feel like running my home assistant off of an IDE virtual disk. Better change it back afterwards if possible.
Guys, I want to try it too, before expanding the disk, is it necessary to remove all Snapshots? If not, does the snapshot still work when it’s expanded?
You need to remove the vmware snapshots to be able to expand the disk. VMware doesn’t care about HA snapshots.
But if I remove all Snapshots, after reboot, I,m back at my old instance?
No. If you remove them you keep the current state of the vm, but lose the ability to “go back in time” to when you took the snapshot.
Ok, will try it out …
Do no fancy cli commands needed? Just shutdown, remove snaps, increase disk, boot and done?
HassOS will increase itself?
Is that IDE also needed? Or it doesn’t mather?
Thx for feedback
Yes. Why are you using IDE?
Do a backup (not a snapshot) before you start anything if you are unsure about this.
Cool, thnx for sharing… I have 15 gb , but created some add-ons that take storage… And especially if I do backups