manofoz Posted October 28, 2023 Share Posted October 28, 2023 Hello, My Home Assistant OS vDisk is starting to get full and I'd like to increase it's size. However when I got to do so it does not save my changes and just snaps it back to what it was sized at before: Click enter or off the text box and poof back to 32G: I also tried qemu-img resize but it does not like my disk file: root@HaynesTower:~# qemu-img resize "/mnt/user/domains/Home Assistant/haos_ova-10.5.vmdk" +96G qemu-img: Image format driver does not support resize I tried qemu-img convert as well which looked like it worked, it hung a while and then completed with nothing output, but the disk size remained the same. Anyone overcome something like this? Thanks! Quote Link to comment
Solution manofoz Posted October 28, 2023 Author Solution Share Posted October 28, 2023 I ended up creating a new vDisk and then moving the data disk within Home Assistant to it. So far so good but still curious why this functionality didn't work in unRAID. Quote Link to comment
ghost82 Posted November 2, 2023 Share Posted November 2, 2023 Resize command of qemu-img doesn't work on vmdk files; you need to convert vmdk to qcow2 or raw with qemu-img convert command, then resize it. Quote Link to comment
Przemek Posted December 13, 2023 Share Posted December 13, 2023 (edited) To anyone who want to do this having VMDK image. Make backup of you VM - just in case Shutdown your VM Convert VMDK to qcow2 qemu-img convert -p -f vmdk -O qcow2 /mnt/user/domains/home_assistant/haos_ova-6.0.vmdk /mnt/user/domains/home_assistant/haos_ova-6.0.qcow2 Change the path to your new disk in your VM Change the type from raw to qcow2 in your VM <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/mnt/user/domains/home_assistant/haos_ova-6.0.qcow2' index='1'/> Update the setup, click on the VM and increase the disk size in UNRAID UI Edited December 13, 2023 by Przemek Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.