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.

Sparse VM disks

Featured Replies

KVM supports having sparse VM disks along with marking regions as sparse when the guest VM trims the virtual disk.

 

Exposing this in the web UI would be quite useful for people storing VMs on an SSD.

  • Community Expert

What do you think should be shown in the GUI?   Vdisks created for VMs are already sparse under unRaid.

  • 9 months later...

Hmm, I've created 72GB VM and installed Srv2022Std. Image should be few GBs on cache drive and but it is 72GB.
Sparse images should grow with data written and should have option to shrink/compact them, especially after using "sdelete -z" on VM. Exactly like in Virtualbox and VMWare.
How to enable such option?

21 hours ago, CobraPL said:

Image should be few GBs on cache drive and but it is 72GB.

How are you viewing that? To see the allocated size, use the console and du -sk /path/to/image/vdisk.img and see what it reports.

13 minutes ago, JonathanM said:

It's enabled by default.

No it's not.  The are still technically "sparse", but will always eventually grow to the maximum size of the vdisk and never shrink, won't be trimmed etc (ie: as you add files to the VM, the image will grow, but when you delete files it won't shrink.  You eventually (shortly) get to a point where the vdisk is the maximum size and stays there forever

 

To enable this, you need to do (and as a bonus, write performance will also increase)

 

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.