Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unable to increase vDisk size for HAOS VM

Featured Replies

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!

Solved by manofoz

  • Author
  • Solution

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.

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.

  • 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

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.