Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Emulate HDD as SSD flash disk on Esxi and VMware workstation

I was required (emulated) virtual fake SSD in VMware workstation for few demos and testing purpose. I am already using SSD on my system, If vmdks are kept on the Solid state drives, VMs detects vmdk disks as SSD/Flash disk, but if you don't have SSD, it can be easily emulated with a trick configuration, but doing so performance is the same as HDD.

PART 6 : CONFIGURE VMWARE WORKSTATION TO SAVE SSD SPACE AND TIME
Create and configure VMWare vSphere VSAN cluster step by step

I have attached multiple disks on esxi server, in the Esxi on the Configure tab >> Storage Devices settings, all the local and remote disks are listed. Here see the disk drive type, it can be changed selecting it, by clicking button HDD to flash. Doing this will mark normal HDD as Flash disk and HDD button will change as F.

Warning: Marking HDD disks as flash disk could deteriorate the performance of datastores and services that use them. Mark disks as flash disks only if you are certain that those disks are flash disks.

VMware vSphere web client, configure storage devices local disk HDD and SSD flash disk type parallel scsi.png

For esxi server doesn't require much setting, but If you require fake emulated SSD in Microsoft windows Server OS, It can be done with a modifying (adding) configuration to VM vmx file. First I want to show here, I have one disk (C:) already on SSD and other (E:) HDD, I can get same information using PowerShell command Get-PhysicalDisk. Hard disk drive is shown as Unspecified.

Microsoft windows server 2016 defrag optimize drives, hard disk drive and solid drive, powershell get-physicaldisk change set hdd as ssd flash

First poweroff Virtual Machine, open VMX file in notepad and identify scsi disk location, here my second disk is 10 GB and it is located as scsi0:1. Add a new line scsi0:1.virtualSSD = 1 and save it. Power on virtual machine.

vmware workstation virtual machine settings, vm vmx configuration file SSD, HDD, disk drive, fake emulate virtual ssd, vmdk, scsi, hard disk drive, solid state drive

Once powered on VM, Verify the same in defrag on windows system or check it using Windows Powershell command.

vmware esxi, vsphere workstation, Microsoft windows server 2016 defrag optimize drives, change hard disk drive and solid drive, powershell get-physicaldisk change set hdd as ssd flash, Select-Object.png

The above steps I configured can be used on Esxi vm (Virtual machines) as well, Make sure VM is powered off before configuration. Right click VM and select Edit settings. In the VM Options tab expand Advanced, click Edit configuration in Configuration Parameters. In the wizard add Name and value, Power on VM to view SSD changes.

vmware vsphere microsoft windows server, vm virtual machines edit settings, configuration parameters, edit configuration parameters, scsi virtualssd poweroff on vm

Useful Articles for home lab
PART 1 : BUILDING AND BUYING GUIDE IDEAS FOR VMWARE LAB
PART 2 : BUILDING AND HARDWARE BUYING GUIDE IDEAS FOR VMWARE LAB
PART 3 : MY VSPHERE LAB CONFIGURATION ON VMWARE WORKSTATION
PART 4 : CONFIGURING VMWARE WORKSTATION NETWORKING IN HOME LAB
PART 5 : CONFIGURING STORAGE IN VMWare WORKSTATION FOR OPTIMAL SPEED
PART 6 : CONFIGURE VMWARE WORKSTATION TO SAVE SSD SPACE AND TIME
PART 7 : CREATING NESTED VMWARE ESXI SERVER VM IN HOMELAB ON VMWARE WORKSTATION
PART 8 : CPU COOLING SOLUTION FOR MY HOME LAB ON VMWARE WORKSTATION

Go Back

@charli: There might be, but I didn't find any configuration parameters

Reply

Nice.

Can this be done to emulate a flash (usb) disk also somehow?

Reply


Comment

Blog Search

Page Views

1889249

Follow me on Blogarama