Go Back   TechArena Community > Hardware > Portable Devices
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-03-2009
Member
 
Join Date: Dec 2008
Posts: 68
idea Turn off External hard drive

Hey Everyone,

I would like to know whether it is possible for me to turn off my external hard drive when i finish doing my work? I have newly installed a external hard drive to my pc. Does any one have any idea about it? Kindly suggest me your views.

Thanks.
Reply With Quote
  #2  
Old 12-03-2009
Member
 
Join Date: Jan 2006
Posts: 7,109
Re: Turn off External hard drive

Try out the following steps.

1. Create a file named eject.sh with the following contents:

#!/bin/bash
exec 2>&1
pumount $1 || umount $1
sdparm --command=sync $1
sdparm --command=stop $1

2. copy it into root folder

cd Desktop
sudo cp ~/Desktop/eject.sh /eject.sh

3. Create a launcher, which you can either dump on you desktop or have as an option in your main menu. When clicked, your drive will eject and turn off:

Option: run in terminal
command: sudo /./eject.sh /dev/sd* (mountpoint of your drive)
Reply With Quote
  #3  
Old 12-03-2009
Member
 
Join Date: Jan 2006
Posts: 6,878
Re: Turn off External hard drive

If there is no separate plug in and it is powered via the usb connection then when the computer gets turned off, so does the external drive. check the user guide to see if there is a recommended procedure like power off the drive then turn off the computer. should not cause an issue as long as it is not shared over your network and powered off while another computer.
Reply With Quote
  #4  
Old 12-03-2009
Member
 
Join Date: May 2008
Posts: 5,790
Re: Turn off External hard drive

I think Unplugging would be fine. Windows has a "Safely remove USB storage device" function. It's a little icon down at the bottom in your taskbar tray. You can use this before disconnecting your drive, but as long as you unplug it while there's no disk activity.
Reply With Quote
Reply

  TechArena Community > Hardware > Portable Devices
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Turn off External hard drive"
Thread Thread Starter Forum Replies Last Post
Hard Drive / Hard Disk Price List In India (Internal Hard Drive and External Hard Drive) unidentified Hardware Peripherals 16 11-05-2012 10:48 AM
Hammer external hard drive cannot turn on happyerick Hardware Peripherals 5 19-04-2011 03:50 AM
cannot access hard drive after mounting it to the external hard drive enclosure Riley01 Hardware Peripherals 4 14-12-2010 03:30 AM
How to transfer files from a mac external hard drive to a windows hard drive first-born Operating Systems 4 03-11-2010 09:39 AM
backup 144gb Hard Drive to an external hard drive of 250gb Invinceble MediaCenter 2 04-01-2007 03:31 AM


All times are GMT +5.5. The time now is 01:11 AM.