'ls' command on a VM shows 'Input/output error'

Solution Verified - Updated -

Issue

  • ls command on a mount point on VMware guest machine shows IO errors:

    $ mount | grep sdb
    /dev/sdb on /mnt/sdb type ext4 (rw)
    $ cd  /mnt/sdb
    $ ls -la
    ls: reading directory .: Input/output error
    total 0
    

Environment

  • Red Hat Enterprise Linux 5, 6, 7
  • VMware virtual machine

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