Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 02-03-2003, 08:19 AM   #1
petey
All Star
 
Join Date: Feb 2002
Location: peteyville
Posts: 792
Question iDisk Won't Eject

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?
petey is offline   Reply With Quote
Old 08-18-2003, 07:05 PM   #2
batcam
Triple-A Player
 
Join Date: Mar 2003
Posts: 52
Ever find a solution for this? Short of restarting?
batcam is offline   Reply With Quote
Old 08-19-2003, 08:42 AM   #3
petey
All Star
 
Join Date: Feb 2002
Location: peteyville
Posts: 792
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?
petey is offline   Reply With Quote
Old 08-19-2003, 02:51 PM   #4
simX
Triple-A Player
 
Join Date: Jun 2002
Location: Bay Area, CA
Posts: 225
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.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory and CPU usage of every open process!
800 MHz 17" G4 iMac | 1 GB RAM | SuperDrive | OS X 10.2.6 Build 6L60 | Mac OS 9.2.2 | Epson Stylus Photo 820 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod
"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.
simX is offline   Reply With Quote
Old 08-19-2003, 06:29 PM   #5
petey
All Star
 
Join Date: Feb 2002
Location: peteyville
Posts: 792
SimX,

as noted in the original post:
Quote:
Originally posted by petey

i've tried quitting all foreground apps, and most background processes, but it doesn't help.

petey is offline   Reply With Quote
Old 08-19-2003, 06:41 PM   #6
stetner
MVP
 
Join Date: Jan 2002
Location: Brisbane, Australia
Posts: 1,106
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:
Code:
% lsof | grep Backup
vi        6602 stetner    3r  VREG      14,19     571801  1407345 /Volumes/Backup/BAX/Users.weekly.list
__________________
Douglas G. Stetner
UNIX Live Free Or Die
stetner is offline   Reply With Quote
Old 08-19-2003, 06:53 PM   #7
petey
All Star
 
Join Date: Feb 2002
Location: peteyville
Posts: 792
Quote:
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.
petey is offline   Reply With Quote
Old 08-19-2003, 09:21 PM   #8
stetner
MVP
 
Join Date: Jan 2002
Location: Brisbane, Australia
Posts: 1,106
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:
Code:
% 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:
Code:
% 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_kernel
The names on the right are the files lsof has open when it runs.
__________________
Douglas G. Stetner
UNIX Live Free Or Die
stetner is offline   Reply With Quote
Old 08-19-2003, 11:07 PM   #9
simX
Triple-A Player
 
Join Date: Jun 2002
Location: Bay Area, CA
Posts: 225
Quote:
Originally posted by petey
SimX,

as noted in the original post:
Quote:
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.
__________________
-- simX

Get Memory Usage Getter, the only Mac OS X utility that graphically displays the memory and CPU usage of every open process!
800 MHz 17" G4 iMac | 1 GB RAM | SuperDrive | OS X 10.2.6 Build 6L60 | Mac OS 9.2.2 | Epson Stylus Photo 820 | TI-Graph Link USB | Pro Speakers/Mouse/Keyboard | Airport card | iPod
"Some people's minds are like cement: all mixed up and permanently set..." -- Andrew Welch, el Presidente, Ambrosia Software, Inc.
simX is offline   Reply With Quote
Old 12-10-2006, 08:21 PM   #10
soebro
Registered User
 
Join Date: Dec 2006
Posts: 1
Wink Forced eject mounted iDisk

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!


Quote:
Originally Posted by petey
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?

soebro is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:34 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.