Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-19-2012, 03:22 AM   #1
LQ Newbie
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
how to safe remove usb drive in command?

i've installed CentOS6.3 as text mode in my system. & i've attached an USB HDD? even though i unmounted the HDD still the motor rotates & the LED glows. means it is unsafe to remove. can anyone tell me how can i safely remove the drive?

Old 12-19-2012, 03:27 AM   #2
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,506

Rep: Reputation: 100Reputation: 100
If you've unmounted the drive you should be able to simply pull the USB cable out. It will lose power thusly, wait for it to spin down and then you should be able to safely move it.

If it is a drive with an external powersupply, simply unmount it, switch it off (if possible) and then it should be safe to move. If its powersupply has a switch, unmount it, then switch it off.

I've done the first numerous times with external USB HDDs to no ill effects.
Old 12-19-2012, 03:58 AM   #3
LQ Newbie
Registered: May 2012
Posts: 28

Original Poster
Rep: Reputation: Disabled
you mean is the HDD auto-park. so that we can pull out the cable even though it spins? or after unmounting it parks automatically.

Old 12-19-2012, 06:52 AM   #4
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4856Reputation: 4856Reputation: 4856Reputation: 4856Reputation: 4856Reputation: 4856Reputation: 4856Reputation: 4856Reputation: 4856Reputation: 4856Reputation: 4856
All modern disks are parking the heads automatically.
But you can set the disk to the lowest power-saving mode, which usually also spins down the disks with
hdparm -Y /dev/sdX
replacing X with the disks identifier.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Safe Remove USB drive not working in Xubuntu 12.04 dhruvats Linux - Desktop 5 08-17-2012 11:30 AM
How safe is it to actively work on an external USB hard drive? Blackhole Linux - Hardware 7 02-22-2012 02:29 PM
firewire drive no safe remove roofninja Ubuntu 2 05-31-2007 11:16 PM
When is it safe to remove USB devices? mysticsound Linux - Laptop and Netbook 8 05-23-2005 05:17 PM
Safe shutdown of external USB hard-drive? blixel Linux - Hardware 3 12-12-2003 12:57 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration