Results 1 to 4 of 4

Thread: Turn off External hard drive

  1. #1
    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.

  2. #2
    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)

  3. #3
    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.

  4. #4
    Join Date
    May 2008
    Posts
    5,812

    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.

Similar Threads

  1. Replies: 13
    Last Post: 11-05-2012, 10:48 AM
  2. Hammer external hard drive cannot turn on
    By happyerick in forum Hardware Peripherals
    Replies: 5
    Last Post: 19-04-2011, 03:50 AM
  3. Replies: 4
    Last Post: 14-12-2010, 03:30 AM
  4. Replies: 4
    Last Post: 03-11-2010, 09:39 AM
  5. Replies: 2
    Last Post: 04-01-2007, 03:31 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,492,743.42585 seconds with 17 queries