'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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In