VMware Communities
HaleTom
Contributor
Contributor

Virtual SSD not detected properly in Linux (Mint 17.2 and Manjaro 16.08)

I'm running VMware Workstation 12.5.1, and am trying to haveSCSI0:0 as an SSD drive.

(I want to have the discard mount option and fstrim / work on ext4 and btrfs.)

I added the following to my .vmx file: scsi0:0.virtualSSD = 1

But in Linux (both Mint 17.2 and Manjaro 16.08, /sys/block/sda/queue/rotational contains 1, meaning it's not a spindle and platter disk.

However, smartctl -a /dev/sda disagrees:

smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.16.0-38-generic] (local build)

Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===

Vendor:               VMware,

Product:              VMware Virtual S

Revision:             1.0

User Capacity:        274,877,906,944 bytes [274 GB]

Logical block size:   512 bytes

Rotation Rate:        Solid State Device

Device type:          disk

Local Time is:        Tue Oct 25 08:35:07 2016 ICT

SMART support is:     Unavailable - device lacks SMART capability.

=== START OF READ SMART DATA SECTION ===

Error Counter logging not supported

Device does not support Self Test logging

How do I get rotational to be 0 (and thence get TRIM working?)

If there is no solution here, where should I raise this upstream?

Also asked with no answer at:

http://superuser.com/questions/1139128/emulate-ssd-drive-in-vmware-workstation-12

https://forum.manjaro.org/t/ssd-detected-by-smartctl-but-queue-rotational-1/11507

Tags (3)
4 Replies
HaleTom
Contributor
Contributor

Also raised in the Linux Kernel Bug Tracker:

https://bugzilla.kernel.org/show_bug.cgi?id=187281

0 Kudos
HaleTom
Contributor
Contributor

0 Kudos
marco400
Contributor
Contributor

hi  hale tom are u familiar with vmware  i have a hard time recording in  stereo mix wityh xhp host inalled invmware  can u  me how to record with it no sound comes out  i tried inastalling realtek audio driver  no  driveappears in audio controller  i hope u be able to help me out  i post it but got no respnds marco

0 Kudos
peetz
Leadership
Leadership

Greetings and welcome to the VMware forums!

Please open a new thread for your issue! Do not respond to existing threads with unrelated content, and please do not address individual forum member directly with new questions.

Opening a new thread for your question will give it a much greater audience and a greater chance to get it resolved.

Thanks

Andreas (VMTN Moderator)

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de