CIFS VFS: No response for cmd

Asked by Hawk

Keep getting:

May 8 13:26:22 www kernel: [ 304.336216] CIFS VFS: No response for cmd 47 mid 19426

The forums say to disable Opportunistic Locking, but when I try that, I get Permission Denied.

[www@www] ~ $sudo modprobe cifs
[www@www] ~ $sudo echo 0 > /proc/fs/cifs/OplockEnabled
-bash: /proc/fs/cifs/OplockEnabled: Permission denied

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Hawk
Solved:
Last query:
Last reply:
Revision history for this message
Miha Gašperšič (miha.gaspersic) said :
#1

That's because your file has been locked by another proces. Try restart your program or just remove lock to that file. This sure have to help.

Regards,
Miha

Revision history for this message
Hawk (rthawkcom) said :
#2

For anyone who encounters this same problem, the solution was to have the shell do it:

sudo sh -c "echo 0 >/proc/fs/cifs/OplockEnabled"