Christophs Weblog

Vierundzwanzig sind zu wenig

Debugging and solving cifs hang


INFO: task lsof:12345 blocked for more than 120 seconds.
dmesg: __mutex_lock_slowpath
dmesg: cifs_reconnect_tcon
Any access to a share mountpoint hangs

If you’re facing a hung cifs mount and any access to that path makes the accessing process hang aswell then the following might help.

1. Unmount using „-l“ (lazy). This detaches the network drive from the filesystem even if there are still processes having open files „device is busy“.

2. Identify any proccess currently trying to access the mount using: grep -i cifs /proc/*/stack

3. Try to kill all of the identified processes

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Christophs Weblog © 2009-2017