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.

Passthrough disk as LUN to the VM

Featured Replies

Hello,

 

I moved one of my VMs from Linux Mint and it was set up to passthrough the SSD from the host as LUN. Something like the screenshot below.

I could not find any option in the unRAID GUI to do so but editing the XML worked for me.

However when switching back to GUI for the particular VM, the disk disappeared.

 

Is this a limitation of the unRAID GUI ?

 

Thank you in advance.

passthrough-disk-as-LUN.png

9 hours ago, namvan said:

Is this a limitation of the unRAID GUI ?

Yes, each customization of the raw XML must be explicitly supported by the GUI or changes will be lost when you toggle back.

  • Community Expert
9 hours ago, namvan said:

Hello,

 

I moved one of my VMs from Linux Mint and it was set up to passthrough the SSD from the host as LUN. Something like the screenshot below.

I could not find any option in the unRAID GUI to do so but editing the XML worked for me.

However when switching back to GUI for the particular VM, the disk disappeared.

 

Is this a limitation of the unRAID GUI ?

 

Thank you in advance.

passthrough-disk-as-LUN.png

why does device="disk" not work for you?

  • Author

Hello SimonF,

It is not that it is not working for me. With device='disk' the VM sees the disk as HDD, not SSD and all information about the disk is lost. No temperature, nothing. With 'lun' the VM recognises it as SSD with correct brand and all info. And trim is also detected and supported.

 

  • Community Expert
3 hours ago, namvan said:

Hello SimonF,

It is not that it is not working for me. With device='disk' the VM sees the disk as HDD, not SSD and all information about the disk is lost. No temperature, nothing. With 'lun' the VM recognises it as SSD with correct brand and all info. And trim is also detected and supported.

 

Ok thanks, an options has been added to 6.13 to allow you to specify SSD. 

 

image.png

 

Which uses rotational_rate=1

 

The optional attribute rotation_rate sets the rotation rate of the storage for disks on a SCSI, IDE, or SATA bus. Values in the range 1025 to 65534 are used to indicate rotational media speed in revolutions per minute. A value of one is used to indicate solid state, or otherwise non-rotational, storage. These values are not required to match the values of the underlying host storage. Since 0.0.3; bus attribute since 0.4.3; tray attribute since 0.9.11; "usb" attribute value since after 0.4.4; "sata" attribute value since 0.9.7; "removable" attribute value since 1.1.3; "rotation_rate" attribute value since 7.3.0

 

  • Author

How is that different from device="lun"? Can you give a full xml example of the configuration for passthrough SSD?

Thank you.

Edited by namvan

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.