Virtual Machine pauses with I/O error when doing Discards to 4K Storage/Disks

Solution Verified - Updated -

Issue

  • Virtual Machines pause with I/O error (EINVAL) when issuing discard commands.

Environment

  • Red Hat Enterprise Linux 9.x
  • Red Hat OpenShift Container Platform 4.x
    • Red Hat OpenShift Virtualization 4.x
  • Underlying Storage has 4K disks sectors, while VM is presented with 512 bytes disks sectors.
    • Portworx Storage (Block)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content