Skip to main content

How to achieve I/O alignment using LUN OS types

To achieve I/O alignment with your OS partitioning scheme, you should use the recommended ONTAP LUN ostype value that most closely matches your operating system.

The partition scheme employed by the host operating system is a major contributing factor to I/O misalignments. Some ONTAP LUN ostype values use a special offset known as a prefix to enable the default partitioning scheme used by the host operating system to be aligned.
Note
In some circumstances, a custom partitioning table might be required to achieve I/O alignment. However, for ostype values with a prefix value greater than 0 , a custom partition might create misaligned I/O.

The LUN ostype values in the following table should be used based on your operating system.

LUN ostypePrefix (bytes)Prefix (sectors)Operating system
windows32,25663Windows 2000, 2003 (MBR format), 2008 and later
windows_gpt17,40834Windows 2003 (GPT format)
windows_200800Windows 2008 and later
hyper_v00Windows 2008 Hyper-V and later
linux00All Linux distributions
xen00Citrix XenServer
vmware00VMware ESX