mukulyadav49 / macfuse

Automatically exported from code.google.com/p/macfuse
Other
0 stars 0 forks source link

MacFUSE + sshfs hangs when mac os x wakes up from hibernate #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I mounted a remove file system with sshfs, copied some files on the file 
system, everything worked 
out fine. However, when I closed the lid of my notebook and opened it again, 
the software was 
unable to recover the connection, even though I added -o reconnect to the sshfs 
call. In addition to 
that, the network filesystem can't be unmounted (umount: 
unmount(/Volumes/BackupSSH): 
Resource busy or umount: unmount(/Volumes/Backup): Input/output error).

I was using MacFUSE Core 0.3.0 with sshfs 0.3.0 on Mac OS 10.4.9 (Build 8P2137).

Original issue reported on code.google.com by kkae...@gmail.com on 8 May 2007 at 2:49

GoogleCodeExporter commented 9 years ago
Whether sshfs can in fact successfully reconnect or not depends on sshfs. 
MacFUSE itself can't really do much 
about it. sshfs is a utility file system, not a resilient distributed file 
system that can survive all sorts of network 
glitches, network changeovers, hibernations, and so on.

How long did you wait for something to happen? After 20 seconds or so, you 
should be getting an alert panel 
telling you that the file system is not responding. "resource busy" means you 
have files open on that volume. Try 
"umount -f /Volumes/Backup" from the command line, wait for the alert panel to 
appear, or do a "kill -9 pid" 
from the command line where pid is the process ID of the sshfs-static process 
(you can also do a force quit on 
sshfs-static).

Original comment by si...@gmail.com on 8 May 2007 at 4:18

GoogleCodeExporter commented 9 years ago
As the reporter of a MacFusion issue 
http://code.google.com/p/macfusion/issues/detail?id=25 
that involves sleep/wake behaviour *plus* a change of network location 
following wake, 
I have starred this issue and will watch it with interest. 

Comment 4 within the MacFusion issue is promising...

Original comment by grahampe...@gmail.com on 11 May 2007 at 11:17

GoogleCodeExporter commented 9 years ago
Yes, this is better handled outside the kernel, at least for now.

Original comment by si...@gmail.com on 12 May 2007 at 12:45