On mounted CIFS filesystem, files cannot be overwritten, even though they can be created, deleted, and appended

Solution Verified - Updated -

Issue

  • On a CIFS mounted filesystem, files cannot be overwritten, even though they can be created, deleted, and appended. For example:
# touch /mnt/test
# echo overwrite > /mnt/test
-bash: /mnt/test: Input/output error
# echo append >> /mnt/test
# cat /mnt/test
append
# rm /mnt/test
rm: remove regular file `/mnt/test'? y
# ls /mnt/test
ls: /mnt/test: No such file or directory

Environment

  • Red Hat Enterprise Linux 5
  • Clustered NetApp (OnTap 8.2p2)

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.