{"id":755,"date":"2020-12-01T18:26:00","date_gmt":"2020-12-01T18:26:00","guid":{"rendered":"http:\/\/labiol.xyz\/?p=755"},"modified":"2020-12-19T18:29:28","modified_gmt":"2020-12-19T18:29:28","slug":"dif-errros-in-esxi-log","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2020\/12\/01\/dif-errros-in-esxi-log\/","title":{"rendered":"DIF errros in ESXi log."},"content":{"rendered":"\n<p>Have you ever saw DIF ERROR in yours ESXi logs. This is something you should probably start to worry about.<\/p>\n\n\n\n<p>If you have never heard about DIF, it is optional feature for disk systems and communications that extend the SCSI standard to provide end-to-end protection of user data. So it provide protection in case of media and transmission errors.<\/p>\n\n\n\n<p>DIF extend the disk sector from 512 bytes to 520 bytes. Needs support from all elements in infrastructure (especially including storage systems and OS drivers(!))<\/p>\n\n\n\n<p>Normally new standard is not an issue until they are entered through the back door.<\/p>\n\n\n\n<p>I saw situation when the new storage attached to the environment was a trigger that bad things started to happen. Other situation happens after ESXi HBA firmware\/driver upgrade. Both are connected due the incorrect DIV handling by HBA card (qlogic).<\/p>\n\n\n\n<p>First case was similar to this described here: <a href=\"https:\/\/vnote42.net\/2020\/08\/27\/esxi-storage-connection-problems-after-installing-a-new-array\/\">https:\/\/vnote42.net\/2020\/08\/27\/esxi-storage-connection-problems-after-installing-a-new-array\/<\/a><\/p>\n\n\n\n<p>So the customer bought a storage. After storage was prepared in environment and ready to move load to this, whole vSphere environment started to behave unpredictably.<\/p>\n\n\n\n<p>Performance was slow, virtual systems started crashing&nbsp; (randomly) and eventually ESXi randomly freezes too.<\/p>\n\n\n\n<p>In vmkernel.log lots of entries like this:<\/p>\n\n\n\n<p><strong>DIF ERROR in cmd:<\/strong>&nbsp;0x28 Type=0x0 lba=0xb100 actRefTag=0x1000000, expRefTag=0xb100, actAppTag=0x0, expAppTag=0x0, actGuard=0x400, expGuard=0xa671<\/p>\n\n\n\n<p>Please check kb: <a href=\"https:\/\/kb.vmware.com\/s\/article\/80237\">https:\/\/kb.vmware.com\/s\/article\/80237<\/a><\/p>\n\n\n\n<p>As destribed in this article, new qlogic drivers fix this errors. Other soluton (if for some reason you can\u2019t do upgrade) is to disable t10dif on the driver level: <\/p>\n\n\n\n<p><code>esxcfg-module -s \u201cql2xt10difvendor=0\u201d qlnativefc.<\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Useful links:<\/p>\n\n\n\n<p><a href=\"https:\/\/kb.vmware.com\/s\/article\/2113956\">https:\/\/kb.vmware.com\/s\/article\/2113956<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kb.vmware.com\/s\/article\/2113956\">https:\/\/kb.vmware.com\/s\/article\/2113956<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kb.vmware.com\/s\/article\/80237\">https:\/\/kb.vmware.com\/s\/article\/80237<\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-vnote-42 wp-block-embed-vnote-42\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"9G4n6YEILB\"><a href=\"https:\/\/vnote42.net\/2020\/08\/27\/esxi-storage-connection-problems-after-installing-a-new-array\/\">ESXi storage connection problems after installing a new array<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;ESXi storage connection problems after installing a new array&#8221; &#8212; vNote42\" src=\"https:\/\/vnote42.net\/2020\/08\/27\/esxi-storage-connection-problems-after-installing-a-new-array\/embed\/#?secret=9G4n6YEILB\" data-secret=\"9G4n6YEILB\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><a href=\"https:\/\/h20195.www2.hpe.com\/v2\/getpdf.aspx\/4aa3-3516enw.pdf\">https:\/\/h20195.www2.hpe.com\/v2\/getpdf.aspx\/4aa3-3516enw.pdf<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Data_Integrity_Field\">https:\/\/en.wikipedia.org\/wiki\/Data_Integrity_Field<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.t10.org\/ftp\/t10\/document.03\/03-111r0.pdf\">https:\/\/www.t10.org\/ftp\/t10\/document.03\/03-111r0.pdf<\/a><\/p>\n\n\n\n<p>T10 DIF (Data Integrity Field)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever saw DIF ERROR in yours ESXi logs. This is something you should probably start to worry about. If you have never heard about DIF, it is optional feature for disk systems and communications that extend the SCSI standard to provide end-to-end protection of user data. So it &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-755","post","type-post","status-publish","format-standard","hentry","category-vmware"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=755"}],"version-history":[{"count":5,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/755\/revisions"}],"predecessor-version":[{"id":760,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/755\/revisions\/760"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}