Here’s a work-around for others experiencing this issue, which should help until we solve the problem.
The trick is to automatically unmount sshfs before the network connection goes down, and re-mount it afterwards. (The network goes down right before suspend, and is brought up after resume.) Download the file I’m attaching to this message. First of all, open the file in a text-editor and customize it for your needs. WARNING! If you don’t understand what goes on in there and how to customize it, don’t continue! Ask someone knowledgeable to help you first (show them this message). The script as given is configured for my system, it will NOT work on yours. Make sure you understand the comments, not just what to change; the effects might not be what you want, especially for laptops. Then make the file executable and test it manually (see below). To make it work automatically you need to put in /etc/network/if-down.d/ and /etc/network/if-up.d/ (put it in one directory then make a symlink to it in the other; its name doesn’t matter). It should be working right away; that is, once the file is correctly customized and installed you can suspend, no need to reboot first or anything. You can test it manually by running (as root) commands like below. There’s a line you can edit in the file that directs output to the file of your choice. # IFACE=eth0 PHASE=down ./sshfs # IFACE=eth0 PHASE=up ./sshfs Note that with this method I personally don’t need to kill sshfs processes. However, depending on what applications use the mount point(s) during suspend, they might get stuck. You can edit the file to add “kill -9” commands if you need this. (In my case, things get stuck sometimes during normal use, not during suspend/resume; I have a similar script on my panel that unmounts, kills sshfs, then remounts everything, just for this case.) Contact me directly if you need help with this script, don’t spam this bug report. ** Attachment added: "sshfs" http://launchpadlibrarian.net/48925219/sshfs -- sshfs mount locked up after suspend https://bugs.launchpad.net/bugs/388419 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
