namvan Posted May 24 Share Posted May 24 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. Quote Link to comment
JonathanM Posted May 24 Share Posted May 24 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. Quote Link to comment
SimonF Posted May 24 Share Posted May 24 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. why does device="disk" not work for you? Quote Link to comment
namvan Posted May 24 Author Share Posted May 24 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. Quote Link to comment
SimonF Posted May 24 Share Posted May 24 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. 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 Quote Link to comment
namvan Posted May 25 Author Share Posted May 25 (edited) How is that different from device="lun"? Can you give a full xml example of the configuration for passthrough SSD? Thank you. Edited May 25 by namvan Quote Link to comment
Recommended Posts
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.