I experience this problem for both NFS and SSHFS. If I try to suspend
when connected to either, suspend fails. Also, nautilus hangs if the
interface goes down while connected to the remote FS.

Placing the script shown in
http://ubuntuforums.org/archive/index.php/t-430312.html in /etc/network
/if-down.d/ worked almost flawlessly in 11.04, but fails in 11.10.

I did make a few alterations to the script. I actually didn't have a
problem with NFS in 11.04, but that has changed in 11.10. Therefore, I
added nfs and nfs4 to the umount script.

I tried placing the script in sleep.d/, but that locks my laptop mid-
suspend, and I have to do a hard shutdown. The script seems to execute
too late in the process.

So how can you get the remote FS to umount before suspending, so it
doesn't interfere with the suspend process?

Also, my nfs client in 11.10 is defaulting to nfsv4, which has caused
additional problems. It seems premature to make v4 the default.


** Attachment added: "Script to umount network shares when interfaces go down"
   
https://bugs.launchpad.net/ubuntu/+source/sshfs-fuse/+bug/388419/+attachment/2685767/+files/umountsshfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/388419

Title:
  sshfs mount locked up after suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sshfs-fuse/+bug/388419/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to