What's new

Can I unplug a hard-drive without Ejecting it first? (1 Viewer)

DaveF

Moderator
Senior HTF Member
Joined
Mar 4, 2001
Messages
28,764
Location
Catfisch Cinema
Real Name
Dave
Can I safely unplug an external, USB hard-drive from my Mac without first properly ejecting it? I'm examining whether I want to get an external USB hard drive for my MacBook Pro; but I like to pull the USB hub plug and power cord and take it from my desk. If I also have to first eject a hard-drive, then the nuisance factor starts to creep up too high.

(I do have an external on my AEBS. But apparently that won't work with Time Machine. :frowning: )
 

Michael_K_Sr

Screenwriter
Joined
Aug 14, 2005
Messages
1,373
Location
Chicago 'burbs
Real Name
MichaelK
Eject it first. Over time you're going to corrupt data if you just pull the plug. Highlighting the drive and typing COMMAND+E only takes a second or two.
 

DaveF

Moderator
Senior HTF Member
Joined
Mar 4, 2001
Messages
28,764
Location
Catfisch Cinema
Real Name
Dave
Thanks Michael. I'll just not plug a USB drive into my MBP. I already forget to unplug my iPod at times, when I "undock". I don't need to put a backup drive at risk.
 

JeremyErwin

Senior HTF Member
Joined
Feb 11, 2001
Messages
3,218
There's a little eject icon in the finder that provides an alternative to command-e, should you find that more convenient.

Doubtless, Apple has rearranged the finder for Leopard, though
 

DaveF

Moderator
Senior HTF Member
Joined
Mar 4, 2001
Messages
28,764
Location
Catfisch Cinema
Real Name
Dave
I've been looking for a simple Time Machine solution, since it no longer supports drives on the Airport Extreme. Plugging in a drive to the USB hub on my MacBook Pro would be inconvenient; every extra click and cable needed to untether from the desk makes it less usable. If I could unplug with impunity, it would be fine. But if the recommendation is to always Eject a drive before disconnecting -- well, that's just a bother.


I'm now looking at connecting a drive to my wife's desktop and using Time Machine with that drive, over the wireless network.

Thanks for the tips and comments.
 

Ken Chan

Senior HTF Member
Joined
Apr 11, 1999
Messages
3,302
Real Name
Ken
Although it's not because it's some kind of cumulative problem. The issue is that the computer may not be done with the drive. Obviously, if some program is busy writing files to the drive, and you pull the plug, you can lose data. There's no physical way around this, how could there be?

The act of ejecting a USB/FireWire disk is (in part) you requesting the OS to tell you when it is safe to unplug it. It knows if there are pending writes to the disk. It knows if some application still has some files open, and it won't let you eject it.

Otherwise, it's Russian Roulette. If nothing is pending or open, you should be able to just pull the plug; things are designed to be tolerant in that way. However, the OS will rightly complain. Because you might think you know if it's safe -- "the light wasn't on" -- but you might be wrong. So you'll do it the one time that trashes something.
 

Al.Anderson

Senior HTF Member
Joined
Jul 2, 2002
Messages
2,738
Real Name
Al

Not quite. The issue is what's called a "delayed write". What is going on is that the operating system buffers the physical I/O to optimize throughput - it's not efficient to write every little bit of data to the hard drive, so the data is stored up until the OS thinks it's a good time for a write. The application could have long ago completed it's write, but the data is in a buffer. Signaling an eject forces the OS to do that last write.
 

Users who are viewing this thread

Sign up for our newsletter

and receive essential news, curated deals, and much more







You will only receive emails from us. We will never sell or distribute your email address to third party companies at any time.

Forum statistics

Threads
357,034
Messages
5,129,188
Members
144,286
Latest member
acinstallation172
Recent bookmarks
0
Top