Page tree

Product Version: 10.8
Last Modified: 26 October 2022

Question

How can you check the sector size and format type (512-byte native, 512-byte emulation, or 4K native) of a drive or datastore?

Answer


VMware

To check the sector size of a VMware datastore, run the following command:

esxcli storage core device capacity list

In the resulting output, sector size information for each device is listed under the Format Type column. The possible values are 512n (512-byte native), 512e (512-byte emulation), and 4Kn SWE (4K native).


Windows

To check the sector size of a logical drive in Windows, run the following command, replacing "x" with the appropriate directory:

Fsutil fsinfo ntfsinfo x:

In the resulting output, look for the Bytes per Sector and Bytes per Physical Sector values. Use the following table to identify the format type based on the aforementioned parameters:

Bytes per SectorBytes per Physical SectorFormat Type
512512512-byte native
5124096512-byte emulation
409640964K native


Linux

To check the sector size of a drive in Linux, run the following command, replacing "/dev/sda" with the appropriate directory:

sudo hdparm -I /dev/sda |grep size

In the resulting output, look for the Logical Sector size and Physical Sector size values. Use the following table to identify the format type based on the aforementioned parameters:

Logical Sector sizePhysical Sector sizeFormat Type
512 bytes512 bytes512-byte native
512 bytes4096 bytes512-byte emulation
4096 bytes4096 bytes4K native
  • No labels