Jump to content

Unable to increase vDisk size for HAOS VM


manofoz
Go to solution Solved by manofoz,

Recommended Posts

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:

 

image.thumb.png.933849d29ca40812f4d38e6585853eb2.png

 

Click enter or off the text box and poof back to 32G:

image.png.af348ab190425665dbc7d61291d8f161.png

 

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!

Link to comment
  • 1 month later...

To anyone who want to do this having VMDK image.

  1. Make backup of you VM - just in case
  2. Shutdown your VM
  3. 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

     

  4. Change the path to your new disk in your VM
  5. 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'/>

     

  6. Update the setup, click on the VM and increase the disk size in UNRAID UI
    image.thumb.png.4476107c428085fefb1b9f088ca2f429.png
Edited by Przemek
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...