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.

Passing Entire Physical Disk to VM

Featured Replies

My Windows VM currently has a PCIe NVME that I passed through. Since that was a PCIe device it was really easy. I'd like to add a second SATA disk to my VM. How is this accomplished?

Hi, without passing through the sata controller, first you need a virtual controller.

Having said that you can passthrough the whole disk as a block device, with this xml snippet (this is an example that passthrough the disk with id ata-CT500MX500SSD1_1807E10EA5F2) inside the <devices></devices> section:

 

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/ata-CT500MX500SSD1_1807E10EA5F2'/>
      <target dev='hdc' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>

 

The above snippet passthrough a disk attached to a sata virtual controller (bus='sata'): q35 machine type already includes one at 00:1f.2

To find your disk identifier (id) simply do "ls /dev/disk/by-id/" in unraid terminal.

-partx (where x is a number) are not disks but partitions, so ignore them all.

Edited by ghost82

  • Author

@ghost82 Thank you for the help. I finally got to it today. Had a drive to replace to expand my array and put in an extra drive for my VM. Worked perfectly.

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.