Opened 3 years ago

Last modified 17 months ago

#20573 new defect

Virtio-scsi shows HDD instead of SSD Virtualbox 6.1.97 r146677

Reported by: Francesco Bucciantini Owned by:
Component: other Version: VirtualBox 6.1.26
Keywords: virtio-scsi Cc: franceopf@…
Guest type: Windows Host type: other


Issue: in Virtualbox 6.1.97 r146677 I've set Virtio-scsi as disk and flagged it as Solid State Drive inside Virtualbox, however Windows 10 x64 Enterprise sees it as HDD... (Yes the latest virtio drivers are installed in Windows 10)

Operative System:

Host - Fedora Workstation 34 x64 Guest - Windows 10 x64 Enterprise

Virtio Drivers version: 2021-09-13 05:07 From:

How to reproduce: create a virtual machine and install Windows 10 x64 using IDE or Sata. Install the Virtualbox guest additions. Insert an empty Virtio-scsi disk and install the virtio drivers. Shut down the Virtual Machine. Change the IDE or Sata disk to Virtio-scsi and flag "Solid State Drive" in the Virtualbox UI. Boot the Windows 10 x64 VM. Open the Task Manager Windows and it will show HDD.

Change History (4)

comment:1 by Francesco Bucciantini, 3 years ago

comment:2 by Francesco Bucciantini, 3 years ago

Upgraded to Virtualbox 6.1.97 r147001, the problem still occurs.

comment:3 by kumba, 18 months ago

This looks to be partially fixed in the newly-released virtualbox-7.0.0. Running Windows Server 2019 as a guest, the FIRST attached VDI, when flagged as solid state, gets correctly detected as an SSD by the guest OS, but the second VDI (or others) are detected as standard HDDs.

Additionally, something about the SSD state isn't being passed down correctly under virtio-scsi. Windows' built-in defragment tool will detect that the first VDI is an SSD and not allow optimization, but a third-party defragmenter tool (Defraggler) doesn't see this and lets you do a standard defrag on the first VDI. If I use the SATA controller in the VM and mark the first VDI as solid-state, then both Windows' built-in defragmenter and Defraggler both see that the first disk is an SSD and change their behavior accordingly (Defraggler will default to "Optimizing", wherein it zero-fills free space only).

It also looks like VDIs attached to additional virtio-scsi controllers are not detected by the guest OS. The additional controllers are visible, but not the disks. Using the latest virtio-win drivers (0.1.221). Host OS is Windows Server 2022 Std x64.

comment:4 by ebk, 17 months ago

It look like only SATA mode can correctly pass SSD state, SCSI/SAS/VIo-SCSI always show as HDD.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use