michaelogrant / macfusion

Automatically exported from code.google.com/p/macfusion
Other
1 stars 1 forks source link

sleep (laptop closed) | wake | MacFUSE: unmount failed | unable to eject drive | reboot required #223

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
<http://groups.google.com/group/MacFusion-devel/browse_frm/thread/bc794c1c268cf9
60>: 

> Subject:  Eject Failure on wake
> Date:     2 July 2007 05:09:22 BDT
> To:     MacFusion-devel@googlegroups.com
> 
> I've had a hard time diagnosing this problem so I'm unsure if this is
> a macfuse or macfusion because it is inconsistent but here's what I've
> gotten so far.
> 
> MacFusion Version 1.2 Beta 1 (1.1.268)
> MacFuse Version 0.4.0
> 
> Precondition:
> Connected to a local Server via ssh. No files open and no transfers.
> Laptop is closed and goes to sleep.
> 
> Actions:
> Awaking either on the same network or another network where the
> computer is unavailable.
> 
> Error:
> Macfuse: unmount failed
> 
> Post Condition:
> The mount retains its name but the macfusion icon is replaced with the
> generic network drive icon. Multiple attempts to  unmount the drive
> return "the error unable to eject drive...". Ultimately the laptop has
> to be rebooted to remove the mount. Even if the server become
> available the mount does not show anything and the computer can be
> mounted.
> 
> Anyone have an idea if this should be int the MacFusion or MacFuse?
> 
> Landon

Priority-Critical
because 

> Ultimately the laptop has to be rebooted

Original issue reported on code.google.com by grahampe...@gmail.com on 3 Jul 2007 at 8:13

GoogleCodeExporter commented 8 years ago
> unmount failed

suggests that the user has preferred MacFusion to 

  Unmount on Sleep, Remount on Wake

Original comment by grahampe...@gmail.com on 3 Jul 2007 at 9:34

GoogleCodeExporter commented 8 years ago
> No files open

was probably not true if 

> unmount failed

but we shouldn't see this as user error. It's sometimes not easy to tell which 
files are open. For example: I recall that Microsoft Word could be 
troublesome in terms of leaving files open even after Word had quit. 

Initially I thought of using 
lsof +D
but for MacFUSE volumes, normally 

  lsof: WARNING: can't stat(.): No such file or directory

Wiith reference to the manual page for 

    Note: the authority of the user of this option limits  it 
    to searching  for  files  that the user has permission to
    examine with the system stat(2) function.

I guess, lsof might be used only when the allow_root option is specified -- but 
allow_root is not recommended. 

Original comment by grahampe...@gmail.com on 3 Jul 2007 at 9:53

GoogleCodeExporter commented 8 years ago
See also 

MacFusion issue 25 
<http://code.google.com/p/macfusion/issues/detail?id=25>

MacFusion issue 109
<http://code.google.com/p/macfusion/issues/detail?id=109>

MacFusion issue 145 
<http://code.google.com/p/macfusion/issues/detail?id=145>

Original comment by grahampe...@gmail.com on 3 Jul 2007 at 9:55

GoogleCodeExporter commented 8 years ago
> Multiple attempts to unmount the drive  return "the error unable to
> eject drive...". Ultimately the laptop has  to be rebooted to remove
> the mount.

Landon: if you're happy working in Terminal, and if you find yourself in this 
situation again, for the affected 
file system please try the command 

  umount -f 

(The command

  mount

alone will present a list of currently mounted file systems.) 

Original comment by grahampe...@gmail.com on 3 Jul 2007 at 10:01

GoogleCodeExporter commented 8 years ago
Addressed to the Google Group: 

> Haven't been able to purposely repeat the error. I've
> probably made an assumption about the precondition that is
> not true. I'm going to re- evaluate the error next time it
> occurs in real world usage to confirm or deny this.
> 
> Landon

Original comment by grahampe...@gmail.com on 5 Jul 2007 at 1:35