advertisement
Forums

The Forum is sponsored by 
 

AAPL stock: Click Here

You are currently viewing the Tips and Deals forum
External drive won't eject
Posted by: clyde
Date: March 16, 2017 02:05PM
Other than Force Ejecting it, the only way to get an external drive off the desktop is to shut down or restart the computer and turn the HD off. Trying to eject it produces the message "The disk wasn't ejected because one or more programs may be using it."

To get around the "other programs using it," I restarted and did not launch any programs. Same result—"other programs may be using it."

As another test, I turned the external HD on. Then, without using it, tried to eject it. Same result.

"The disk wasn't ejected because…”

Tried using Terminal mode and entered: sudo lsof | grep Clone (Clone was the name of the HD)

Copied/pasted as precisely as directed. Got this:

"WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort."

Tried to enter password—nothing happens. No characters, or dots, appear when trying to enter password.



As the goal had been to get a reliable clone, and as I now had two clones that should be good, and as neither would eject correctly, I:

1. Used Disk Utility to erase one of the clones.
2. Then used CarbonCopyCloner to make a clone on the drive I had just erased.
3. Highlighted the drive, pressed Command E.
4. It ejected.
5. Turned it off, then on again.
6. Highlighted the drive, pressed Command E.
7. It ejected.

Understanding only that one drive that would not previously eject correctly would now do so, I tried the same process on the other drive.

Encouraged by positive results, I repeated steps 1 through 7 on the other external drive that would not eject. Same results.

Both seem to eject correctly now. Did erasing, then re-copying data on the drives work some magic?
Options:  Reply • Quote
Re: External drive won't eject
Posted by: Speedy
Date: March 16, 2017 02:24PM
New clone? Maybe indexing?



Saint Cloud, Minnesota, where the weather is wonderful even when it isn't.
Options:  Reply • Quote
Re: External drive won't eject
Posted by: clyde
Date: March 16, 2017 02:31PM
Both drives had been cloned before. I erased both, just as I said, and cloned the internal HD to both of them. As nothing else had worked, the curious soul had to try…
Options:  Reply • Quote
Re: External drive won't eject
Posted by: Dennis R
Date: March 16, 2017 02:33PM
Check with activity monitor to see what is running
Options:  Reply • Quote
Re: External drive won't eject
Posted by: mikebw
Date: March 16, 2017 02:34PM
[osxdaily.com]
Options:  Reply • Quote
Re: External drive won't eject
Posted by: jdc
Date: March 16, 2017 03:53PM
My guess is file sharing is on.



----


Edited 999 time(s). Last edit at 12:08PM by jdc.
Options:  Reply • Quote
Re: External drive won't eject
Posted by: Onamuji
Date: March 16, 2017 05:16PM
Quote
clyde
Both seem to eject correctly now. Did erasing, then re-copying data on the drives work some magic?

My guess is that you had a corrupt Spotlight index on the drive that made Spotlight continuously try to reindex and keep the drive occupied.

Erasing the drive would have erased invisible root-level items like the
".Spotlight-V100" folder.

If it occurs again, try this in the Terminal:

sudo mdutil -i -a off

(A note about entering a password for the sudo command is below.)

The command should disable Spotlight indexing for all local volumes. If it throws any errors when attempting to do so then that's an indicator that one or more of the indexes is messed up.

...

Quote
clyde
Tried using Terminal mode and entered: sudo lsof | grep Clone (Clone was the name of the HD)

Copied/pasted as precisely as directed. Got this:

"WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort."

Tried to enter password—nothing happens. No characters, or dots, appear when trying to enter password.

For future reference...

The Terminal will not provide feedback when you enter a password for the sudo command.

Type your password when prompted and hit the Return key to execute the command.

It will take a bit of time to run, but when it's done you should see every process that is touching any file on the "Clone" volume listed in the Terminal window and that should provide you with the info about what program is keeping files busy on the drive.







Edited 3 time(s). Last edit at 03/16/2017 05:25PM by Onamuji.
Options:  Reply • Quote
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
Record Number of Users: 52 on November 20, 2014
Record Number of Guests: 847 on February 04, 2015