LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


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

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


hi
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?

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

Rep: Reputation: 103Reputation: 103
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
shibir
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.

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

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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
Code:
hdparm -Y /dev/sdX
replacing X with the disks identifier.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:39 PM.

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