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.

Add virtio-scsi as an option for vdisk bus

Featured Replies

Using virtio-scsi together with discard='unmap' allows the vdisk to keep its "sparseness", i.e., Windows 8/10 detects the storage as thin provisioned and space is recovered immediately when a file is deleted on the vidisk, allowing the vdisk to remain as small as possible and for those sectors to be trimmed by fstrim when using the vdisk on an SSD.

 

After changing to that controller it's also possible to run defrag to recover all unused space.

 

It's now possible to add the virtio-scsi controller and change the bus by editing the XML but changes will be lost in any futures edits with the VM editor.

 

 

thin.png

before.png

after.png

Edited by johnnie.black

  • Author
21 minutes ago, bonienl said:

Can you show where exactly "discard='unmap'" is added in the XML file?

 

 

 <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback' discard='unmap'/>
      <source file='/mnt/disks/840EVO/VMs2/Win10/vdisk1.img'/>
      <target dev='hdc' bus='scsi'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>

And you need to add the controller:

 

    <controller type='scsi' index='0' model='virtio-scsi'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </controller>

 

Archived

This topic is now archived and is closed to further replies.

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.