How do I safely remove an external hard drive?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help

How do I safely remove an external hard drive?

Postby paulkaiser98 on Wed Nov 28, 2012 2:09 am

I installed Linux Mint 14 Cinnamon edition this morning. When I finished restoring my files from my external hard drive, I right-clicked it to safely remove the drive. However, there was no option to do so. There was only an option to unmount, which really does not turn off the hard drive. In my experience, removing the external hard drive with the light still on corrupts the hard drive/NTFS, making it unusable unless I use a Windows computer to fix it. Is there a way to completely and safely remove the hard drive (not just unmounting)? Can I add an option to Files, or can I use the terminal to safely remove it?
paulkaiser98
Level 1
Level 1
 
Posts: 1
Joined: Tue Jul 17, 2012 5:33 am

Linux Mint is funded by ads and donations.
 

Re: How do I safely remove an external hard drive?

Postby Flemur on Wed Nov 28, 2012 1:24 pm

I'm guessing that the HD you want to remove is connected via USB, and I'm just guessing at the software you're using to access the device.

Here's my experience, none of which has messed up the NTFS partition on a USB mounted drive:
- type "sync" in a terminal before removing drive (this flushes from the IO cache to the disk). Is it necessary? I dunno.
- thunar has an "Eject" option. It'll incorrectly say that it's still writing data...ignore it.
- pcmanfm has "unmount" but no "eject" - it'll usually crash when it "unmounts" the partition.

IOW, thunar and pcmanfm are buggy and therefore suck, but they don't break the NTFS partition or drive.
Mint 17/Xfce/fluxbox/jackd no pulseaudio
User avatar
Flemur
Level 6
Level 6
 
Posts: 1049
Joined: Mon Aug 20, 2012 9:41 pm

Re: How do I safely remove an external hard drive?

Postby echo33 on Fri Nov 30, 2012 10:24 am

I am having the same problem.
echo33
Level 1
Level 1
 
Posts: 1
Joined: Fri Nov 30, 2012 10:22 am

Re: How do I safely remove an external hard drive?

Postby Chris_Z on Thu Jan 24, 2013 8:57 am

A little script is posted in Comment #31 here.
It seems to work close to what "Safely Remove" did.
Chris_Z
Level 1
Level 1
 
Posts: 14
Joined: Sun Dec 16, 2012 4:18 pm
Location: Stockholm, Sweden


Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 11 guests