View Full Version : iDisk Won't Eject
petey
02-03-2003, 07:19 AM
anyone else experience this?
of late, i can't get my iDisk to eject. i try to eject it, and get the message "The operation cannot be completed because the disk is in use."
i've tried quitting all foreground apps, and most background processes, but it doesn't help.
the really weird part: after the failed eject, the iDisk is kinda half ejected. it still shows up in the Finder, but if i open it, it is an empty disk. if i remount the iDisk, then the folders inside the iDisk show up again. but no matter what i do, the iDisk appears mounted.
---
any suggestions? any terminal commands for force ejecting an iDisk?
batcam
08-18-2003, 06:05 PM
Ever find a solution for this? Short of restarting?
petey
08-19-2003, 07:42 AM
no solution found.
but...
it doesn't show up very often anymore - either my behavior is different, or Apple has changed their servers' behavior.
it was never a particularly functional problem to begin with, either.
why? are you getting this?
I've had this problem, and it's mainly because the iDisk is actually in use. If you get this message, quit your open applications one by one until your iDisk ejects. That way you'll figure out which application is still trying to access your iDisk. This is basically a prevention measure to guard against data loss.
I've found that one annoying culprit of this issue is OmniWeb. I often like to edit HTML source files directly on my iDisk, and even when I close the files in OmniWeb, OmniWeb still prevents my iDisk from unmounting. Quitting OmniWeb allows the iDisk to unmount normally.
petey
08-19-2003, 05:29 PM
SimX,
as noted in the original post:
Originally posted by petey
i've tried quitting all foreground apps, and most background processes, but it doesn't help.
stetner
08-19-2003, 05:41 PM
Can you use lsof and grep for the name of your disk to see who has it open? IE if I vi a file on my backup disk and do this:% lsof | grep Backup
vi 6602 stetner 3r VREG 14,19 571801 1407345 /Volumes/Backup/BAX/Users.weekly.list
petey
08-19-2003, 05:53 PM
Originally posted by stetner
Can you use lsof and grep for the name of your disk to see who has it open?
you've lost me. i know more Japanese than UNIX.
how, exactly, could i see what app is holding on to the iDisk?
and note that since the problem is mostly gone, i may not be able to report back. but i'd love to know more generally how to figure out which app is keeping a file or disk busy.
stetner
08-19-2003, 08:21 PM
lsof is a terminal command that lists all the open files. grep prints lines that match a pattern.
So, if you open the terminal and type:% lsof | grep Backup(replace 'Backup' with the name of your iDisk) it should return a line(s) like in my previous post where the name of the application is in the left hand column (the 'vi' editor in the case above) and the file that is open is on the right.
You can test this on lsof itself, you should see something like this:% lsof | grep lsof
lsof 7600 stetner cwd VDIR 14,14 12672 127808 /Users/stetner
lsof 7600 stetner 0u VCHR 4,1 0t45799 57974276 /dev/ttyp1
lsof 7600 stetner 1w unix 0x039c51cc 0t0 ->0x039c4430
lsof 7600 stetner 2u VCHR 4,1 0t45799 57974276 /dev/ttyp1
lsof 7600 stetner 3r VCHR 3,0 0t0 57844100 /dev/mem
lsof 7600 stetner 4r VCHR 3,1 0t57076940 57843972 /dev/kmem
lsof 7600 stetner 5r VREG 14,14 3737772 2795663 /mach_kernelThe names on the right are the files lsof has open when it runs.
Originally posted by petey
SimX,
as noted in the original post:
Originally posted by petey
i've tried quitting all foreground apps, and most background processes, but it doesn't help.
Whoops, didn't notice that. :o
soebro
12-10-2006, 07:21 PM
Incase it doesn't solved, yet.
iDisk couldn't eject or event drag into the TRASH while the system still mounted and keeping it as resources. Simple tricks from UNIX command: (1) open your TERM, change your directory to folder /Volumes, and make sure the iDisk link file is there, (2) make it sure by changed the file owner into 777, (3) forced umount it (# umount -f iDisk) and remove the iDisk (#rm -r iDisk), the link gone. (4) go into your desktop and DRAG the iDisk icon into TRASH.
It solved in my PowerBook G4. Good luck!
anyone else experience this?
of late, i can't get my iDisk to eject. i try to eject it, and get the message "The operation cannot be completed because the disk is in use."
i've tried quitting all foreground apps, and most background processes, but it doesn't help.
the really weird part: after the failed eject, the iDisk is kinda half ejected. it still shows up in the Finder, but if i open it, it is an empty disk. if i remount the iDisk, then the folders inside the iDisk show up again. but no matter what i do, the iDisk appears mounted.
---
any suggestions? any terminal commands for force ejecting an iDisk?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.