Can I connect and disconnect a SATA harddrive while my computer is running?

21

3

I have a SATA hard drive that says it supports hot-plugging. Does that mean I can actually connect it to power and a SATA plug while my computer is running? Would be handy, but seems kind of scary...

Hardware details:

  • Motherboard: Gigabyte, GA-MA790X-UD3P
  • Hard drive: Western Digital, WD10EADS-00L5B1

Or might have been a different hard drive I read was hotpluggable... either way I'm more curious about the theory of it all rather than my specific case :p

Svish

Posted 2010-12-11T21:48:26.203

Reputation: 27 731

if you have more detail let me know and i'll edit answer – RobotHumans – 2010-12-11T21:51:02.287

I'm not sure it's something I'd try even if everything said it was OK. – ChrisF – 2010-12-11T22:27:54.297

@ChrisF: That's what I'm thinking too :p – Svish – 2010-12-11T22:59:59.387

There are three things for this to work correctly. (1) It must be supported by the drive, controller/mobo, and software (not everyone sticks to the full text of a standard). (2) Plug in the power to the drive before plugging in the data cable (may not be required, but it’s best to have the drive ready when the OS tries to read it—not an issue with SSDs, but still a good idea). (3) Configure the drive (Device Manager) for quick-removal instead of performance or(/and) use the Eject/Safely Remove function to flush the cache to avoid corruption (i.e., turn it into a flash drive). – Synetech – 2012-10-12T20:15:52.320

If you're gonna be doing this often, a hotswap rack is a convenient way of doing it. I don't know if it connects/disconnects the power/data cables in a specific order, but they're designed specifically for this purpose and will prevent the connectors on the HDD from wearing out. – Lèse majesté – 2013-08-10T04:08:39.157

Also, if you can't find SATA drives in "Safely Remove Hardware" in XP, you can use Hotswap!, which puts a new icon in your systray and will let you hotswap SATA drives just fine. Just make sure your BIOS supports it and install the latest motherboard drivers in case you're still using the old Intel ICH7 drivers that weren't hotswap ready.

– Lèse majesté – 2013-08-10T04:12:59.290

Answers

14

As long as its not the OS drive you should be fine, since SATA is "hotswappable" though i have experienced corruptions of the FS once or twice. So i try to avoid it.

madmaze

Posted 2010-12-11T21:48:26.203

Reputation: 3 447

Corruptions are very dangerous. In my case I lost the GPT table after 4-5 ejections, I was just experimenting. So better never do so if you have important data on disk. – sekrett – 2016-10-29T09:47:14.693

But you have to set your BIOS to be able to handle that first, right? Otherwise, what happens? – ahnbizcad – 2018-04-01T02:19:42.060

11Do make sure you Safely Remove, however. – oKtosiTe – 2010-12-11T23:37:44.577

I must say i dont remember, usually I only do this on my ubuntu machine and there I just "umount" – madmaze – 2010-12-11T23:50:54.400

12I think “safely remove” is the Windows expression for “unmount”. – Gilles 'SO- stop being evil' – 2010-12-12T00:50:42.643

Sounds reasonable. Can't find the SATA drive in the Safely Remove thing though. Maybe have to look somewhere else. – Svish – 2010-12-17T21:05:45.027

If it is hot-swappable, then even an OS drive shouldn’t be a problem; worst case scenario, just hit the reset button and the BIOS should detect it during POST. – Synetech – 2011-06-19T00:28:55.523

3

  1. Open your run box, then type regedit and press Enter.

  2. Go to the following key:

    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/
    
  3. Find 'msahci', click on it and on the right pane, right click the 'start' property.

  4. Change the value to '0'.

  5. Restart your computer (important)! Now you can 'safely remove' your SATA internal hard drive like you do with external hard drives.

Dhruv Singh

Posted 2010-12-11T21:48:26.203

Reputation: 55

11What does this do? Why is it necessary? – AnnanFay – 2016-05-17T00:58:56.660

2It can prevent corruption if a HDD is suddenly removed and Windows was writing to it etc. – Codingale – 2018-03-14T07:44:34.433

2

Yes you can do that. In order to do this, we need enable the hot plug capability in BIOS settings. If it is enabled, then we can add second HDD to computer while running. System will install the drivers instantly and the HDD would be ready for use like a USB drive.

Sagar

Posted 2010-12-11T21:48:26.203

Reputation: 21

2

I just did it with a 2 TB SATA 6GB/s hard drive. I am going to try my 3 TB hard drive as soon as I'm done moving data. Just don't forget to initialize in the Disk Mangement window for Windows, then format to NTFS.

Note: I did not hot swap my OS drive as I see that as a bad idea

Mark

Posted 2010-12-11T21:48:26.203

Reputation: 21