Find the answer to your Linux question:
Results 1 to 4 of 4
Hello there, Please help with the next problem: I have instaled Debian, and when I unplug (hot swap) the sata cable of my hdd or the alimentation cable of the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    4

    Hot unplug sata hdd


    Hello there,
    Please help with the next problem:
    I have instaled Debian, and when I unplug (hot swap) the sata cable of my hdd or the alimentation cable of the hdd, the system stays the same, doesn't respond to my commands but doesn't shut down.
    I would like to know if there is a soft or I have to modify a script (for ex. /etc/init.fd/halt) that will asure me that when I unplung the cables my system will shut down, like in windows.
    Thank you very much for your answers!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Do you unmount partitions using umount command before unplugging HDD?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108

    Wink

    Quote Originally Posted by BogdanMC View Post
    I would like to know if there is a soft or I have to modify a script (for ex. /etc/init.fd/halt) that will asure me that when I unplung the cables my system will shut down, like in windows.
    LOL, Its Linux - Life is too short for reboots.
    Well, thats bit scripting work X_X
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  4. #4
    Just Joined!
    Join Date
    Apr 2009
    Posts
    4
    Quote Originally Posted by b2bwild View Post
    LOL, Its Linux - Life is too short for reboots.
    Well, thats bit scripting work X_X
    Tell me please if u can give me a clue, because I want to simulate a sata cable failure.
    Thank u!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •