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, 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