Friday, November 24, 2017

vmware esxi - Exposing disks to virtual machines as 512e



I'm aware that VMware ESXi supports the creation of datastores on local Advanced Format 512e disks as of v.6.5. However, all the (very scarce) information I can find seems to suggest that virtual disks created on that datastore will still be exposed to the virtual machine as 512n disks.



For some workloads, performance could be seriously degraded if the guest OS believes the disk is natively 512 byte sectored, producing lots of read-modify-write operations.




Why am I not hearing anything about this? Perhaps my information is incorrect and it exposes 512e to the guest? Or is there a setting for whether the guest will see 512n/512e/4kn?


Answer



VMDK will be still exposed as 512n in any case since it is the way how the VMware vSphere works. However, starting from VMware 6.5 you can make RDM of the 512e disk directly into VM. Moreover, your RAID controller must support those 512e and/or 4k disks and either emulate 512n or path-through all the sector size into the VMware hypervisor. (Please note that 4k disk support was added in vSphere 6.7)


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...